M120/M121, M98 Pnnn and Tn with tfreeN.g tpreN.g tpostN.g August 11, 2016 02:07PM |
Registered: 8 years ago Posts: 31 |
Re: M120/M121, M98 Pnnn and Tn with tfreeN.g tpreN.g tpostN.g August 21, 2016 05:10PM |
Registered: 10 years ago Posts: 14,672 |
Quote
Sergio
If I select a tool from standby like T0 then tpre0.g and tpost0.g is called.
I I unselect with T99, then tfree0.g is called, but if I select another tool, letzt say T1, then tfree0.g is not called, why is this?
Quote
Sergio
When tpost0.g containing a M98 Pmacro_file.g command is executed, and this macro changes x, y, z position of the tool, how can I return (pop) to the old values?
Re: M120/M121, M98 Pnnn and Tn with tfreeN.g tpreN.g tpostN.g August 22, 2016 09:03AM |
Registered: 8 years ago Posts: 31 |
Quote
dc42
Are you sure? tfree0.g should be called whenever T0 is switched from active to standby. Are you running my firmware fork, or chrishamm's?
Quote
dc42
Currently you can't, however slicers normally generate a travel move after a tool change, so you shouldn't need to. But save/restore position commands are on the firmware wish list.