GetMacroOpVar: Difference between revisions
Jump to navigation
Jump to search
Created page with "==GetMacroOpVar#('MacroVariableName')== {{Description|description=This command will return the value stored in a named numeric variable that is defined in the macro file (.mac..." |
No edit summary |
||
| Line 7: | Line 7: | ||
*SET_OP_POST_DATA (write custom data to the op; the parameter name should match the 'MacroVariableName' post command parameter)}} | *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=|version=22.0.27}} | {{Stats|id=557|type=Number|class=All Machines|scope=Operation|version=22.0.27}} | ||
[[Category:Macros]] | [[Category:Macros]] | ||
Revision as of 00:35, 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