0% found this document useful (0 votes)
553 views104 pages

IO Link TBEN L5 8IOL

TBEN

Uploaded by

rguzmanabundis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
553 views104 pages

IO Link TBEN L5 8IOL

TBEN

Uploaded by

rguzmanabundis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 104

Your Global Automation Partner

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.

1.1 Target groups


These instructions are written for suitably qualified and trained personnel and must be read
and followed by anyone configuring and commissioning the system.

1.2 Explanation of symbols


The following symbols are used in these instructions:

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.

1.3 Other documents


Besides this document the following material can be found on the Internet at www.turck.com:
■■Product-specific data sheets
■■Product-specific operating instructions
■■TBEN-S2-4IOL user manual (D301369)
■■TBEN-L…-8IOL user manual (D301407)
■■IO-Link master user manual for BLxx (D301339)
■■User manual for TBPN-L1-FDIO1-2IOL hybrid safety I/O module (D301379)
■■IO-Link parameter manuals
■■Safety manuals
■■Device approvals
1.4 Feedback about these instructions
We make every effort to ensure that these instructions are as informative and as clear as pos-
sible. If you have any suggestions for improving the design or if some information is missing in
the document, please send your suggestions to [email protected].
Commissioning with IO-Link

2018/01 5
Notes on the system 

2 Notes on the system


2.1 Device identification
This manual applies to all IO-Link capable Turck devices.

2.2 Manufacturer and service


Turck supports you in your projects – from the initial analysis right through to the commission-
ing of your application. The Turck product database offers you several software tools for pro-
gramming, configuring or commissioning, as well as data sheets and CAD files in many export
formats. You can access the Product Database directly via the following address:
www.turck.de/products
For further inquiries in Germany contact the Sales and Service Team on:
Sales: +49 208 4952-380
Technical: +49 208 4952-390
Internet: www.turck.com/support

For overseas inquiries contact your national Turck representative.

Hans Turck GmbH & Co. KG


Witzlebenstraße 7
45472 Mülheim an der Ruhr
Germany

3 For your safety


The product is designed according to state of the art technology. Residual hazards, however,
still exist. Observe the following warnings and safety regulations in order to prevent danger to
persons and property. Turck accepts no liability for damage caused by failure to observe these
warnings and safety instructions.

3.1 Intended use


IO-Link is a digital point-to-point connection for use in industrial automation applications. The
IO-Link interface enables IO-Link sensors and actuators to be set and operated. Cyclical process
data and acyclical data as well as energy can be transferred between an IO-Link master and an
IO-Link device.

IO-Link enables different devices (e.g. a temperature sensor and a linear position sensor) to be
operated on one input module.

For further information refer to

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.

4.1 System features


■■Point-to-point connection (max. cable length: 20 m)
■■Unshielded 3-wire or 5-wire standard cables
■■Cyclical process data transmission
■■Acyclical data transmission, e.g. device data and events
■■Communication between IO-Link master and IO-Link device possible in 3 baud rates
■■Parallel exchange of device data without influencing the process data
■■Communication via 24 V pulse modulation, standard UART protocol
Commissioning with IO-Link

2018/01 7
System description 

4.2 System design


At least one IO-Link master and one IO-Link device (e.g. sensors or actuators) are required for
IO-Link communication. IO-Link master and IO-Link device are interconnected via an unshield-
ed 3-wire or 5-wire standard cable. The setting can be carried out with a configuration tool or
via the fieldbus level.
The IO-Link master establishes the connection between IO-Link device and the higher-level
control system. An IO-Link master can have several IO-Link ports. Only one IO-Link device can
be connected to each port.
IO-Link hubs also make it possible to integrate devices without an IO-Link output in automation
systems via IO-Link.
Standard tools and functions are provided for the integration, commissioning and configura-
tion of the IO-Link communication.

BL67 D BL67 D BL67 D BL67 D BL67 D BL67 D

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

Fig. 1: IO-Link system overview

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).

IO-Link communication is independent of the fieldbus used.

4.4 Functions and operating modes


The operating mode can be set separately at any port of the IO-Link master.

Two operating modes are available for the IO-Link master


■■IO-Link mode: IO-Link communication possible
■■Standard I/O mode (SIO): digital I/O communication
IO-Link communication is implemented via the switching and communication cable (C/Q).

