Cookies are important for this site to function properly, to guarantee your safety, and to provide you with the best experience. By clicking OK, you accept all cookies. For more information, please access our Privacy Policy.
Table of Contents
Tutorials / 
IO-Link Configuration in Siemens TIA Portal | SolisPLC
Advanced

IO-Link Configuration in Siemens TIA Portal | SolisPLC

Siemens
TIA Portal
Hardware
IO Link

Introduction

Overheating in control cabinets can quietly damage equipment and cause costly downtime. This tutorial shows you how to prevent that by configuring an Air Blower control unit over IO-Link in Siemens TIA Portal. You'll connect Pt100 temperature sensors and a fan bench through the IO-Link communication module on a SIMATIC ET 200SP, then configure process data and parameters using the S7-PCT tool. You will also understand how to adjust switching thresholds at runtime via a particular function block. By the end, you'll have a working, self-monitoring cooling system and the skills to adapt it to your projects.

Application Example Overview

The following application example demonstrates how to plan and configure a project for a Luetze Air Blower control unit connected through IO-Link. A fan bench, Pt100 temperature sensors, and a control unit that talks to the master over IO-Link make up this system. To make this connection work, the CM 4x IO-Link communication module is wired to a SIMATIC ET 200SP. By monitoring multiple specific zones inside the control cabinet, the Luetze Air Blower setup accurately tracks temperature changes and, as a result, triggers the fan bench into action the moment it passes a pre-set limit. You can easily set up and adjust all these specific operational variables by using the S7-PCT (Port Configuration Tool) software application.

Figure 1.1: Configuring IO-Link Air Blower in Siemens TIA Portal - Application overview
Figure 1.1: Configuring IO-Link Air Blower in Siemens TIA Portal - Application overview

Hardware Wiring

Power for the Air Blower control unit comes from a separate source; IO-Link's job here is to transfer configuration details and operational process data. Shown below is the wiring diagram between the Air Blower control unit, Pt100 elements, the fan bench, and the CM 4x IO-Link communication module. Since different temperature zones in the control cabinet need monitoring, the three Pt100 sensors are wired on terminal X1, to contacts 7 to 12. The power supply feeding the control unit and fan bench connects at terminal X2, which also offers configurable ERR and A/C contacts.

Figure 2.1: Configuring IO-Link Air Blower in Siemens TIA Portal - Hardware wiring
Figure 2.1: Configuring IO-Link Air Blower in Siemens TIA Portal - Hardware wiring

IO-Link Master Configuration

Launch the TIA Portal software, start a new project, and go with the CPU 1510SP-1 PN with ET 200SP as your chosen controller.

Figure 3.1: Configuring IO-Link Air Blower in Siemens TIA Portal - Project setup & CPU selection
Figure 3.1: Configuring IO-Link Air Blower in Siemens TIA Portal - Project setup & CPU selection

Start by configuring the IO-Link Master in the hardware configuration. It involves dragging the CM 4x IO-Link module from the Catalog and dropping it onto an open slot in Device View.

Figure 3.2: Configuring IO-Link Air Blower in Siemens TIA Portal - Adding CM 4xIO-Link module
Figure 3.2: Configuring IO-Link Air Blower in Siemens TIA Portal - Adding CM 4xIO-Link module

Once that's done, add a Server Module alongside the IO-Link communication module in the next free slot.

Figure 3.3: Configuring IO-Link Air Blower in Siemens TIA Portal - Adding server module
Figure 3.3: Configuring IO-Link Air Blower in Siemens TIA Portal - Adding server module

Head into module properties next, and then configure the required potential group using the settings below.

Figure 3.4: Configuring IO-Link Air Blower in Siemens TIA Portal - Configuring potential group
Figure 3.4: Configuring IO-Link Air Blower in Siemens TIA Portal - Configuring potential group

Left-click the CM 4x IO-Link item. Then, navigate to the Parameters section to set the port diagnostics and process data size, configuring 32 bytes for both the input and output.

Figure 3.5: Configuring IO-Link Air Blower in Siemens TIA Portal - Defining IO data size & diagnostics
Figure 3.5: Configuring IO-Link Air Blower in Siemens TIA Portal - Defining IO data size & diagnostics

In practice, the Air Blower control unit's process data includes both the current measured temperature and the average temperature figure for every temperature sensor. This data is saved as a UDT, short for User-Defined Type, called TypeProcessDataAirBlower within the TIA Portal project.

Figure 3.6: Configuring IO-Link Air Blower in Siemens TIA Portal - Creating process data UDT
Figure 3.6: Configuring IO-Link Air Blower in Siemens TIA Portal - Creating process data UDT

