TABLE: Difference between revisions
New page: '''TABLE''' :Argument command containing three arguments separated by commas. Example: ::''Table(4001,''SpeedRPM#'', 1)'' :The first argument is the Compost Table#. The second argum... |
No edit summary |
||
| (42 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
=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|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}} | |||
==TABLE#('n', SpeedRPM#, 'n')== | |||
[[ | {{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. | ||
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|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.