1 L+
4 C/Q IO-Link
2
SIO
5 3 L–

Fig. 2: IO-Link communication via C/Q

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”.

4.4.1 IO-Link mode

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.

Transmission speed between IO-Link master and IO-Link device

Three transmission rates are defined in the IO-Link specification:


■■4.8 kBaud
■■38.4 kBaud
■■230.4 kBaud
Each device supports only one baud rate, an IO-Link master supports all transmission rates. The
transfer time of the cyclical process data is determined by the telegram length as well as the
delay times in the device and the master. With a transmission rate of 38.4 kBaud and a telegram
Commissioning with IO-Link

length of 2 byte the transmission time is typically 2.3 ms.

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

Cyclical and acyclical communication

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

Combining IO-Link devices with different specifications

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

Fig. 3: Data retention mode (example)

4.4.2 Standard I/O mode (SIO mode)

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.

Commissioning with IO-Link

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.

5.1 Wiring diagrams


5.1.1 IO-Link master
Pin Pin assignment Wiring diagram
Pin 1 V1+
Pin 2 manufacturer specific (e.g. 2
additional digital channel)
1 3
Pin 3 V1-
5 4
Pin 4 C/Q
Pin 5 n. c.

Fig. 4: Wiring diagram of IO-Link master Port class A

Pin Pin assignment Wiring diagram


Pin 1 V1+
Pin 2 V2+ 2

Pin 3 V1- 1 3
Pin 4 C/Q
5 4
Pin 5 V2-

Fig. 5: Wiring diagram of IO-Link master Port class B

5.1.2 IO-Link device


Pin Pin assignment Wiring diagram
Pin 1 V1+
Pin 2 not specified 2

Pin 3 V1- 3 1
Pin 4 C/Q
5 4
Pin 5 n. c.

Fig. 6: Wiring diagram of IO-Link device Port class A

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-

Fig. 7: Wiring diagram of IO-Link device Port class B

6 Configuring and commissioning


➤➤Set the IO-Link master to IO-Link mode (see device operating instructions).

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 

6.1 Setting devices via a PC with a configuration tool


IO-Link devices can be set via a PC with a configuration tool (e.g. PACTware™).

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.

6.1.1 Setting with USB adapter and configuration tool

Software used

This example uses the following software:


■■PACTware™ 4.1 configuration tool
■■IODD Interpreter configuration software
■■DTM for USB-2-IOL-0002 USB-IO-Link adapter
■■IODD for TS-400-2UPN8X-H1141 temperature sensor
Hardware used

■■TS-400-2UPN8X-H1141 temperature sensor


■■RKC4.4T-2-RSC4.4T/TXL sensor cable
■■USB-2-IOL-0002 USB-IO-Link adapter
LED: USB-Mini
CH1 (C/Q) LED: PWR
CH2 (DI/DO) IN-DC
Error
M12 x 1 ø 15 ø 15 M12 x 1
 24




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

IO-Link adapter Temperature sensor


(USB-2-IOL...)
USB Sensor cable

Fig. 9: Application example – setup

Example: Device configuration

➤➤Start the IODD Interpreter.


➤➤Click “Add IODD”.
➤➤Select the IODD for TS400-2UPN8X-H1141 in the following window.
➤➤Click “Open” to add the IODD for temperature sensor TS-400-2UPN8X-H1141.

Commissioning with IO-Link

Fig. 10: Adding IODD for TS400-2UPN8X-H1141 in the IODD Interpreter

2018/01 15
Configuring and commissioning 

➤➤Launch PACTware™.
➤➤Add the USB adapter: Right-click Host PC  Add device.

Fig. 11: Adding a device in PACTware™

➤➤Select IO-Link interface “IO-Link USB Master 2.0”.

Fig. 12: Adding an USB-IO-Link adapter

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.

Fig. 13: Starting the topology scan

Commissioning with IO-Link

2018/01 17
Configuring and commissioning 

➤➤Search for devices via the topology scan: Click the “Search” button.

Fig. 14: Topology scan – Searching for devices

➤➤Selectthe IODD for the connected device if the device is not automatically detected (see red
marking).

Fig. 15: Topology scan – selecting the IODD

