SICK Banner for HowTo.png

SICK Function Block Factory for Data Parsing


Using the Parser Function the Function Block Factory from SICK for easy data interpretation of IO-Link Sensors with in the PLC App on the ctrlX CORE using Ethercat IO-Link Master SIG350. 


IO Link data could be difficult to parse if you do not have an IODD Interpreter on board. For this case we want to show you a very efficient way to solve this issue.  

This instruction shows how to use the IO-Link Parser from the SICK Function Block Factory within the ctrlX CORE.   


The instruction has been created based on  

  • ctrlX WORKS V1.60 
  • ctrlX CORE EtherCat Master App V1.60 
  • ctrlX PLC Engineering V1.60 

  and exemplarily with following devices from SICK  

  • SICK Sensor Integration Gateway // SIG350-0006AP100 
  • SICK Condition-Monitoring-Sensor Multi Physics Box // MPB10-VS00VSIQ00 

Please follow this Tutorial from WAGO for the integration of the SIG350 into the ctrlX CORE

The following procedure will increase your speed of the workflow because you do not have to parse the data manually. As you can see in the IO-Link Datasheet example below this could be a lot of work to parse all the data (20 bytes)  

IO-Link Datasheet exampleIO-Link Datasheet example

Step-by-Step guide

In this documentation I will show you how to parse the data fast and easy 

Step 1 - Install the library  

After creating the library on (you need to register of course) in the function block factory with the concerning IODD for the device you will receive the file. First install the library. 

Library respositoryLibrary respository

Press Install on the right-hand side.

Install libraryInstall library

Choose the following two libraries in the folder which you have received. 

Library 1Library 1

Library 2Library 2

Step 2 - Implement those libraries into your project with the following steps

Double click on Library Manager.

Library ManagerLibrary Manager

Press Add Library

 Add LibraryAdd Library

And choose the two libraries which we have installed beforehand. 

Library 1 and 2 addedLibrary 1 and 2 added

Step 3 - Implementation of the library in the code.

Library implementationLibrary implementation

Connection between the variable and the Data layer.

Connection between variable and Data layerConnection between variable and Data layer

In this picture you see the name of the function as well the name of the data structure we will need.  

Function and data nameFunction and data name

A function is not needed to be declared, because in the function there will be no data stored over one cycle. The data structure is necessary to be declared.  

It looks like this. 

Declared data structure.png

Now we come to one of the last steps, calling the function.

Calling the functionCalling the function

All together it looks like this.

Final ResultFinal Result

After translation and download you will see the correct parsed data within the data structure.

 Parsed dataParsed data


Related Links 


The Company 

From factory automation to logistics automation and process automation, SICK’s sensor solutions are keeping industry moving. As a technology and market leader, SICK provides sensor intelligence and application solutions that create the perfect basis for controlling processes securely and efficiently, protecting individuals from accidents, and preventing damage to the environment. 

SICK Logo.png


Editorial work by: JulianWorld

Must Read