Hey there!
I am currently doing a little automation project for uni. I am trying to integrate a control-valve-system (Buerkert AirLINE Field) in my IO-Link environment.
With IFM sensors, I used their pre-built function blocks, but with this third-party device, i need to write my own function block. Thankfully, IFM provides a generic sensor-fb so I can write my own FB with "extends" and "super". So far, so good. I found the IODD and some other documentation and I thought I get how it works, but somehow can't really get it to work at all.
From my understanding, i need to write data into the PDO-Array. But i get confused with the indices and subindices of IO-Link. I'll append the IODD and some screenshots of my project. There is an AOI for LogicXDesigner, but I can't use that in Codesys.
I hope someone has integrated a IOL-device in Codesys before and can help me with this.
Cheers
leafy
The generic sensor FB is for controlling the sensor via its cyclic input (PDI) and output (PDO).
In this case, ifm raw cyclic input and output data are WORDs (16 bits total)
The PDO data from the Buerkert unit are SINT (8 bits)
In this case, I would use the unpackword fb from the CAA memory library to unpack the valve feed back value into the appropriate location.
Hey there!
I am currently doing a little automation project for uni. I am trying to integrate a control-valve-system (Buerkert AirLINE Field) in my IO-Link environment.
With IFM sensors, I used their pre-built function blocks, but with this third-party device, i need to write my own function block. Thankfully, IFM provides a generic sensor-fb so I can write my own FB with "extends" and "super". So far, so good. I found the IODD and some other documentation and I thought I get how it works, but somehow can't really get it to work at all.
From my understanding, i need to write data into the PDO-Array. But i get confused with the indices and subindices of IO-Link. I'll append the IODD and some screenshots of my project. There is an AOI for LogicXDesigner, but I can't use that in Codesys.
I hope someone has integrated a IOL-device in Codesys before and can help me with this.
Cheers
leafy
The generic sensor FB is for controlling the sensor via its cyclic input (PDI) and output (PDO).
In this case, ifm raw cyclic input and output data are WORDs (16 bits total)
The PDO data from the Buerkert unit are SINT (8 bits)
In this case, I would use the unpackword fb from the CAA memory library to unpack the valve feed back value into the appropriate location.
Try calling IFM customer support, they have been really helpful for me in the past.