➤➤Transfer settings to the configuration: Click Accept  Close topology scan.

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.

Fig. 16: Establishing a connection

Commissioning with IO-Link

2018/01 19
Configuring and commissioning 

➤➤Start Expert mode by right-clicking the adapter.

Fig. 17: Starting Expert mode

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”.

Fig. 18: PACTware™ Expert mode – 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.

Commissioning with IO-Link

Fig. 19: Extract from the parameter manual for the TS-400-2UPN8X-H1141 sensor (example: Set display)

2018/01 21
Configuring and commissioning 

➤➤Setthe number format for the index (here 85).


➤➤Read the value of the “Display of measured value” parameter.
➥➥The display field (highlighted in red) shows the default value 0 (50 ms measured value refresh
time).

Fig. 20: Reading out parameters

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

Commissioning with IO-Link

2018/01 23
Configuring and commissioning 

6.1.2 Setting with IO-Link master and configuration tool

Software used

This example uses the following software:


■■PACTware™ 4.1 configuration tool
■■IODD Interpreter configuration software
■■IODD for TS-400-2UPN8X-H1141 temperature sensor
Hardware 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.

■■BL67-GW-EN multiprotocol gateway (IP address: 192.168.1.254)


■■BL67-4IOL IO-Link master module with BL67-B-4M12 base module
■■TS-400-2UPN8X-H1141 temperature sensor, connected to IO-Link channel 1
■■RKC4.4T-2-RSC4.4T/TXL sensor cable


LED

32


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

service cable Temperature sensor


2

0 Sensor cable
1

BL67-B-4M12-P
6

Fig. 23: Application example – setup

Example: Device configuration

➤➤Start the IODD Interpreter.


➤➤Click “Add IODD”.
➤➤Select the IODD for TS400-2UPN8X-H1141 in the following window.
➤➤Click “Open” to add the IODD for temperature sensor TS-400-2UPN8X-H1141.

Commissioning with IO-Link

Fig. 24: Adding IODD for TS400-2UPN8X-H1141 in the IODD Interpreter

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).

Fig. 25: Adding a device in PACTware™

➤➤Select “BL Service Ethernet” interface.

Fig. 26: Adding BL Service Ethernet

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).

Fig. 27: Starting Bus address management

Commissioning with IO-Link

2018/01 27
Configuring and commissioning 

➤➤Search for BL67 gateway ( ) and add it to the project ( ).

Fig. 28: Adding a gateway to the project

➤➤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.

Fig. 29: Starting the topology scan


Commissioning with IO-Link

2018/01 29
Configuring and commissioning 

➤➤If a DTM is found during a topology scan instead of an IODD, load the IODD manually.

Fig. 30: Replacing DTM with IODD

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.

Fig. 31: Selecting IODD

➤➤Close the topology scan.


➤➤Establish the connection between host PC and IO-Link device by right-clicking IO-Link device.

Commissioning with IO-Link

Fig. 32: Establishing a connection

2018/01 31
Configuring and commissioning 

➤➤In the tree structure double-click the IO-Link device in order to display the parameters.

Fig. 33: IO-Link 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”.

Fig. 34: Setting the measured value display

➤➤Write parameters to the device.

Commissioning with IO-Link

Fig. 35: Writing parameters to the device

2018/01 33
Configuring and commissioning 

6.2 Configuring devices via the PLC program


IO-Link devices can be started up via a Turck IO-Link master on different controllers. In PRO-
FINET the GSDML file of the IO-Link master is required for the configuration with a Siemens
controller in PROFINET. The GSDML file is available for download from www.turck.com.

6.2.1 Commissioning with BLxx and programmable gateway in CODESYS 2

Software used

■■CODESYS 2.3.9.35 with BLxx_PG_PB.lib library


Hardware used

■■BL67-PG-EN programmable gateway


■■BL67-4IOL IO-Link master module with BL67-B-4M12
■■TS-400-2UPN8X-H1141 temperature sensor, connected to IO-Link channel 1
■■RKC4.4T-2-RSC4.4T/TXL sensor cable
Setup

PC BL67/IOL-Master
BL67 D BL67 D

Ethernet- or 0

service cable Temperature sensor


2

0 Sensor cable
1

