Executable Block Statements - PRINT

The PRINT statement operates like the OUTPUT statement. It uses the same variables and changes the modal indicator in the same way. However, it writes to the screen and to a file named:

<part name>.<toolpath 1>. msg

Variables do not have to be included in an OUTPUT statement to be in a PRINT statement. A list of variables may be included in the same PRINT statement.

Example:

TOOL CHANGE: OUTPUT ! TOOL_NAME; PRINT "Milling tool " TOOL_NAME "is installed.";

In this example, after the name of the tool is output, the sentence declaring that the tool is installed will be displayed on the screen and added to the .msg file.

Additional PRINT statements are available, PRINT1.......PRINT10, that operate in a similar manner to PRINT. These statements, however, send variables to a file named:

<part name>.<toolpath 1>.<extension>

where <extension> may either be the default (the default of PRINT1 is .pr1), or may be any name selected by the user.

PRINT0 is similar to PRINT, however, it always writes to the file print0.txt in the current folder.

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