
V01.00 | 2019/10
51
Example accesses with IO_LINK_DEVICE
In this example, the watch table
Sensor1
serves to visualize the procedure of the read and write
access via IO_LINK_DEVICE. The assignment of the SPDU-indices of IO-Link devices can be
found in the respective device documentation.
The function block access to the device an the connected sensors is done via the input variable
ID
. The value which has to be set as ID depends on the used CPU:
Example:
n
HW identifier of the
basic
slot (slot 1), for example with CPU 1511-PN (used in this example)
n
Start address of the input data of the IO-Link master e.g. with CPU 315
Fig. 46: Hardware identifier: Basic slot of the TBEN-S2-4IOL in the example