5
BL67-B-4M12-P

Fig. 36: Application example – setup

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.

➤➤Configure hardware in CODESYS.

Fig. 37: Configuring hardware in CODESYS

Commissioning with IO-Link

2018/01 35
Configuring and commissioning 

➤➤Set the module properties of the BL67-4IOL IO-Link master.

Fig. 38: Setting parameters

➥➥In online mode, the process data can be read if an IO-Link device is connected.

Fig. 39: Reading out process data in online mode

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

■■CODESYS 3.5 SP8 Patch 1


■■GSDML file for BL67-GW-EN
Hardware used

■■BL67-GW-EN multiprotocol gateway


■■BL67-4IOL IO-Link master module with BL67-B-4M12 base module
■■TS-400-2UPN8X-H1141 temperature sensor, connected to IO-Link channel 1
■■RKC4.4T-2-RSC4.4T/TXL sensor cable
■■TX507 visual HMI/PLC device
Setup

TX500 BL67/IOL-Master
BL67 D BL67 D

Ethernet cable Temperature sensor


2

0 Sensor cable
1

5
BL67-B-4M12-P

Fig. 40: Application example – setup

Commissioning with IO-Link

2018/01 37
Configuring and commissioning 

Example: Configuring the device

NOTE
The BLxx-4IOL IO-Link master can only be configured generically. The connected de-
vices must be configured separately.

➤➤Configure hardware in CODESYS.

Fig. 41: Configuring hardware in CODESYS

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.

Fig. 42: Setting parameters

➥➥In online mode, the process data can be read if an IO-Link device is connected.

Commissioning with IO-Link

Fig. 43: Reading out process data in online mode

2018/01 39
Configuring and commissioning 

6.3 Commissioning with TBEN and TX507 in CODESYS 3


Software used

■■CODESYS 3.5 SP8 Patch 1


■■GSDM file for TBEN-S2-4IOL
Hardware 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.

■■TBEN-S2-4IOL IO-Link master


■■TS-400-2UPN8X-H1141 temperature sensor, connected to IO-Link channel 1
■■RKC4.4T-2-RSC4.4T/TXL sensor cable
■■TX507 visual HMI/PLC device
Example: Generic device configuration
➤➤Configure hardware in CODESYS.

Fig. 44: Hardware configuration

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.

Fig. 45: IO-Link master – Assigning slots

Commissioning with IO-Link

Fig. 46: Example: Selecting diagnostics

2018/01 41
Configuring and commissioning 

➤➤Assign IO-Link ports: Right-click the slot 


Insert device.
➤➤Select generic configuration.

Fig. 47: Selecting generic configuration

42 Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
➤➤Configure port.

Fig. 48: Configuring port

Commissioning with IO-Link

2018/01 43
Configuring and commissioning 

➥➥Online mode enables the process values to be observed.

Fig. 49: Online mode – Observing process values

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.

➤➤Configure hardware in CODESYS.

Fig. 50: Hardware configuration

Commissioning with IO-Link

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.

Fig. 51: IO-Link master – Assigning slots

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

Commissioning with IO-Link

2018/01 47
Configuring and commissioning 

➤➤Assign IO-Link ports: Right-click the slot 


Insert device.
➤➤Select specific configuration.

Fig. 53: Selecting a specific configuration

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.

Fig. 54: Selecting the IO-Link device

Commissioning with IO-Link

2018/01 49
Configuring and commissioning 

➤➤Select device parameters.

Fig. 55: Selecting device parameters

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.

Fig. 56: Online mode – Observing process values

Commissioning with IO-Link

2018/01 51
Configuring and commissioning 

6.3.1 Commissioning with BLxx and Siemens PLC in Simatic Manager (V5.5)

Software used

■■Siemens STEP7 V5.5 (Simatic Manager)


■■GSDML file for BL67-GW-EN
Hardware used

■■BL67-GW-EN multiprotocol gateway


■■BL67-4IOL IO-Link master module with BL67-B-4M12 base module
■■TS-400-2UPN8X-H1141 temperature sensor, connected to IO-Link channel 1
■■RKC4.4T-2-RSC4.4T/TXL sensor cable
■■Siemens S7 controller, e.g. CPU 315-2PN/DP
Setup

