While reading the value of a slave device, it shows error frequently and i need to restart my PLC for getting the communication back.
In codesys it shows the slave in Red color with error status.
How to solve the above
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
please tell us the exact error message from diagnostic.
U can view it at devicetree in the node-element diagnostic from modbus-configuration.
u also can activate the function auto-reconnect in master and increase a little bit the timeout and the repetition to male thw communication a little bit more robust
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
While reading the value of a slave device, it shows error frequently and i need to restart my PLC for getting the communication back.
In codesys it shows the slave in Red color with error status.
How to solve the above
please tell us the exact error message from diagnostic.
U can view it at devicetree in the node-element diagnostic from modbus-configuration.
u also can activate the function auto-reconnect in master and increase a little bit the timeout and the repetition to male thw communication a little bit more robust