Save: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
No edit summary
JefD (talk | contribs)
No edit summary
Line 2: Line 2:


:Saves the second following value into the first following variable register. The variable register number must be an integer. This keyword should be used with the [[Num#]]('n') keyword to save a value to a known variable register number. This keyword can also be used with any other numeric keyword that returns an integer.
:Saves the second following value into the first following variable register. The variable register number must be an integer. This keyword should be used with the [[Num#]]('n') keyword to save a value to a known variable register number. This keyword can also be used with any other numeric keyword that returns an integer.
:Example to save the current RPM to variable number one:
:Example to save the current RPM to variable number one:


Line 21: Line 22:
|'''Min Version''' || N/A  
|'''Min Version''' || N/A  
|-
|-
| '''Notes''' || When saving axis values, `Save#' saves absolute axis value without regards to the current Status Record's setting of absolute or incremental!
| '''Notes''' || When saving axis values, Save# saves absolute axis value without regards to the current Status Record's setting of absolute or incremental!
|}
|}


[[Category:Output Control]] [[Category:Flags, Variables and Constants]] [[Category:Number]] [[Category:All Machines]]
[[Category:Output Control]] [[Category:Flags, Variables and Constants]] [[Category:Number]] [[Category:All Machines]]

Revision as of 22:43, 26 September 2007

Save#

Saves the second following value into the first following variable register. The variable register number must be an integer. This keyword should be used with the Num#('n') keyword to save a value to a known variable register number. This keyword can also be used with any other numeric keyword that returns an integer.
Example to save the current RPM to variable number one:
Save# Num#('1') SpeedRPM#
Example to save the current RPM to a variable number equal to the tool#
Save# Tool# SpeedRPM#
ID 204
Date added N/A
Type Number
Class/Scope All
Min Version N/A
Notes When saving axis values, Save# saves absolute axis value without regards to the current Status Record's setting of absolute or incremental!