PLC
BL67/IOL-Master
BL67 D BL67 D

Ethernet cable 2

4
Temperature sensor
5

0 Sensor cable
1

5
BL67-B-4M12-P

Fig. 57: Application example – setup

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.

➤➤Configure the hardware in Simatic Manager.


➤➤Write the I/O addresses.

Fig. 58: Writing the I/O addresses in Simatic Manager

Commissioning with IO-Link

2018/01 53
Configuring and commissioning 

➤➤Double-click IO-Link master.


➤➤Select parameters.

Fig. 59: Setting parameters

➥➥In online mode, the process data can be read if an IO-Link device is connected.

Fig. 60: Reading out process data in online mode

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

■■Siemens STEP7 V5.5 (Simatic Manager)


■■GSDM file for TBEN-S2-4IOL
Hardware 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.

■■TBEN-S2-4IOL IO-Link master


■■TS-400-2UPN8X-H1141 temperature sensor, connected to IO-Link channel 1
■■RKC4.4T-2-RSC4.4T/TXL sensor cable
■■Siemens S7 controller, e.g. CPU 315-2PN/DP
Setup

TBEN-S2-4IOL Temperature sensor

PLC Sensor cable

Ethernet cable

Fig. 61: Application example – setup

Commissioning with IO-Link

2018/01 55
Configuring and commissioning 

Example: Specific device configuration

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.

➤➤Configure the hardware in Simatic Manager.


➤➤Assign the device ports of the TBEN IO-Link master.

Fig. 62: Assigning device ports

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.

Fig. 63: Selecting parameters for 2IN

➤➤Double-click DI.
➤➤Select parameters.

Commissioning with IO-Link

Fig. 64: Selecting parameters for DI

2018/01 57
Configuring and commissioning 

➥➥In online mode, the process data can be read if an IO-Link device is connected.

Fig. 65: Reading out process data

Setting device parameters

The GSDML file for TBEN devices enables the parameters to be set for IO-Link devices.

Fig. 66: Setting device parameters

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.

Fig. 67: Reading out process data

Commissioning with IO-Link

2018/01 59
Configuring and commissioning 

6.3.3 Commissioning with BLxx and Siemens PLC in the TIA Portal V13 SP1

Software used

■■Siemens STEP 7 V13 Professional (TIA Portal) SP1 Update 5


■■GSDML file for BL67-GW-EN
Hardware used

■■BL67-GW-EN multiprotocol gateway


■■BL67-4IOL IO-Link master module with BL67-B-4M12 base module
■■TS-400-2UPN8X-H1141 temperature sensor, connected to IO-Link channel 1
■■RKC4.4T-2-RSC4.4T/TXL sensor cable
■■Siemens S7-300 controller, e.g. CPU 315-2PN/DP
Setup

PLC
BL67/IOL-Master
BL67 D BL67 D

Ethernet cable 2

4
Temperature sensor
5

0 Sensor cable
1

5
BL67-B-4M12-P

Fig. 68: Application example – setup

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.

➤➤Configure the hardware in the TIA Portal.

Fig. 69: Hardware configuration

Commissioning with IO-Link

2018/01 61
Configuring and commissioning 

➤➤Select the operating mode for the IO-Link ports.

Fig. 70: IO-Link ports – Setting the operating mode

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.

Fig. 71: Online mode – Observing process values

Commissioning with IO-Link

2018/01 63
Configuring and commissioning 

6.3.4 Commissioning with TBEN and Siemens PLC in the TIA Portal

Software used

■■Siemens STEP 7 V13 Professional (TIA Portal) SP1 Update 5


■■GSDM file for TBEN-S2-4IOL
Hardware 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.

■■TBEN-S2-4IOL IO-Link master


■■TS-400-2UPN8X-H1141 temperature sensor, connected to IO-Link channel 1
■■RKC4.4T-2-RSC4.4T/TXL sensor cable
■■Siemens S7-300 controller, e.g. CPU 315-2PN/DP
Setup

TBEN-S2-4IOL Temperature sensor

PLC Sensor cable

Ethernet cable

Fig. 72: Application example – setup

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.

➤➤Configure the hardware in the TIA Portal.

Fig. 73: Hardware configuration Commissioning with IO-Link