24 bytes, along with an additional 1-bit PQ, are provided by the Luetze Air Blower control unit as process values to the input addresses. Adjusting the start address is possible under the I/O addresses configuration section.

Figure 3.7: Configuring IO-Link Air Blower in Siemens TIA Portal - Setting up the blower input data size
Figure 3.7: Configuring IO-Link Air Blower in Siemens TIA Portal - Setting up the blower input data size

Air Blower Configuration

Configuration of the Luetze device's parameters takes place through the PCT tool. In the Device View, right-click on the IO-Link master and then choose 'Start Device Tool' from the menu.

Figure 4.1: Configuring IO-Link Air Blower in Siemens TIA Portal - Launching the PCT tool
Figure 4.1: Configuring IO-Link Air Blower in Siemens TIA Portal - Launching the PCT tool

Once the 'Start Device Tool' window appears, you must click the Start button again to proceed. There's also the option to configure a PC interface beforehand, which serves as the path for loading configuration onto the IO-Link device.

Figure 4.2: Configuring IO-Link Air Blower in Siemens TIA Portal - Initializing the device tool connection
Figure 4.2: Configuring IO-Link Air Blower in Siemens TIA Portal - Initializing the device tool connection

As it happens, the PCT includes an Autosense feature that automatically detects any connected IO-Link device and then downloads the corresponding IODD (IO Device Description) file. Within the project navigation pane, choose the IO-Link Master [Slot 2] CM 4x IO-Link_1, then check the Autosense box for port 1 found under the Port Information section.

Figure 4.3: Configuring IO-Link Air Blower in Siemens TIA Portal - Enabling Autosense on port 1
Figure 4.3: Configuring IO-Link Air Blower in Siemens TIA Portal - Enabling Autosense on port 1

Then head to the Device menu and select the Autosense option. The 'Automatic IODD Download' window pops up at this point and requires your confirmation to proceed. The 'Import IODD Files' window then pops up, listing the IODD that has been discovered. Proceed to import the file and be sure to close the window afterward. An internet connection is required if you desire the IODD to download automatically.

Figure 4.4: Configuring IO-Link Air Blower in Siemens TIA Portal - Running Autosense
Figure 4.4: Configuring IO-Link Air Blower in Siemens TIA Portal - Running Autosense

There's also the alternative of manually importing the IODD directly into the PCT. For this step, click Options first, and then left-click on the Import IODD item.

Figure 4.5: Configuring IO-Link Air Blower in Siemens TIA Portal - Manually importing the IODD file
Figure 4.5: Configuring IO-Link Air Blower in Siemens TIA Portal - Manually importing the IODD file

The 'Import IODD Files' dialog box then appears, allowing you to import the IODD from there. You can locate the IODD for the Luetze Air Blower by clicking this link. Then, select Import to continue.

Figure 4.6: Configuring IO-Link Air Blower in Siemens TIA Portal - Finalizing the manual IODD setup
Figure 4.6: Configuring IO-Link Air Blower in Siemens TIA Portal - Finalizing the manual IODD setup

If you look beneath the IO-Link Master within the project navigation, you'll spot the Port Information section. Using the Catalog, the IODD for the Luetze Air Blower can be dragged onto the appropriate port and dropped there. It's important to ensure the port settings in the S7-PCT correspond precisely to those configured in the TIA Portal.

Figure 4.7: Configuring IO-Link Air Blower in Siemens TIA Portal - Dragging the IIOD onto the Master port
Figure 4.7: Configuring IO-Link Air Blower in Siemens TIA Portal - Dragging the IIOD onto the Master port

At this point, you should be able to see the Air Blower listed under the IO-Link Master in the navigation. The settings for the IO-Link device open once you click on the Air Blower entry. The Monitoring tab lets you check the current process values live, directly online.

Figure 4.8: Configuring IO-Link Air Blower in Siemens TIA Portal - Monitoring process values
Figure 4.8: Configuring IO-Link Air Blower in Siemens TIA Portal - Monitoring process values

Operating limits, switching points, and additional settings can all be configured from the Parameters tab. The General Values section lets you configure the time to determine the average temperature and set a maintenance interval, too.

Figure 4.9: Configuring IO-Link Air Blower in Siemens TIA Portal - Setting up general values
Figure 4.9: Configuring IO-Link Air Blower in Siemens TIA Portal - Setting up general values

The Temperature sensor 1-3 section of the parameter list provides adjustment options for switching threshold temperature that controls the fan, the hysteresis value placed between the two-point control's upper and lower thresholds, and an option to deactivate the desired sensor.

