GET TG DATA
From Macros Wiki
Jump to navigationJump to search
Command
- GET_TG_DATA <tool number>, <parameter>, <value>
- Get data associated with a tool group.
Parameters
- <tool number>
- Tool number
- <parameter>
- tg_parameter
- <value>
- A number or string variable.
- The type of variable must match the data type of the parameter.
- If the data you are getting is a text string, then you must specify a string variable. Otherwise use a number variable.
Example
- GET_TG_DATA 1, TOOL_CHANGE_X, Tg1_x
- GET_TG_DATA 1, TOOL_CHANGE_Y, Tg1_y