Format Instructions; Variable Names - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

Format instructions

Variable names:

6 – 256
Format instructions are enclosed in quotation marks (""). Variables are
transferred as parameters.
Example:
Always display
the algebraic
sign
Total number of digits, including
decimal point and algebraic sign
3 decimal places
Variable types specified in the format instruction can be written in lowercase
or uppercase letters (e.g. %D). The variable types of the format instruction
must agree with the specified variables.
Note
Integer variables in the TNC have a length of 32 bits.
PLC variables can be displayed as a number with decimal places:
7 7 7 7
With the variable switch /n=x you convert from integer to double.
Variable names
B0 to B4095
W0 to W4094
D0 to D4092
M0 to M4999
I0 to I383
O0 to O191
T0 to T303
C0 to C143
S0 to S15
S#D0 to S#D999
S#E0 to S#E999
TIME[0] to TIME[15]
AXISCHAR[0] to
AXISCHAR[4]
MP up to..
"Position: %+8.3F",D3884/n=4/c
Display as a floating-point
Meaning
PLC bytes, integer
PLC words, integer
PLC double words, integer 0/1
PLC markers, integer 0/1
PLC inputs, integer 0/1
PLC outputs, integer 0/1
PLC timers, integer 0/1
PLC counters, integer 0/1
PLC strings, string [128]
PLC dialogs, string
PLC error texts, string
System time as in Module 9055, char
Code letters for NC axis, char
Machine parameters, notation: MP910.1
Input value:
Decimal places: double
Hex or binary: integer
Text: char
HEIDENHAIN Technical Manual TNC 426, TNC 430
Update cyclically
Convert D3884 into a
floating-point number and
x
divide by 10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents