IO Link TBEN L5 8IOL
IO Link TBEN L5 8IOL
IO-Link Devices
Commissioning
User Manual
Contents
2 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Contents
1 About these instructions 5
1.1 Target groups 5
1.2 Explanation of symbols 5
1.3 Other documents 5
1.4 Feedback about these instructions 5
2 Notes on the system 6
2.1 Device identification 6
2.2 Manufacturer and service 6
3 For your safety 6
3.1 Intended use 6
4 System description 7
4.1 System features 7
4.2 System design 8
4.3 Operating principle 9
4.4 Functions and operating modes 9
4.4.1 IO-Link mode 9
4.4.2 Standard I/O mode (SIO mode) 11
5 Connection 12
5.1 Wiring diagrams 12
5.1.1 IO-Link master 12
5.1.2 IO-Link device 12
6 Configuring and commissioning 13
6.1 Setting devices via a PC with a configuration tool 14
6.1.1 Setting with USB adapter and configuration tool 14
6.1.2 Setting with IO-Link master and configuration tool 24
6.2 Configuring devices via the PLC program 34
6.2.1 Commissioning with BLxx and programmable gateway in CODESYS 2 34
6.2.2 Commissioning with BLxx and TX500 in CODESYS 3 37
6.3 Commissioning with TBEN and TX507 in CODESYS 3 40
6.3.1 Commissioning with BLxx and Siemens PLC in Simatic Manager (V5.5) 52
6.3.2 Commissioning with TBEN and Siemens PLC in Simatic Manager (V5.5) 55
6.3.3 Commissioning with BLxx and Siemens PLC in the TIA Portal V13 SP1 60
6.3.4 Commissioning with TBEN and Siemens PLC in the TIA Portal 64
7 Setting 68
Commissioning with IO-Link
7.1 Setting devices via the PLC program with a function block 68
7.1.1 Setting with a programmable gateway and CODESYS 3 71
7.1.2 Setting with a programmable gateway and CODESYS 2 79
7.1.3 Setting with an S7-1200/1500 Siemens PLC and TIA Portal 88
7.1.4 Setting with an S7-300/400 Siemens PLC and STEP7 V5.5 93
8 Operation 101
8.1 Combining Turck IO-Link devices 102
2018/01 3
4 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
1 About these instructions
These operating instructions describe the setup, the functions and use of the system, and help
you to commission the Turck IO-Link devices. Read this manual carefully before using the sys-
tem. This will prevent the risk of personal injury and damage to property. Keep this manual safe
during the service life of the system.
NOTE
NOTE indicates tips, recommendations and important information. The notes contain
information, particular operating steps that facilitate work and possibly help to avoid
additional work resulting from incorrect procedures.
➤ MANDATORY ACTION
This symbol denotes actions that the user must carry out.
➥ RESULT OF ACTION
This symbol denotes the relevant results of actions and procedures.
2018/01 5
Notes on the system
IO-Link enables different devices (e.g. a temperature sensor and a linear position sensor) to be
operated on one input module.
6 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
4 System description
IO-Link is a fieldbus independent communication interface for sensors and actuators. Signals
and energy can be exchanged between any networks, fieldbuses and backplane buses via a
digital, serial point-to-point connection.
Each IO-Link system consists of an IO-Link master and an IO-Link device (e.g. sensor, I/O hub,
valve block). An IO-Link master is provided with at least one IO-Link port (channel). One IO-Link
device can be connected to each port. The system components are interconnected according
to the port specification via unshielded 3-wire or 5-wire standard cables.
The IO-Link technology is described in the “IO-Link Interface and System Specification” and IEC
61131-9. IO-Link-capable devices comply either with specification V1.0 or specification V1.1.
The properties, functions and parameters of the IO-Link device are represented in an electronic
device description (IODD). The IODDs for Turck devices can be downloaded via the Turck Soft-
ware Manager and can also be obtained free of charge from www.turck.com. The IODDs of all
devices have the same structure and contain the following information for system integration:
■■Communication properties
■■Device parameters with value range and default value
■■Identification, process and diagnostic data
■■Device data
■■Text description
■■Picture of the device
■■Logo of the manufacturer
The structure of the IODD is defined by the IO-Link specification and is the same for all IO-Link
devices. The IODD is based on indexes. The communication properties, device parameters,
identification, process, diagnostic and device data are assigned to fixed indexes in the IODD, via
which the parameters can be controlled. Some indexes are further divided by subindexes.
2018/01 7
System description
0 0 0 0 0
1 1 1 1 1
2 2 2 2
3 3 3
4 4
5 5
6 6
7 7
0 0 0 0
0
1 1 1 1
BL67-B-1RSM
BL67-B-2M12
BL67-B-4M8
2 2
2 2
Power
3 3 3 3
4 4
5 5
BL67-B-4M12-P
BL67-B-8M8
6 6
7
7
8 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
4.3 Operating principle
IO-Link is a digital point-to-point connection between an IO-Link master and an IO-Link device.
Process data and other information such as parameters and diagnostic messages are trans-
ferred with a 24 V pulse modulation via a combined switching status and data channel (C/Q).
1 L+
4 C/Q IO-Link
2
SIO
5 3 L–
During initialization the ports of the IO-Link master behave like a normal digital input. The
IO-Link devices are operated in IO-Link mode. A command of the higher-level IO-Link master
establishes IO-Link communication in IO-Link mode. This command is called the “Wake-up
request”.
In IO-Link mode communication takes place between an IO-Link master and an IO-Link device.
Communication always starts from the IO-Link master.
2018/01 9
System description
Response times
The response time of the IO-Link system provides information on the frequency and speed of
the data transmission between IO-Link master and IO-Link device. This response time depends
on the following factors:
■■Minimum cycle time: Intervals defined in the IODD in which the IO-Link master addresses the
IO-Link device. Different minimum cycle times can be defined for different devices.
■■Internal processing time of the IO-Link master and the IO-Link device
The data exchanged between IO-Link master and the IO-Link device can be divided into cyclical
process data and acyclical data. Process data and value states are transferred cyclically. Acyclical
data is transferred separately to cyclic process data. Acyclical data includes device data, param-
eter functions and events such as diagnostic information, which is only transferred on request.
The two communication types are independent of each other and do not interact.
Cyclical communication
Process data Value status (port qualifier)
––0…32 bytes of process data possible per device ––The Port Qualifier indicates whether the process
(each input and output) data is valid or not
––Process data size determined by the device
Acylical communication
Device data Events
––Parameters, identification data or diagnostic ––Device indicates event to master:
information Error messages and warnings
––Replacement on request of the IO-Link master ––Master indicates event to device:
––Device data can be written to the device or read e.g. cable break or communication abort
from the device
Only devices of specification V1.0 can be operated on IO-Link masters of specification V1.0.
Devices of specification V1.0 and V1.1 can be operated on IO-Link masters of specification V1.1.
IO-Link device V1.0 IO-Link device V1.1
IO-Link master V1.0
IO-Link master V1.1
10 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Data retention mode
NOTE
Data retention mode is only available for devices complying with the IO-Link specifica-
tion V1.1.
Data retention mode makes it possible to replace IO-Link devices without the need for a
reconfiguration.
The IO-Link master or the IO-Link device save the device parameters set in the previous con-
figuration. In data retention mode the parameter data memories of IO-Link master and IO-Link
device are synchronized.
If data retention mode is activated in the IO-Link master, the master writes the stored device pa-
rameters to the new device after a device is replaced. The application can be restarted without
having to perform a new configuration.
IO-Link-Master IO-Link-Device
(IOLM) (IOLD)
DS_UPLOAD_FLAG
In standard I/O mode IO-Link devices behave like digital sensors or actuators. In this mode the
devices only send input or output data to the higher-level instance. IO-Link access to the device
is not possible.
2018/01 11
Connection
5 Connection
A Turck IO-Link master is provided with one or several ports for connecting IO-Link devices. The
IO-Link devices are connected via unshielded 3-wire or 5-wire standard cables to the ports of
the IO-Link master. The maximum cable length is 20 m.
The IO-Link specification for IO-Link masters defines two different types of ports with different
power supplies.
■■Port class A: The functions of pins 2 and 5 are manufacturer specific. For example, pin 2 can be
assigned with an additional digital channel.
■■ class B: An additional electrically isolated power supply is provided via pins 2 and 5. Class
Port
B IO-Link ports are suitable for connecting IO-Link devices with a greater power requirement.
A 5-wire standard cable is required to use the additional power supply.
Adapters (ident no. 6629515 and 6629516) are available for connecting Port class B devices to
Port class A masters.
Pin 3 V1- 1 3
Pin 4 C/Q
5 4
Pin 5 V2-
Pin 3 V1- 3 1
Pin 4 C/Q
5 4
Pin 5 n. c.
12 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Pin Pin assignment Wiring diagram
Pin 1 V1+
Pin 2 V2+ 2
Pin 3 V1- 3 1
Pin 4 C/Q
5 4
Pin 5 V2-
If the port is set to IO-Link mode, the IO-Link master will try to set up communication with
the IO-Link device. IO-Link communication is established in IO-Link mode through a wake-up
request from the higher-level IO-Link master.
The IO-Link master first tries to establish transmission at the highest data transmission rate
defined. If communication cannot be established, the master automatically tries to use the next
highest data transmission rate to establish communication.
Transmission starts if the master receives a feedback signal from the device. The communica-
tion parameters are exchanged first of all. If necessary, the IO-Link master transfers parameters
saved in the system to the device. The cyclical exchange of process data and value status is then
started.
IO-Link devices can be started up via a Turck IO-Link master on different controller types. In
PROFINET systems this requires the GSDML file of the IO-Link master. The GSDML files of the
Turck devices are available for download at www.turck.com.
The following examples describe the configuration of IO-Link devices. The following scenarios
are possible here:
■■Configuring devices via a PC using a configuration tool
ūūConfiguring with IO-Link-USB adapter
ūūConfiguring with an IO-Link master
■■Configuring devices via the fieldbus level
ūūConfiguring with a programmable gateway and CODESYS 2
ūūConfiguring with a programmable gateway and CODESYS 3
ūūCommissioning with a Siemens PLC in Simatic Manager
ūūCommissioning with a Siemens PLC in the TIA Portal
■■Configuring devices via the fieldbus level with an extended GSDML file
Commissioning with IO-Link
2018/01 13
Configuring and commissioning
All the required Turck software components can be downloaded via the Turck Software Man-
ager. The Turck Software Manager is available free of charge from www.turck.com.
Software used
11.5 18.2 54
41
42 49.5 M12 x 1 16
L
Fig. 8: Hardware components in the application example (temperature sensor, sensor cable, USB-IO-Link adapter)
14 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Setup
PC
2018/01 15
Configuring and commissioning
➤➤Launch PACTware™.
➤➤Add the USB adapter: Right-click Host PC Add device.
16 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Startthe topology scan in order to find devices connected to the IO-Link adapter: Right-click
the IO-Link adapter Click the topology scan.
2018/01 17
Configuring and commissioning
➤➤Search for devices via the topology scan: Click the “Search” button.
➤➤Selectthe IODD for the connected device if the device is not automatically detected (see red
marking).
18 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Establish the connection between the IO-Link device and PC by right-clicking the device.
2018/01 19
Configuring and commissioning
20 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Select “IO-Link Parameters”.
Refer to the adjustable parameters provided in the IO-Link parameter manuals for the specific
devices. The parameter manuals contain a description of the IODD and are available for down-
load at www.turck.com. Example: The “Rotate display and set measured value refresh time”
command is controlled via index 85.
Fig. 19: Extract from the parameter manual for the TS-400-2UPN8X-H1141 sensor (example: Set display)
2018/01 21
Configuring and commissioning
22 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Rotate display by 180° and measured value refresh time of 50 ms (set index value to 3): Write
the value of the parameter as follows.
Fig. 21: Setting the parameters for display and measured value refresh time
2018/01 23
Configuring and commissioning
Software used
NOTE
As an alternative to the BL67-GW-EN gateway with a BL67-4IOL IO-Link master module
the TBEN-S2-4IOL and TBEN-L…-8IOL IO-Link block modules can be used.
77.5
145
13
M12 x 1 ø 15 ø 15 M12 x 1
11.5 18.2
42 49.5
L
Fig. 22: Hardware components in the application example (programmable gateway, IO-Link
master module, temperature sensor, sensor cable)
24 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Setup
PC BL67/IOL-Master
BL67 D BL67 D
Ethernet- or 0
0 Sensor cable
1
BL67-B-4M12-P
6
2018/01 25
Configuring and commissioning
➤➤Launch PACTware™.
➤➤Add IODD in PACTware™ (View Device Catalog Refresh Device Catalog).
➤➤Add Ethernet interface (right-click Host PC Add device).
26 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Add BL67-GW-EN via the bus address management of the Ethernet interface (right-click the
Ethernet interface, here TCP:192.168.1.50 Other functions Bus address management).
2018/01 27
Configuring and commissioning
➤➤Confirm the “Add DTMs for all connected devices” with “OK”.
NOTE
The particular firmware version of the gateway and the IO-Link master can be queried
via the Info icon ( ).
28 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Start the topology scan in order to find devices connected to the IO-Link master.
2018/01 29
Configuring and commissioning
➤➤If a DTM is found during a topology scan instead of an IODD, load the IODD manually.
30 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Select the IODD for the TS-400-2UPN8X-H1141 temperature sensor and confirm with OK.
2018/01 31
Configuring and commissioning
➤➤In the tree structure double-click the IO-Link device in order to display the parameters.
32 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Set the Measured value display parameter to “50 ms refresh time, 180° rotated”.
2018/01 33
Configuring and commissioning
Software used
PC BL67/IOL-Master
BL67 D BL67 D
Ethernet- or 0
0 Sensor cable
1
5
BL67-B-4M12-P
34 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Example: Generic device configuration
NOTE
The BLxx-4IOL IO-Link master can only be configured generically. The connected de-
vices must be configured separately.
2018/01 35
Configuring and commissioning
➥➥In online mode, the process data can be read if an IO-Link device is connected.
36 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
6.2.2 Commissioning with BLxx and TX500 in CODESYS 3
Software used
TX500 BL67/IOL-Master
BL67 D BL67 D
0 Sensor cable
1
5
BL67-B-4M12-P
2018/01 37
Configuring and commissioning
NOTE
The BLxx-4IOL IO-Link master can only be configured generically. The connected de-
vices must be configured separately.
38 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Double-click IO-Link master.
➤➤Select parameters.
➥➥In online mode, the process data can be read if an IO-Link device is connected.
2018/01 39
Configuring and commissioning
NOTE
As an alternative to the TBEN-S2-4IOL IO-Link block module, the TBEN-L…-8IOL IO-Link
block modules can be used.
40 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Assign slots of IO-Link master: Right-click the slot Select Insert device.
The last three slots are for diagnostics, bytes and module status.
2018/01 41
Configuring and commissioning
42 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Configure port.
2018/01 43
Configuring and commissioning
44 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Example: Specific device configuration
NOTE
The TBEN-S2-4IOL IO-Link master can
be configured specifically. The connected devices can be configured via the configura-
tion program of the PLC.
2018/01 45
Configuring and commissioning
➤➤Assign slots of IO-Link master: Right-click the slot Select Insert device.
The last three slots are for diagnostics, bytes and module status.
46 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Fig. 52: Example: Selecting diagnostics
2018/01 47
Configuring and commissioning
48 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Select IO-Link device.
2018/01 49
Configuring and commissioning
The specific configuration also makes it possible to set the parameters of the IO-Link master as
well as those of the IO-Link device. When the application is started in the PLC, the settings are
transferred to the device via PROFINET.
50 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➥➥Online mode enables the process values to be observed.
2018/01 51
Configuring and commissioning
6.3.1 Commissioning with BLxx and Siemens PLC in Simatic Manager (V5.5)
Software used
PLC
BL67/IOL-Master
BL67 D BL67 D
Ethernet cable 2
4
Temperature sensor
5
0 Sensor cable
1
5
BL67-B-4M12-P
52 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Example: Generic device configuration
NOTE
The BLxx-4IOL IO-Link master can only be configured generically. The connected de-
vices must be configured separately.
2018/01 53
Configuring and commissioning
➥➥In online mode, the process data can be read if an IO-Link device is connected.
54 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
6.3.2 Commissioning with TBEN and Siemens PLC in Simatic Manager (V5.5)
Software used
NOTE
As an alternative to the TBEN-S2-4IOL IO-Link block module, the TBEN-L…-8IOL IO-
Link block modules can be used.
Ethernet cable
2018/01 55
Configuring and commissioning
NOTE
The TBEN-S2-4IOL IO-Link master can be configured specifically or generically. The
connected Turck devices can be configured via the PLC program.
56 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Double-click 2IN.
➤➤Select parameters.
➤➤Double-click DI.
➤➤Select parameters.
2018/01 57
Configuring and commissioning
➥➥In online mode, the process data can be read if an IO-Link device is connected.
The GSDML file for TBEN devices enables the parameters to be set for IO-Link devices.
The specific configuration also makes it possible to set the parameters of the IO-Link master as
well as those of the IO-Link device. When the application is started in the PLC, the settings are
transferred to the device via PROFINET.
58 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➥➥Online mode enables the process data of the connected device to be read.
2018/01 59
Configuring and commissioning
6.3.3 Commissioning with BLxx and Siemens PLC in the TIA Portal V13 SP1
Software used
PLC
BL67/IOL-Master
BL67 D BL67 D
Ethernet cable 2
4
Temperature sensor
5
0 Sensor cable
1
5
BL67-B-4M12-P
60 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Example: Generic device configuration
NOTE
The BLxx-4IOL IO-Link master can only be configured generically. The connected de-
vices must be configured separately.
2018/01 61
Configuring and commissioning
62 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➥➥Online mode enables the process values to be observed if an IO-Link device is connected.
2018/01 63
Configuring and commissioning
6.3.4 Commissioning with TBEN and Siemens PLC in the TIA Portal
Software used
NOTE
As an alternative to the TBEN-S2-4IOL IO-Link block module, the TBEN-L…-8IOL IO-
Link block modules can be used.
Ethernet cable
64 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Example: Specific device configuration
NOTE
The TBEN-S2-4IOL IO-Link master can
be configured specifically. The connected devices can be configured via the PLC
program.
2018/01 65
Configuring and commissioning
NOTE
The I/O addresses are automatically displayed when a specific module is selected.
66 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Select an IO-Link device for the required port.
2018/01 67
Setting
7 Setting
The following examples describe the setting of IO-Link devices during operation. The following
scenarios are possible here:
■■Setting with a programmable gateway from VN03-00 and CODESYS 3
■■Setting with a programmable gateway and CODESYS 2
■■Setting with a Siemens PLC in Simatic Manager
■■Setting with a Siemens PLC in the TIA Portal
7.1 Setting devices via the PLC program with a function block
IO-Link devices can be set and configured via the higher-level PLC. This requires the use of an
IO-Link function block. The function block is provided by the PLC manufacturer.
The IO-Link function block IOL_CALL is defined in the IO-Link specification “IO-Link Integration
Part 1 – Technical Specification for PROFIBUS and PROFINET”.
IOL_CALL
BOOL REQ DONE_VALID BOOL
BUSY BOOL
DWORD ID
INT INDEX_CAP
BOOL RD_WR ERROR BOOL
INT ENTITY_PORT STATUS DWORD
INT FI_INDEX IOL_STATUS BOOL
INT IOL_INDEX
INT IOL_SUBINDEX
LEN DWORD
INT LEN
ANY RECORD_IOL_DATA
NOTE
The function blocks can differ from the specification in representation and in the
utilization of the variables used, depending on the controller manufacturer (example:
Siemens IO_Link_Device function block for TIA Portal). Further information is provided
in the manual of the relevant controller manufacturer.
IO_Link_Device
BOOL REQ DONE_VALID BOOL
BUSY BOOL
DWORD ID
INT CAP
BOOL RD_WR ERROR BOOL
INT PORT STATUS DWORD
IOL_STATUS BOOL
INT IOL_INDEX
INT IOL_SUBINDEX
RD_LEN DWORD
INT LEN
ANY RECORD_IOL_DATA
68 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
IO_Link_Device
BOOL REQ DONE_VALID BOOL
BUSY BOOL
DWORD ITFMODULE
INT CAP
BOOL RD_WR ERROR BOOL
INT PORT STATUS DWORD
IOL_STATUS BOOL
INT IOL_INDEX
INT IOL_SUBINDEX
RD_LEN DWORD
INT LEN
ANY RECORD_IOL_DATA
The following description of the input variables has been taken from the IO-Link specification.
2018/01 69
Setting
The following description of the output variables has been taken from the IO-Link specification.
70 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
7.1.1 Setting with a programmable gateway and CODESYS 3
IO-Link devices can be set with a programmable gateway from VN03-00 and CODESYS. This
requires the use of the IO-Link function block IOL_CALL. The function block is contained in the
BLxx_PG_PB.lib library for programmable gateways. The library is part of the target support
package for BLxx-PG-EN and is available free of charge from www.turck.com.
Information for the configuration of the IO-Link master with CODESYS is provided in the operat-
ing instructions of the particular device.
Software used
PC BL67/IOL-Master
BL67 D BL67 D
Ethernet- or 0
0 Sensor cable
1
5
BL67-B-4M12-P
2018/01 71
Setting
The required parameter values for configuring the IO-Link device are provided in the IO-Link
parameter manual of the particular device.
Fig. 81: Extract from the parameter manual for the TS-400-2UPN8X-H1141 temperature sensor (example: reading
product name)
72 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Reading values (example: reading product names of the temperature sensor): Control vari-
ables as follows:
Variable Value Meaning
RD_WR 0 Read access
SLOT 1 Position of the IO-Link master module in the BL67 station
INDEX_CAP 251 Function block instance
ENTITY_PORT 1 The IO-Link device is connected to port 1.
IOL_INDEX 0x12 Index for display parameter
LEN 0x20 32 bytes are read
2018/01 73
Setting
74 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➥➥The product name is displayed in the “READ” data array in hexadecimal code.
2018/01 75
Setting
The required parameter values of the IO-Link device are provided in the parameter manual of
the particular IO-Link device.
Fig. 85: Extract from the parameter manual for the TS-400-2UPN8X-H1141 sensor (example: setting the display)
76 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Writingvalues (example: Rotate display of the TS-400-2UPN8X-H1141 temperature sensor by
180° and set measured value refresh time to 200 ms): Control variables as follows:
Variable Value Meaning
RD_WR 1 Write access
SLOT 1 Position of the IO-Link master module in the BL67 station
INDEX_CAP 251 Function block instance
ENTITY_PORT 1 The IO-Link device is connected to port 1.
IOL_INDEX 0x55 Index for display parameter
LEN 1 1 byte is written
2018/01 77
Setting
➤➤Enter value 5 to be written in array WRITE in order to rotate the display by 180° and set the
measured value refresh time to 200 ms.
➤➤Activate write access with a rising edge at REQ.
78 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
7.1.2 Setting with a programmable gateway and CODESYS 2
IO-Link devices can be set with a programmable gateway up to version 2 and CODESYS. This
requires the use of the IO-Link function block IOL_CALL. The function block is contained in the
BLxx_PG_PB.lib library for programmable gateways. The library is part of the target support
package for BLxx-PG-EN and is available free of charge from www.turck.com.
Information for the configuration of the IO-Link master with CODESYS is provided in the operat-
ing instructions of the particular device.
Software used
50.6
M12 x 1
27,4 25,2
16
C1 C3 C5 C7
44,7 32,2 54
ø 4,3 C2 C4 C6 C8
73
107
150
Fig. 88: Hardware components in the application example (programmable gateway, IO-Link
master module, temperature sensor, IO-Link I/O hub)
Commissioning with IO-Link
2018/01 79
Setting
Setup
BL20-E-GW-EN
PC BL20/IOL-Master
Temperature sensor
Ethernet- or
service cable Sensor cable
I/O-Hub
80 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Example: Reading out product names
The required parameter values for configuring the IO-Link device are provided in the IO-Link
parameter manual of the particular device.
Fig. 90: Extract from the parameter manual for the TBIL-M1-16DIP IO-Link I/O hub (example: reading product name)
2018/01 81
Setting
➤➤Reading values (example: Read product name of the IO-Link I/O hub): Control variables as
follows:
Variable Value Meaning
RD_WR 0 Read access
SLOT 1 Position of the IO-Link master module in the BL67 station
INDEX_CAP 251 Function block instance
ENTITY_PORT 4 The IO-Link device is connected to port 4.
IOL_INDEX 0x12 Index for display parameter
LEN 0x20 32 bytes are read
82 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Activate read access with a rising edge at REQ.
2018/01 83
Setting
➥➥The product name is displayed in the “READ” data array in hexadecimal code.
84 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Example: Writing values
The required parameter values of the IO-Link device are provided in the parameter manual of
the particular IO-Link device.
Fig. 94: Extract from the parameter manual for the TS-400-2UPN8X-H1141 sensor (example: setting the display)
2018/01 85
Setting
86 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Enter value 5 to be written in array WRITE in order to rotate the display by 180° and set the
measured value refresh time to 200 ms.
➤➤Activate write access with a rising edge at REQ.
2018/01 87
Setting
IO-Link devices can be set and configured via a Turck-IO-Link master on a Siemens S7-
1200/1500 PLC and STEP7 V12/13 TIA Portal. This requires the use of the IO-Link function block
IOL_DEVICE and the GSDML file of the IO-Link master. The function block is provided in the li-
brary IO_Link_Library_v13_SP1. The library is available on the website of the PLC manufacturer.
The GSDML file is available for download from www.turck.com.
Information for the configuration of the IO-Link master with STEP7 V13 TIA Portal is provided in
the operating instructions of the particular device.
Software used
NOTE
As an alternative to the TBEN-S2-4IOL IO-Link block module, the TBEN-L…-8IOL IO-
Link block modules can be used.
Ethernet cable
88 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Example: Device configuration
The required parameter values of the IO-Link device are provided in the parameter manual of
the particular IO-Link device.
Fig. 98: Extract from the parameter manual for the TS-400-2UPN8X-H1141 sensor (example: setting the display)
2018/01 89
Setting
The processes are visualized in the example program in the “IOL1P1” visualization table.
➤➤Reading values (example: reading product names of the temperature sensor): Control vari-
ables as follows:
Variable Value Meaning
RD_WR 0 Read access
CAP 251 Function block instance
PORT 1 The temperature sensor is connected to port 1.
IOL_INDEX 18 Index for display parameter
LEN 32 32 bytes are read
90 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➥➥The read data is displayed in the “visualization values” table.
2018/01 91
Setting
92 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
7.1.4 Setting with an S7-300/400 Siemens PLC and STEP7 V5.5
IO-Link devices can be set and configured via a Turck-IO-Link master on a Siemens S7-300/400
PLC and STEP7 V5.5. This requires the use of the IO-Link function block IOL_CALL and the GS-
DML file of the IO-Link master. The function block is available from the PLC manufacturer. The
GSDML file is available for download from www.turck.com.
Information for the configuration of the IO-Link master with STEP7 V5.5 is provided in the oper-
ating instructions of the particular device.
Software used
The required parameter values of the IO-Link device are provided in the parameter manual of
the particular IO-Link device.
Fig. 102: Extract from the parameter manual for the TS-400-2UPN8X-H1141 sensor (example: setting the display) Commissioning with IO-Link
2018/01 93
Setting
Fig. 103: Extract from the parameter manual for the TBIL-M1-16DIP IO-Link I/O hub (example: setting the display)
94 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
The processes are visualized in the example program in the “HMI” variable table. The process
data is shown in the “Sensor1” and “Sensor2” variable table.
➤➤Reading values (example: Read product name of the IO-Link I/O hub): Control variables as
follows:
Variable Value Meaning
RD_WR 0 Read access
ID 30 Start address of the output data of the module as per hardware
configuration
INDEX_CAP 251 Function block instance
ENTITY_PORT 4 The IO-Link hub is connected to port 4.
IOL_INDEX 0x12 Index for display parameter
LEN 32 32 bytes are read
2018/01 95
Setting
96 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➥➥The read data is displayed in the “Sensor1” process data table.
2018/01 97
Setting
98 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Enter value 5 to be written in the variable table under “Control value” in order to rotate the
display by 180° and set the measured value refresh time to 200 ms.
2018/01 99
Setting
100 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
8 Operation
The communication system operates with a 24 V signal. If a transmission is not successful, the
telegram is automatically repeated twice. If the second repeat attempt is not successful, the IO-
Link master detects a communication abort. The error is automatically reported to the higher-
level controller.
IO-Link devices can be set for the specific application or operated without any special settings.
If no settings are required in the IO-Link device, the signals are forwarded directly to the higher
control level.
PROFINET EtherNet/IP™
Modbus TCP
Parameterizing tool
Direct signal GSDML or
transmission for IO-Link IO-Link function block
Further information on operating the IO-Link masters and the IO-Link devices is provided in the
operating instructions of the particular device.
2018/01 101
Operation
102 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
2018/01
103
Commissioning with IO-Link
28 subsidiaries and over
60 representations worldwide!
D900634 | 2018/01
*D900634* www.turck.com