OutputValueAsAxis: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Dannym (talk | contribs)
m moved OutputAxis to OutputValueAsAxis: Added another OutputAxis command in its place.
Dannym (talk | contribs)
No edit summary
Line 1: Line 1:
==OutputAxis('n', NUMBER_COMMANDS# )==
==OutputValueAsAxis('n', NUMBER_COMMANDS# )==
{{Description|description=This command will output the results of the specified math stack as the specified axis, complete with label, scaling, rounding and tracking. This version of the command will output unconditionally.
{{Description|description=This command will output the results of the specified math stack as the specified axis, complete with label, scaling, rounding and tracking. This version of the command will output unconditionally.


Line 6: Line 6:
ex.
ex.


   OutputAxis('Z102', OpFieldData#('ZClearance'))
   OutputValueAsAxis('Z102', OpFieldData#('ZClearance'))
   This will ouput the value stored in the 'ZClearance' utility op field, formatted  
   This will ouput the value stored in the 'ZClearance' utility op field, formatted  
   for the sub-spindle z axis, with the correct label for the current output mode.
   for the sub-spindle z axis, with the correct label for the current output mode.

Revision as of 21:19, 19 September 2013

OutputValueAsAxis('n', NUMBER_COMMANDS# )

Description

This command will output the results of the specified math stack as the specified axis, complete with label, scaling, rounding and tracking. This version of the command will output unconditionally.

The post processor can specify a specific axis name, or use X,Y,Z,A,B,C to reference the axes in the current interpolation set.

ex.

 OutputValueAsAxis('Z102', OpFieldData#('ZClearance'))
 This will ouput the value stored in the 'ZClearance' utility op field, formatted 
 for the sub-spindle z axis, with the correct label for the current output mode.


Stats

ID 842
Type Command
Class Any Machine
Scope Op Loop
Min Version 10.8.xx