- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
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.
Introduction
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.
Requirements
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)
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 cloud.sick.com (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.
Press Install on the right-hand side.
Choose the following two libraries in the folder which you have received.
Step 2 - Implement those libraries into your project with the following steps
Double click on Library Manager.
Press Add Library
And choose the two libraries which we have installed beforehand.
Step 3 - Implementation of the library in the code.
Connection between the variable and the Data layer.
In this picture you see the name of the function as well the name of the data structure we will need.
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.
Now we come to one of the last steps, calling the function.
All together it looks like this.
After translation and download you will see the correct parsed data within the data structure.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.