GET TG DATA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


{{Command|syntax=GET_TG_DATA <tool number>, <parameter>, <value>
{{Command|syntax=GET_TG_DATA <tool number>, <parameter>, <value>
|description=*DESCRPTION*
|description=:Get data associated with a tool group.


|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 1, TOOL_CHANGE_X, Tg1_x
:GET_TG_DATA 1, TOOL_CHANGE_Y, Tg1_y
 


[[Category:Tools]]
[[Category:Tools]]

Latest revision as of 23:51, 19 October 2010

Up

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