Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 90529409, Entry date: 10/27/2015

Application of the "Siemens IO-Link Devices" block library

  • Entry
  • Associated product(s)
This application uses a concrete example to illustrate the simple connection of Siemens IO-Link devices to a SIMATIC S7-CPU using block library "Siemens IO-Link Devices".

Systematic diagnostic concepts and efficient handling of parameter data are demanded in automation technology on all levels. It is imperative here that sensors and switching devices are integrated into the automation compound.
Communication IO-Link offers new possibilities through intelligent connection of sensors and switching devices to the control level. Main topics are switching, protecting and monitoring on field level.
The IO-Link system consists of an IO-Link master and one or several IO-Link devices (sensors or actuators). The IO-Link master works as interface for superimposed control and controls the communication with the connected IO-Link devices.

The solution consists of two parts:

  • the Siemens IO-Link Devices library for STEP 7 V5.5 SP3 and STEP 7 V13 SP1, incl. Documentation
  • one application example for STEP 7 V13, incl. Documentation

The library provides function blocks and UDTs for all IO-Link devices from the Siemens portfolio which standardizes and facilitates the communication with the IO-Link devices. The function blocks have a uniform interface for the individual devices. Per read/write job, only the data record specified at the input is read/written.

Die application illustrates the usage of the SIEMENS IO-Link Devices library using three scenarios with SIRIUS IO-Link components. The following scenarios are realized for various IO-Link master and PNIO controllers:

  1. Simple reading and writing of data records.
  2. Generating a program alarm using a diagnostic data record.
  3. Save and restore the configuration parameters.

The operation is handled via a WinCC user interface.

Hardware setup
The following scheme shows the hardware setup of the application: 

Hardware setup
The block library offers you the following advantages with the help of the application:
  • Fast and easy commissioning of the IO-Link devices
  • Uniform interfaces for the communication with all Siemens IO-Link devices
  • "Copy and modify" program examples

Siemens IO-Link Devices Library
  Documentation (1,2 MB)
 Registrierung notwendig  Library for STEP 7 V13 SP1 (V2.1) (5,2 MB)
 Registrierung notwendig  Library for STEP 7 V5.5 (V2.1) (1,2 MB)

Application Example
  Documentation (2,1 MB)
 Registrierung notwendig  Example project for STEP 7 V13 SP1 (12,3 MB)

Further information
Acyclic Read and Write with the IO-Link Library
S7-PCT for IO-Link Master

Last Changes
Integration of the new IO-Link library V2.1 (SIRIUS ACT 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
Support to the statistics
With this function the IDs found are listed according to number (format .txt).

Generate list
Copy URL
Display page in new design
mySupport Cockpit