PreToolID

From Compost Wiki
Jump to navigation Jump to search

Description

This command will output the Tool ID number of the next tool to be used in this TG.


Notes

Useful for MTM mill style tool changers where the tool ID can be different from the tool position.


Stats

ID 711
Type Command
Class All Machines
Scope Op Loop
Min Version 6.09


PreToolID#

Description

This command will return the tool ID of the next tool to be used that has a tool ID that is different from the current tool. If there are no other tools that have different ID's then this command will return the current tool's ID. If this command is called outside of the EachOp/NextOp loop or the current op does not have a tool, or the current tool does not have a Tool ID number then it will return -1.


Stats

ID 361
Type Number
Class All Machines
Scope Op Loop
Min Version 6.09