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 1: Line 1:
'''Save#'''
'''Save#'''
{{Description|description=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:


: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.
Save# Num#(`1') [[SpeedRPM#]]  


:Example to save the current RPM to variable number one:
Example to save the current RPM to a variable number equal to the tool#


::''Save# Num#('1')'' [[SpeedRPM#]]
Save# [[Tool#]] [[SpeedRPM#]]}}
 
{{Notes|notes=When saving axis values, Save# saves absolute axis value without regards to the current Status Record's setting of absolute or incremental!}}
:Example to save the current RPM to a variable number equal to the tool#
{{Stats|id=204|type=Number|class=All Machines|scope=|version=N/A}}
 
[[Category:Output Control]]
::''Save#'' [[Tool#]] [[SpeedRPM#]]
::{| style="background-color:#dddddd;" cellpadding="10" cellspacing="0" border="1"
|'''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!
|}
 
[[Category:Output Control]] [[Category:Flags, Variables and Constants]] [[Category:Number]] [[Category:All Machines]]

Revision as of 14:25, 8 October 2007

Save#

Description

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#


Notes

When saving axis values, Save# saves absolute axis value without regards to the current Status Record's setting of absolute or incremental!


Stats

ID 204
Type Number
Class All Machines
Min Version N/A