Commissioning
Connecting the device to a Siemens PLC in PROFINET
46
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Example read access – read product name
Reading out the product name (product name, index 0x12) of the TURCK IO-Link I/O-hub
TBIL-M1-16DXP at IO-Link port 4.
Write the input variables of the function block via control variable as follows:
Variable Value Meaning
REQ TRUE Send a read request
ID 264 Hardware identifier of the "Basic" slot according to the
configuration in the Device view
CAP 251 Function block instance
PORT 4 The I/O hub TBIL-M1-16DXP is connected to port 4.
IOL_INDEX 0x12 Index for product name
Fig.34: IO_LINK_DEVICE – input variables for read access