TABLE: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
No edit summary
Jeffm (talk | contribs)
No edit summary
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
=Deprecated=
== Description ==
This command has been deprecated and should not be used in new posts. It will continue to function in GibbsCAM but will not be supported by Compost 4 or later. Posts should use the command [[GearRange]] or prog code to implement the desired functionality.


:Argument command containing three arguments separated by commas. Example:
==Table('n',IGNORED,'n')==


::''Table(4001,''[[SpeedRPM#]]'', 1)''
{{Description|description=Argument command containing three arguments separated by commas. Example:


:The first argument is the Compost Table#. The second argument is the search value. The third argument is the search criteria. Using the example above, `Table' searches Compost's #4001 Table's left list for the value of the second argument, in a range set by the third argument (1 meaning closest to the value). It then returns the string from ComPost's #4001 Table's right list. The first argument is the only one that may be different from the example as the second and third arguments are only recognized as shown. Future versions may allow you to use a different second or third argument.
''Table('4001',''[[SpeedRPM#]]'', '1')''


{{Info|id=408}}
The first argument is the Compost Table#. The second argument used to be "the search value" but has been ignored in all versions of GibbsCAM, the current operations RPM is always used. The third argument is the search criteria. Using the example above, `Table' searches Compost's #4001 Table's left list for the value of the second argument, in a range set by the third argument (1 meaning closest to the value). It then returns the string from ComPost's #4001 Table's right list. The first argument is the only one that may be different from the example as the second and third arguments are only recognized as shown. Future versions may allow you to use a different second or third argument.}}


== Info ==
{{Stats|id=408|type=Command|class=All Machines}}
::{| style="background-color:#eeeeee;" cellpadding="5" cellspacing="0" border="1"
|'''ID''' || 408  
|-
| '''Date added''' || N/A
|-
|'''Type''' || Command  
|-
| '''Class/Scope''' || All
|-
|'''Min Version''' || N/A
|}


==TABLE#('n', SpeedRPM#, 'n')==


=TABLE#=
{{Description|description=This command is similar to the TABLE command and is used in a similar way. However, any variable can now be passed into the second argument. In addition, the third argument is now hardcoded to be '1' in the command itself. It should not be specified. In addition any type of Compost modifier can be used in front of the 2nd argument.


== Description ==
Example: ''TABLE#('5000') SpeedRPM# or: TABLE#('5000')'' [[LAST]] ''CalcRPM1#''.  
:This command is similar to the TABLE command and is used in a similar way. However, any variable can now be passed into the second argument. In addition, the third argument is now hardcoded to be '1' in the command itself. It should not be specified. In addition any type of Compost modifier can be used in front of the 2nd argument. Example: ''TABLE#('5000') SpeedRPM# or: TABLE#('5000')'' [[LAST]] ''CalcRPM1#''. Unlike the TABLE command, TABLE# is a number command and can only return numeric values. If the String box in the TABLE window in Compost has a alphanumeric string, `TABLE#' is unable to convert this to a numeric value and will return 0. Instead, place your letter character in the prog as a literal preceding the TABLE# command.


==Info==
Unlike the TABLE command, TABLE# is a number command and can only return numeric values. If the String box in the TABLE window in Compost has a alphanumeric string, `TABLE#' is unable to convert this to a numeric value and will return 0. Instead, place your letter character in the prog as a literal preceding the TABLE# command.}}
::{| style="background-color:#dddddd;" cellpadding="10" cellspacing="0" border="1"
|'''ID''' || 393
|-
| '''Date added''' || N/A
|-
|'''Type''' || Number
|-
| '''Class/Scope''' || All
|-
|'''Min Version''' || N/A
|}


[[Category:Spindle]] [[Category:Command]] [[Category:Number]] [[Category:All Machines]]
{{Info|id=393|type=Number|class=All Machines}}
 
==Notes on the "Search By" command==
Some posts called commands such as [[Speed]] or [[CalcRPM1#]] for the search by field in this set of commands. Those speeds were simply skipped and ignored.
 
[[Category:Spindle]]

Latest revision as of 19:17, 16 December 2013

Deprecated

This command has been deprecated and should not be used in new posts. It will continue to function in GibbsCAM but will not be supported by Compost 4 or later. Posts should use the command GearRange or prog code to implement the desired functionality.

Table('n',IGNORED,'n')

Description

Argument command containing three arguments separated by commas. Example:

Table('4001',SpeedRPM#, '1')

The first argument is the Compost Table#. The second argument used to be "the search value" but has been ignored in all versions of GibbsCAM, the current operations RPM is always used. The third argument is the search criteria. Using the example above, `Table' searches Compost's #4001 Table's left list for the value of the second argument, in a range set by the third argument (1 meaning closest to the value). It then returns the string from ComPost's #4001 Table's right list. The first argument is the only one that may be different from the example as the second and third arguments are only recognized as shown. Future versions may allow you to use a different second or third argument.


Stats

ID 408
Type Command
Class All Machines
Min Version 11


TABLE#('n', SpeedRPM#, 'n')

Description

This command is similar to the TABLE command and is used in a similar way. However, any variable can now be passed into the second argument. In addition, the third argument is now hardcoded to be '1' in the command itself. It should not be specified. In addition any type of Compost modifier can be used in front of the 2nd argument.

Example: TABLE#('5000') SpeedRPM# or: TABLE#('5000') LAST CalcRPM1#.

Unlike the TABLE command, TABLE# is a number command and can only return numeric values. If the String box in the TABLE window in Compost has a alphanumeric string, `TABLE#' is unable to convert this to a numeric value and will return 0. Instead, place your letter character in the prog as a literal preceding the TABLE# command.


Stats

ID 393
Type Number
Class All Machines
Min Version 11


Notes on the "Search By" command

Some posts called commands such as Speed or CalcRPM1# for the search by field in this set of commands. Those speeds were simply skipped and ignored.