SET 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=SET_TG_DATA <tool number>, <parameter>, <value> | {{Command|syntax=SET_TG_DATA <tool number>, <parameter>, <value> | ||
|description=:Set | |description=:Set tool group data. | ||
|param1=<tool number>|param1_desc={{tool number}} | |param1=<tool number>|param1_desc={{tool number}} | ||
Line 10: | Line 10: | ||
===Example=== | ===Example=== | ||
:SET_TG_DATA | :SET_TG_DATA 2, TOOL_CHANGE_X, 10.2 | ||
:SET_TG_DATA 2, TOOL_CHANGE_Y, Tg2_y | |||
[[Category:Tools]] | [[Category:Tools]] |
Latest revision as of 23:52, 19 October 2010
Command
- SET_TG_DATA <tool number>, <parameter>, <value>
- Set tool group data.
Parameters
- <tool number>
- Tool number
- <parameter>
- tg_parameter
- <value>
- A value to assign to the parameter.
- The type of value must match the data type of the parameter.
- If you are setting a text parameter, then the value must be text string or a string variable. Otherwise use a numeric value or a number variable.
Example
- SET_TG_DATA 2, TOOL_CHANGE_X, 10.2
- SET_TG_DATA 2, TOOL_CHANGE_Y, Tg2_y