EasyManua.ls Logo

turck TBEN-L 8IOL Series - Page 55

turck TBEN-L 8IOL Series
148 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...
V02.00 | 2019/10
55
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.45: Hardware identifier: Basic slot of the TBEN-L…-8IOL in the example
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

Table of Contents

Related product manuals