Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 82981502, Entry date: 10/08/2020

Library for IO-Link (LIOLink)

  • Entry
  • Associated product(s)
This library provides blocks and PLC data types to facilitate communication between the SIMATIC controller and the IO-Link master or IO-Link device.

Systematic diagnostics concepts and the efficient handling of parameter data are demanded at all levels of automation engineering. Therefore, it is essential that sensors and switching devices are integrated into the automation network.

The IO-Link communication standard allows for new possibilities thanks to the intelligent linking of sensors and switching devices to the controller level. Core aspects are switching, protection and monitoring on the field level.
The IO-Link system consists of an IO-Link master and one or more IO-Link devices (sensors or actuators). The IO-Link master serves as an interface to the higher-level controller; it controls communication with the connected IO-Link devices.

This library provides blocks and PLC data types to facilitate communication between the SIMATIC controller and the IO-Link master or IO-Link device.

Range of functions
The blocks in this library are subdivided into three groups:

  • General-use base blocks for communicating with the SIMATIC IO-Link master and any IO-Link devices.
  • Device-specific blocks each simplify communication with a specific IO-Link device respectively, thanks to a custom-tailored interface and predefined PLC data types. These blocks are based on the base blocks.
  • Profile blocks simplify communication with a device via a specific IO-Link profile. These blocks are based on the base blocks.

Applies to
This library is available for TIA Portal V16 and higher.
All blocks in the library are available for SIMATIC S7-1200/1500 controllers and, in large part, also for SIMATIC S7-300/400 controllers.

  Documentation (1,2 MB)
 Registrierung notwendig  Library "LIOLink" V6.0 for TIA Portal V16 (2,7 MB) 

 Registrierung notwendig  Library "IO_LINK_Library" V5.2 für STEP 7 V14 SP1 und STEP 7 V5.5 SP4 (835,4 KB) 

Last Changes

  • Completely revised blocks in accordance with programming style guide for S7-1200/1500 and PLCopen
  • Merged FBs for STEP 7 Basic and STEP 7 Professional
  • Merged FBs "IO_LINK_MASTER_4" and "IO_LINK_MASTER_8"
  • Integrated device-specific blocks from article 90529409
  • Integrated profile blocks from article 109766016 
  • Added FB for SIRIUS 3RS2 devices
Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
Rate entry
no rating
Requests and feedback
What do you want to do?
Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.