GET OP DATA: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=GET_OP_DATA <process number>, <operation parameter>, <number variable> |description=get some tool data, see GibbsCAM.GibbsPlugin.Init_Plugin. UNFINISHED ...
 
Mikeo (talk | contribs)
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|syntax=GET_OP_DATA <[[process number]]>, <[[operation parameter]]>, <[[number variable]]>
[[Operations:Operation_Data|{{Up}}]]
|description=get some tool data, see [[GibbsCAM.GibbsPlugin.Init_Plugin]].


UNFINISHED
{{Command|syntax=GET_OP_DATA <operation number>, <parameter>, <variable>
|description=:Get data associated with the given operation number.


|param1=tool number|param1_desc= Number of the tool
|param1=<operation number>|param1_desc={{op number}}
|param2=tool parameter|param2_desc= tool parameter from a list
|param2=<parameter>|param2_desc= One of the following list of [[operation parameter|parameters]]
|param3=<variable>|param3_desc={{get data var}}
}}
}}


===Example===
===Example===
:- GET_TOOL_DATA 3, MTOOL_LENGTH, MyToolLength
:GET_OP_DATA 3, TOOL_NUM, MyOpToolNumber


:- GET_TOOL_DATA 4, COMMENT, MyToolComment$
:GET_OP_DATA 4, COMMENT, MyOpComment$






[[Category:Tool]]
[[Category:Operations]]

Latest revision as of 14:42, 24 September 2014

Up

Command

GET_OP_DATA <operation number>, <parameter>, <variable>


Get data associated with the given operation number.

Parameters

<operation number>
Operation number.
<parameter>
One of the following list of parameters
<variable>
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_OP_DATA 3, TOOL_NUM, MyOpToolNumber
GET_OP_DATA 4, COMMENT, MyOpComment$