|
Executable Block Statements
Within each Post Processor Program File block it is possible to write executable statements which use the toolpath data created by the Cimatron NC system. These statements are composed of operators, variables, constants and conditions. Sometimes declaration statements must be made before the blocks, in order for the executable statement to be valid. Each executable block statement must be followed by a semicolon (;).
The types of executable block statements available are:
Save a value for later use. |
|
Output variable values, literal strings and/or other constants such as NEW_LINE_IS and control characters. |
|
Send variable values, literal strings and/or other constants, to the screen and to a file having the extension .msg. Additional PRINT statements are available that enable the user to select the file extension. |
|
Assign a value to a variable. |
|
Execute statements (Ex: OUTPUT) if the condition in parentheses is true. If it is false execute the ELSE statements. |
|
This IF statement checks the existence of TOOL/CYCLES User defined parameters. |
|
Executed statements repeatedly, until the condition in parentheses is true. |
|
Set a variable's indicator to "on" or "off" without affecting its value. (Used with modal variables). |
|
Call an external program for execution. |
|
Convert the internal representation of a variable to be the same as the defined in the FORMAT. |
|
When this variable is SET_ON, the Gcode file is divided and from this point the blocks are output to the next file (see page for file names). |
When a prior declaration statement must be made, it is indicated.
|