Page 1 of 1

Feature Request: {IF not OLDTOOL = n}

Posted: Mon Apr 09, 2018 6:41 pm
by b-morgan
The Tool Change Script is "called" at the beginning of the print with OLDTOOL undefined and NEWTOOL = 0. I would like to test for this condition and do something different than at subsequent tool changes.

The exact syntax isn't important but detecting the undefined condition is.

Re: Feature Request: {IF not OLDTOOL = n}

Posted: Fri Jul 12, 2019 8:20 am
by cbarry
The feature is already implemented. The correct syntax for this action is:

Code: Select all

;{IF OLDTOOL!=n} DO STUFF ;

;for example:
{IF NEWTOOL!=[old_tool]} G1 E-15 T[old_tool] F2400 ;