Hello, I am new to B&R PLCs and Automation Studio. I am trying to modify an existing program. We had an IO-link sensor go obsolete and the replacement has slightly different parameters. Ideally we could read in the device ID and then select the IODD file, but from what I see, that is not possible and we will just have to have a completely new program that is not backwards compatible for the old sensor. I wanted to confirm this though before going down this route. thanks
Tbh I have never tried this on my own but I think it is not possible as the deviceID is checked from the master.
This means simply exchanging the device (physically) will most likely fail
best regards
Oliver
This scenario happened to me as well.
We handled it, by modifying our program and reading the device id from the device to “see” which one was installed, and then modify the data being read, and which register it was being read from.
oh interesting, did you not really use the IODD files, and just did it through code?
ok thanks for the fast response
I used the "io-link minimal device’ iodd file since I was trying to allow for 2 different devices. My program reads the DeviceId from the io-link module, and depending on the value, it parses the data for the output data differently. In our case we had 2 different electron-pneumatic regulators, and depending on which one being used, we had to shift some bits.
Hopefully that makes sense.