Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
22
3.8 Adaptation of the process data mapping
The mapping of process data can be adapted application-specifically via the IO-Link-master's
parameterization.
Depending on the used fieldbus, it can be necessary to swap process data wor
d-wise, double word-
wise or completely in order to align them to the data structure in the PLC.
The process data mapping is det
ermined channel by channel through the parameters "process
input data mapping" and "process output data mapping"" (see Parameters, page -17).
Example mapping for field buses
with Little Endian-format:
Mapping from master
o fieldbus o PLC
Devices at port
1 and 2
Parametrization
of the channel
(see
page 17)
Process output data mapping
IO-Link device
Byte (A) Byte (A)
Byte 0 Status
Byte 1 Control
PORT1
Byte 2 temperature Low byte 2 byte
Process data
(swap 16 bit)
temperature High byte
Byte 3 High byte Low byte
PORT2
Byte 4 Diagnosis 4 byte
Process data
(swap all)
Counter/
position value
MSByte
Byte 5 Counter/
position value
Low byte High byte
Byte 6 High byte Low byte
Byte 7 MSByte Diagnosis
A Low byte, the lowest byte Low-Byte
High byte High-Byte
MSByte: Most Significant Byte