GetMacroOpVar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
{{Stats|id=557|type=Number|class=All Machines|scope=Operation|version=22.0.27}} | {{Stats|id=557|type=Number|class=All Machines|scope=Operation|version=22.0.27}} | ||
[[Category: | [[Category:Drill Cycles]] | ||
Latest revision as of 00:37, 24 November 2021
GetMacroOpVar#('MacroVariableName')
Description
This command will return the value stored in a named numeric variable that is defined in the macro file (.mac) associated with the operation. This is particularly useful to access the Custom Drill Cycle data defined with a macro drill cycle.
Notes
The macro commands might look something like:
- CREATE_OP_POST_DATA (creates the custom data structure)
- ADD_OP_POST_DATA (adds a variable to the block of data)
- SET_OP_POST_DATA (write custom data to the op; the parameter name should match the 'MacroVariableName' post command parameter)
Stats
ID 557 Type Number Class All Machines Scope Operation Min Version 22.0.27