Data Transfer Nc - Plc, Plc - Nc; Data Transfer Nc Program - Plc; Data Transfer Plc - Nc Program (Q Parameter) - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

7.3 Data Transfer NC
7.3.1 Data Transfer NC Program → PLC
7.3.2 Data Transfer PLC → NC Program (Q Parameter)
7 – 22
PLC, PLC
NC
Information is exchanged between PLC and NC by markers, bytes, words and
double words. The function of the individual markers, bytes, words and double
words is fixed.
The transfer of certain data to the PLC is controlled by strobes:
n
M codes
n
S codes
n
T codes
n
G codes
n
Q codes
Example:
If an M function is output, the NC sets the strobe signal M4072. After
evaluating the M function, the PLC sets the acknowledgement marker
M4092. The PLC must then reset M4092, otherwise no further strobes can be
sent by the NC.
With the Q-parameter function FN19 you can transfer two values from an NC
program to the PLC. The TNC stores the transferred values as integer values
of the form 1/10 000 in the double words D280 and D284. M4570 determines
the unit of measure for the two values transferred. During transfer, the marker
M4075 is set by the NC. Transfer is acknowledged by the PLC by setting the
marker M4095.
M4075
Transfer active with FN19
M4095
Acknowledgement of transfer with FN19 PLC
M4570
Unit of measure for transfer with FN19
0: mm
1: inch
D280
1st integer value from FN19
D284
2nd integer value from FN19
Data transfer from the PLC to the NC program goes through Q parameters Q100
to Q107, i.e., from the PLC you can overwrite Q parameters Q100 to Q107:
7 7 7 7
In double word D528, enter the numerical value to be transferred.
7 7 7 7
In word W516, define the target parameter (0=Q100, 7=Q107).
7 7 7 7
Activate transfer with strobe marker M4131.
7 7 7 7
The TNC transfers the values with the next M/S/T strobe.
M4131
Activation of Q-parameter transfer to
the NC; data from D258, Q number from
W516
D528
Double word with multiple function,
here data for transfer from PLC to NC
W516
Q Nr. 0-7 for numerical data transfer
PLC → NC
HEIDENHAIN Technical Manual TNC 426, TNC 430
Set
Reset
NC
NC
PLC
NC
NC
NC
NC
NC
NC
Set
Reset
PLC
NC
PLC
PLC
PLC
PLC

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