2018/01 65
Configuring and commissioning 

➤➤Select the operating mode for the IO-Link ports


.

Fig. 74: IO-Link ports – Setting the operating mode

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.

Fig. 75: Selecting the IO-Link device

➥➥Online mode enables the process values to be observed.

Commissioning with IO-Link

Fig. 76: Online mode – Observing process values

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

Fig. 77: IOL_CALL according to IO-Link specification

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

Fig. 78: IO_Link_Device function block for S7-TIA Portal

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

Fig. 79: IO_Link_Device function block for CODESYS3

IOL_CALL function block – input variables

The following description of the input variables has been taken from the IO-Link specification.

Name as per IO-Link Data type Meaning


specification
REQ BOOL 0  1  0: Send command
ID DWORD Address of the IO-Link master
––3 S CODESYS: Slot number of the IO-Link master module
––Siemens CPU 1200er, 1500er (PROFIBUS/PROFINET): Hardware identifier of the IO-
Link master module
––Siemens CPU 300er, 400er (PROFIBUS/PROFINET): Start address of the input data of
the IO-Link master module
ITFMODULE Device Device name of the IO-Link master
name of
the IO-Link
master
INDEX_CAP INT Function block instance: 251…254
RD_WR BOOL 0: Read access
1: Write access
ENTITY_PORT INT Address of the IO-Link port to be accessed.
FI_INDEX INT Fixed value (65098): Defines the access as IO-Link function block IOL_CALL
IOL_INDEX INT Number of the IO-Link index to be read or written.
IOL_SUBINDEX INT Number of the IO-Link subindex to be read or written
LEN INT Length of the data to be read or written
RECORD_IOL_DATA Source or target area of the data to be read or written
Commissioning with IO-Link

2018/01 69
Setting 

IOL_CALL function block – output variables

The following description of the output variables has been taken from the IO-Link specification.

Name as per IO-Link Data type Meaning


specification
DONE_VALID BOOL 0: Command not executed
1: Command executed
BUSY BOOL 0: Command currently not executed
1: Command currently executed
ERROR BOOL 0: No error present
1: Error during read or write access
STATUS DWORD Communication error status: Status of the acyclical communication
IOL_STATUS DWORD IO-Link error message: Error during communication between IO-Link master and IO-
Link device
LEN INT Length of the read data

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

■■CODESYS 3.5 SP8 Patch 1


■■Example program of an application in CODESYS (available from Turck on request)
Hardware used

■■BL67-PG-EN programmable gateway (VN03.00)


■■BL67-4IOL IO-Link master module with BL67-B-4M12 base module
■■TS-400-2UPN8X-H1141 temperature sensor (connected to port 1 of the IO-Link master)
Setup

PC BL67/IOL-Master
BL67 D BL67 D

Ethernet- or 0

service cable Temperature sensor


2

0 Sensor cable
1

5
BL67-B-4M12-P

Fig. 80: Application example – setup


Commissioning with IO-Link

2018/01 71
Setting 

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. 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

Fig. 82: Entering input variables for read access

Commissioning with IO-Link

2018/01 73
Setting 

➤➤Activate read access with a rising edge at IOL_REQ.

Fig. 83: Activating read access

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.

Fig. 84: “READ” process data array

Commissioning with IO-Link

2018/01 75
Setting 

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. 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

Fig. 86: Entering input variables for write access


Commissioning with IO-Link

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.

Fig. 87: Activating write access

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

■■CODESYS 2.3 with BLxx_PG_PB.lib library


■■Example program of an application in CODESYS (available from Turck on request)
Hardware used

■■BL20-PG-EN programmable gateway


■■BL20-E-4IOL IO-Link master module
■■TS-400-2UPN8X-H1141 temperature sensor (connected to port 1 of the IO-Link master)
■■TBIL-M1-16DIP I/O hub (connected to Port 4 of the IO-Link master)
LED


114.8
74.4 

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

Fig. 89: Application example – setup

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)

Commissioning with IO-Link

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

Fig. 91: Entering input variables for read access

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.

Fig. 92: Activating read access

Commissioning with IO-Link

2018/01 83
Setting 

➥➥The product name is displayed in the “READ” data array in hexadecimal code.

Fig. 93: “READ” process data array

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)