Figure 4.10: Configuring IO-Link Air Blower in Siemens TIA Portal - Temperature sensor settings
Figure 4.10: Configuring IO-Link Air Blower in Siemens TIA Portal - Temperature sensor settings

In these alarm relays and switching behavior of AC sections, adjustments can be made to the fan switching threshold, the hysteresis, and how the system behaves at overtemperature, with a possible two-stage cooling approach where Stage 1 is the fan and Stage 2 is AC cooling.

Figure 4.11: Configuring IO-Link Air Blower in Siemens TIA Portal - Alarm relays & AC switching behavior
Figure 4.11: Configuring IO-Link Air Blower in Siemens TIA Portal - Alarm relays & AC switching behavior

The Error detection section covers adjustable parameters for overtemperature, short circuit, and overload, sensor error, wire break detection, and over- and under-voltage conditions.

Figure 4.12: Configuring IO-Link Air Blower in Siemens TIA Portal - Configuring error detection parameters
Figure 4.12: Configuring IO-Link Air Blower in Siemens TIA Portal - Configuring error detection parameters

Meanwhile, within the Fan Limits section, both the maximum and minimum current values can be configured.

Figure 4.13: Configuring IO-Link Air Blower in Siemens TIA Portal - Managing fan current boundaries
Figure 4.13: Configuring IO-Link Air Blower in Siemens TIA Portal - Managing fan current boundaries

In the TIA Portal, storage of the Luetze Air Blower's parameters happens through the 'typeParametersAirblower' UDT.

Figure 4.14: Configuring IO-Link Air Blower in Siemens TIA Portal - Saving blower parameters to the UDT
Figure 4.14: Configuring IO-Link Air Blower in Siemens TIA Portal - Saving blower parameters to the UDT

Once the Air Blower has been configured, use the 'Load with Devices' button to transfer the configuration into either the IO Link device or the controller.

Figure 4.15: Configuring IO-Link Air Blower in Siemens TIA Portal - Loading settings into the controller and device
Figure 4.15: Configuring IO-Link Air Blower in Siemens TIA Portal - Loading settings into the controller and device

Parameter Adjustment During Operation

Rather than manually configuring parameters such as switching thresholds via the S7-PCT, it's also possible to handle this task at runtime. Within the TIA Portal project, the first Pt100 element's switching threshold is reconfigured as a demonstration, changing from the standard value of 35°C down to 20°C using the function block ChangeThresholdSensor1 [FB1]. The 'LIOLink_Device' FB, taken from the 'LIOLink' library, is called from within this block, and the library itself can be downloaded through this link. Via the Control Data Block [DB1], the inputs belonging to the 'LIOLink_Device' FB are linked.

Figure 5.1: Configuring IO-Link Air Blower in Siemens TIA Portal - Network 3 of the ChangeThresholdSensor1 FB
Figure 5.1: Configuring IO-Link Air Blower in Siemens TIA Portal - Network 3 of the ChangeThresholdSensor1 FB

The InOut Record parameter calls for an array of bytes formatted according to the relevant data type. As a result, you must convert the first sensor's switching threshold value, currently a REAL, into the corresponding data type. First off, the conversion process changes the REAL value into a DWORD (Double Word).

Figure 5.2: Configuring IO-Link Air Blower in Siemens TIA Portal - Network 1 of the ChangeThresholdSensor1 FB
Figure 5.2: Configuring IO-Link Air Blower in Siemens TIA Portal - Network 1 of the ChangeThresholdSensor1 FB

Following this step, the tempSwitchingThresholdDword takes each respective byte and maps it into the array. The first index of the array ends up holding the MSB, or Most Significant Byte, from tempSwitchingThresholdDword.

Figure 5.3: Configuring IO-Link Air Blower in Siemens TIA Portal - Network 2 of the ChangeThresholdSensor1 FB
Figure 5.3: Configuring IO-Link Air Blower in Siemens TIA Portal - Network 2 of the ChangeThresholdSensor1 FB

Conclusion

In conclusion, you have learned how to configure a Luetze Air Blower control unit through IO-Link in TIA Portal. It included wiring Pt100 sensors and the CM 4x module to configure process data with UDTs. You've also used the S7-PCT tool to import IODDs and fine-tune switching thresholds, hysteresis, error-detection settings, and adjust parameters dynamically at runtime via the LIOLink_Device function block. As a next step, apply these techniques to your cabinet layout, testing different thresholds and cooling stages to match your thermal needs. You're now equipped to build reliable, automated IO-Link cooling systems.