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:

KEEP

Save a value for later use.

OUTPUT

Output variable values, literal strings and/or other constants such as NEW_LINE_IS and control characters.

PRINT
PRINT1..PRINT10
PRINT0

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.

Assignment

Assign a value to a variable.

IF_SET,
ELSE,
END_IF

Execute statements (Ex: OUTPUT) if the condition in parentheses is true. If it is false execute the ELSE statements.

IF_EXISTS,
ELSE,
END_IF

This IF statement checks the existence of TOOL/CYCLES User defined parameters.

REPEAT,
UNTIL

Executed statements repeatedly, until the condition in parentheses is true.

SET_ON
SET_OFF

Set a variable's indicator to "on" or "off" without affecting its value. (Used with modal variables).

CALL

Call an external program for execution.

CONVERT

Convert the internal representation of a variable to be the same as the defined in the FORMAT.

CUT_FILE

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.

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.