I need to be able to change (set) the DeviceID of an IO-Link sensor (see DeviceID.png) at runtime.
I tried with both ProfinetCommon.PN_PortConfiguration and ProfinetCommon.IOL_PortConfiguration, but I get an error for both when I try to read the port configuration (see PN_PortConfiguration.png).
Does one of those FBs is the right one for my purpose? Do I possibly make a mistake when assigning the parameter IOLD_ID/IOLM_ID?
Answering to myself: is not possible according to the IFM support, this possibility has not been taken into account, although the interfaces and FBs in Codesys would apparently support it. So I ended up having to deactivate the sensor validation and the backup & restore functionality in the master and implement it in the PLC myself.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to be able to change (set) the DeviceID of an IO-Link sensor (see DeviceID.png) at runtime.
I tried with both ProfinetCommon.PN_PortConfiguration and ProfinetCommon.IOL_PortConfiguration, but I get an error for both when I try to read the port configuration (see PN_PortConfiguration.png).
Does one of those FBs is the right one for my purpose? Do I possibly make a mistake when assigning the parameter IOLD_ID/IOLM_ID?
Answering to myself: is not possible according to the IFM support, this possibility has not been taken into account, although the interfaces and FBs in Codesys would apparently support it. So I ended up having to deactivate the sensor validation and the backup & restore functionality in the master and implement it in the PLC myself.