EasyManua.ls Logo

HEIDENHAIN TNC 430 PA/M - Data Transfer NC - PLC, PLC - NC; Data Transfer NC Program - PLC; Data Transfer PLC - NC Program (Q Parameter)

HEIDENHAIN TNC 430 PA/M
1135 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 22 HEIDENHAIN Technical Manual TNC 426, TNC 430
7.3 Data Transfer NC 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.
7.3.1 Data Transfer NC Program PLC
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.
7.3.2 Data Transfer PLC NC Program (Q Parameter)
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
77
7 In double word D528, enter the numerical value to be transferred.
7
77
7 In word W516, define the target parameter (0=Q100, 7=Q107).
7
77
7 Activate transfer with strobe marker M4131.
7
77
7 The TNC transfers the values with the next M/S/T strobe.
Set Reset
M4075 Transfer active with FN19 NC NC
M4095 Acknowledgement of transfer with FN19 PLC PLC
M4570 Unit of measure for transfer with FN19
0: mm
1: inch
NC NC
D280 1st integer value from FN19 NC NC
D284 2nd integer value from FN19 NC NC
Set Reset
M4131 Activation of Q-parameter transfer to
the NC; data from D258, Q number from
W516
PLC NC
D528 Double word with multiple function,
here data for transfer from PLC to NC
PLC PLC
W516 Q Nr. 0-7 for numerical data transfer
PLC NC
PLC PLC

Table of Contents

Related product manuals