Commissioning with IO-Link

2018/01 85
Setting 

➤➤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

Fig. 95: Entering input variables for write access

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.

Fig. 96: Activating write access

Commissioning with IO-Link

2018/01 87
Setting 

7.1.3 Setting with an S7-1200/1500 Siemens PLC and TIA Portal

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

■■Siemens STEP 7 V13 Professional (TIA Portal) SP1 Update 5


■■GSDML file of the IO-Link master
■■Example program (available from Turck on request)
Hardware 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.

■■Siemens S7 controller, e.g. with CPU 1513-1PN


■■TBEN-S2-4IOL IO-Link master
■■TS-400-2UPN8X-H1141 temperature sensor (connected to port 1 of the IO-Link master)
Setup

TBEN-S2-4IOL Temperature sensor

PLC Sensor cable

Ethernet cable

Fig. 97: Application example – setup

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)

Commissioning with IO-Link

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

Fig. 99: Entering input variables for read access

➤➤Activate read access with a rising edge at REQ.

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.

Fig. 100: Read data in the “visualization values” table

Commissioning with IO-Link

2018/01 91
Setting 

➤➤Writingvalues (example: Rotate display of the TS-400-2UPN8X-H1141 temperature sensor by


180° and set the measured value refresh time to 50 ms): Control variables as follows:
Variable Value Meaning
RD_WR 1 Write access
CAP 251 Function block instance
PORT 1 The IO-Link device is connected to port 1.
IOL_INDEX 85 Index for display parameter
LEN 1 1 byte is written

Fig. 101: Entering input variables for write access

➤➤Activate read access with a rising edge at REQ.

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

■■Siemens STEP7 V5.5 (Simatic Manager)


■■GSDML file for BL67-GW-EN
■■Example program (available from Turck on request)
Hardware used

■■BL67-GW-EN multiprotocol gateway (VN03-00)


■■BL67-B-4M12 base module with BL67-4IOL IO-Link master module
■■TS-400-2UPN8X-H1141 temperature sensor
■■Siemens S7 controller, e.g. CPU 315-2PN/DP
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. 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

Fig. 104: Entering input variables for read access


Commissioning with IO-Link

2018/01 95
Setting 

➤➤Activate read access with a rising edge at REQ.

Fig. 105: Activating read access

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.

Fig. 106: Read data in the “Sensor1” variable table

Commissioning with IO-Link

2018/01 97
Setting 

➤➤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
ID 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

Fig. 107: Entering input variables for write access

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.

Fig. 108: Entering a control value for index 85 (0x55)

Commissioning with IO-Link

2018/01 99
Setting 

➤➤Activate write access with a rising edge at REQ.

Fig. 109: Activating write access

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.

Operating the device

Setting not required Setting required

TBEN-IO-Link Master BLxx-IO-Link Master

PROFINET EtherNet/IP™
Modbus TCP

Parameterizing tool
Direct signal GSDML or
transmission for IO-Link IO-Link function block

Fig. 110: Overview – operating IO-Link devices

Further information on operating the IO-Link masters and the IO-Link devices is provided in the
operating instructions of the particular device.

Commissioning with IO-Link

2018/01 101
Operation 

8.1 Combining Turck IO-Link devices


The following Turck devices can be combined together:
Version Master
Device TBEN-L…-8IOL TBEN-S-4IOL TBPN-… BL67-4IOL BL20-E-4IOL
Li…-Q25 1.0 x x x x x
Ri360P 1.0 x x x x x
B2N360-Q42 1.0 x x x x x
PC… 1.0 x x x x x
PS… 1.0 x x x x x
TS… 1.0 x x x x x
EZ-ARRAY 1.0 x x x x x
FM(X)-IM 1.0 x x x x x
RU…U 1.1 x x x x x
DF-G1 1.1 x x x x x
TBIL-M1 1.1 x x x x x
TTM 1.1 x x x x x
Uprox 3 1.1 x x x x x
BCT… 1.1 x x x x x
Q4X 1.1 x x x x x
LE… 1.1 x x x x x
LTF… 1.1 x x x x x
TL50 1.1 x x x x x
NIC… 1.1 x x x x x
IM12-CCM… 1.1 x x x x x

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

You might also like