beautypg.com

10 .8 a d ditional f u nctions – HEIDENHAIN TNC 320 (340 551-02) User Manual

Page 348

background image

348

10 Programming: Q Parameters

1

0

.8 A

d

ditional F

u

nctions

FN16: F-PRINT: Formatted output of texts or
Q parameter values

The function FN16: F-PRINT transfers Q parameter values and texts in
a selectable format through the data interface, for example to a printer.
If you save the values internally or send them to a computer, the TNC
saves the data in the file that you defined in the FN 16 block.

To output the formatted texts and Q parameter values, create a text
file with the TNC’s text editor. In this file you then define the output
format and Q parameters you want to output.

Example of a text file to define the output format:

“TEST RECORD IMPELLER CENTER OF GRAVITY”;

“DATE: %2d-%2d-%4d”,DAY,MONTH,YEAR4;

“TIME: %2d:%2d:%2d”,HOUR,MIN,SEC;

“————————————————————————“

“NO. OF MEASURED VALUES : = 1”;

“*******************************************“;#

“X1 = %9.3LF”, Q31;

“Y1 = %9.3LF”, Q32;

“Z1 = %9.3LF”, Q33;

“******************************************“;

1080

Calculated values incorrect

1081

Contradictory measuring points

1082

Clearance height entered incorrectly

1083

Contradictory type of plunging

1084

Machining cycle not permitted

1085

Line is write-protected

1086

Oversize greater than depth

1087

No point angle defined

1088

Contradictory data

1089

Slot position 0 not permitted

1090

Enter infeed unequal 0

Error number

Text