User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain
User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain
User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
7 Programming with Q Parameters<br />
7.6 Output of Q Parameters and Messages<br />
Displaying error messages<br />
<strong>TNC</strong> <strong>360</strong><br />
With the function D14: ERROR NUMBER you can call messages that<br />
were pre-programmed by the machine tool builder.<br />
If the <strong>TNC</strong> encounters a block with D14 during a program run or test run, it<br />
interrupts the run and displays an error message. The program must then<br />
be restarted.<br />
Input example:<br />
N50 D14 P01 254 *<br />
The <strong>TNC</strong> will display the text of error number 254.<br />
Error number to be entered Prepared dialog text<br />
0 to 299 ERROR 0 to ERROR 299<br />
300 to 399 PLC ERROR 01 to PLC ERROR 99<br />
400 to 483 DIALOG 1 to 83<br />
484 to 499 USER PARAMETER 15 to 0<br />
The machine tool builder may have programmed a text that differs from the above.<br />
Output through an external data interface<br />
The function D15: PRINT transmits the values of Q parameters and error<br />
messages over the data interface. This enables you to send such data to<br />
external devices, for example to a printer.<br />
• D15: PRINT with numerical values up to 254<br />
Example: N100 D15 P01 20 *<br />
Transmits the corresponding error message (see overview for D14).<br />
• D15: PRINT with Q parameter<br />
Example: N200 D15 P01 Q20 *<br />
Transmits the value of the corresponding Q parameter.<br />
Up to six Q parameters and numerical values can be transmitted simultaneously.<br />
Example: N250 D15 P01 4 P02 Q05 P03 4 P04 Q25 *<br />
Assigning values for the PLC<br />
Function D19: PLC transmits up to two numerical values or Q parameters<br />
to the PLC.<br />
Input increment and unit of measure: 1µm or 0.001°<br />
Example: N25 D19 P01 +10 P02 +Q3 *<br />
The number 10 corresponds to 10 µm or 0.01°<br />
7-11