b-morgan
Posts: 23
Joined: Tue Oct 24, 2017 11:00 am

Feature Request: {IF not OLDTOOL = n}

Mon Apr 09, 2018 6:41 pm

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.

cbarry
Posts: 6
Joined: Thu Apr 18, 2019 1:52 pm

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

Fri Jul 12, 2019 8:20 am

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 ;

Return to “Feature Requests”