GearRange: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
No edit summary
Jeffm (talk | contribs)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:




=GearRange#=
=GearRange#('n')=
{{Description|description=Takes a number command or variable and returns the String associated with the number in the table.}}
{{Description|description=Takes a number command or variable and returns the String associated with the number in the table.}}
{{Stats|id=|type=Number|class=Operation|scope=|version=N/A}}
{{Stats|id=396|type=Number|class=Operation|scope=Op Loop|version=N/A}}
[[Category:Spindle]]
[[Category:Spindle]]

Latest revision as of 18:25, 16 December 2013

Description

Uses Table# 5000 to determine the proper gear range for the current operation. INT# 5000 is a list of RPMs, and STR# 5000 is a list of matching gear codes. `GearRange' searches the INT# 5000 list until an entry exceeds the desired spindle speed. It then returns the matching numbered string from the STR# 5000 list.


Stats

ID 315
Type Command
Class All Machines
Min Version N/A


GearRange#('n')

Description

Takes a number command or variable and returns the String associated with the number in the table.


Stats

ID 396
Type Number
Class Operation
Scope Op Loop
Min Version N/A