GET TG DATA: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{Command|syntax=GET_TG_DATA <tool number>, <parameter>, <value> | {{Command|syntax=GET_TG_DATA <tool number>, <parameter>, <value> | ||
|description= | |description=:Get the data of the tool group parameter on a certain tool. | ||
|param1=<tool number>|param1_desc={{tool number}} | |param1=<tool number>|param1_desc={{tool number}} | ||
Line 10: | Line 10: | ||
===Example=== | ===Example=== | ||
:GET_TG_DATA | :GET_TG_DATA 5, TOOL_CHANGE_X, m4 | ||
[[Category:Tools]] | [[Category:Tools]] |
Revision as of 19:14, 12 August 2010
Command
- GET_TG_DATA <tool number>, <parameter>, <value>
- Get the data of the tool group parameter on a certain tool.
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 5, TOOL_CHANGE_X, m4