Hi,
I have 10 modbus slaves in my project.
I don't want communication to be cyclical.
Is it possible to select in the program with which device the controller is to be connected at the moment?
I tried to use the xTrigger bit from the IoDrvModbus.ModbusSlaveComPort structure, but despite the edge being exposed, the communication is cyclical.
Last edit: lukaszsz 2022-06-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did you change already this setting to rising edge or applicaiton? I think with rising edge, you get another BIT in your IO Mapping. With Application you use xTrigger.
Hi,
I have 10 modbus slaves in my project.
I don't want communication to be cyclical.
Is it possible to select in the program with which device the controller is to be connected at the moment?
I tried to use the xTrigger bit from the IoDrvModbus.ModbusSlaveComPort structure, but despite the edge being exposed, the communication is cyclical.
Last edit: lukaszsz 2022-06-21
Did you change already this setting to rising edge or applicaiton? I think with rising edge, you get another BIT in your IO Mapping. With Application you use xTrigger.
My stupid mistake. I am a beginner at codesys. Thanks for your help.