Output of q parameters and messages -11, Displaying error messages, Output through an external data interface – HEIDENHAIN TNC 360 User Manual User Manual

Page 145: Assigning values for the plc, 6 output of q parameters and messages

Advertising
background image

7-11

TNC 360

7

Programming with Q Parameters

7.6 Output of Q Parameters and Messages

Displaying error messages

With the function FN14:ERROR you can call messages that were pre-
programmed by the machine tool builder.

If the TNC encounters a block with FN 14 during a program run or test run,
it interrupts the run and displays an error message. The program must
then be restarted.

Input example:

FN 14: ERROR = 254

The TNC will display the text of error number 254.

Error number to be entered

Prepared dialog text

0 to 299

ERROR 0 to ERROR 299

300 to 399

PLC ERROR 01 to PLC ERROR 99

400 to 483

DIALOG 1 to 83

484 to 499

USER PARAMETER 15 to 0

Your machine builder may have programmed a text that differs from the above.

Output through an external data interface

The function FN 15: PRINT transmits the values of Q parameters and error
messages over the data interface. This enables you to send such data to
external devices, for example to a printer.

• FN15: PRINT with numerical values up to 200

Example: FN15: PRINT 20
Transmits the corresponding error message (see overview for FN14).

• FN 15: PRINT with Q parameter

Example: FN15: PRINT Q20
Transmits the value of the corresponding Q parameter.

Up to six Q parameters and numerical values can be transmitted simulta-
neously. The TNC separates them with slashes.
Example: FN15: PRINT 1/Q1/2/Q2

Assigning values for the PLC

Function FN19: PLC transmits up to two numerical values for
Q parameters to the PLC.

Input increment and unit of measure: 1

µ

m or 0.001°

Example: FN19: PLC = +10/+Q3

The number 10 corresponds to 10

µ

m or 0.01°.

Advertising