Is the Controller, Settings, Advanced configuration parameter Timeout (the number of milliseconds between retries when communication fails) applicable only to a Modbus Master?
If answer to above is yes, then, is there a way to specify a Modbus Slave receive timeout so that if the master stops sending requests, the slave will detect it? Will the SystemTagCommunicationErrors tag increment if the Modbus Slave receive timeout expires?
Modbus Slave Receive Timeout
-
- Posts: 137
- Joined: Mon Jun 11, 2012 2:10 pm
Re: Modbus Slave Receive Timeout
What type of Modbus slave are you using RTU or TCP? I have one project with a Modbus TCP slave and I know SystemTagCommunicationErrors incremented and the error message window would appear when no master was connected unless the command line options was set to "XDNCW".
Looking through the controller settings, it seems there is a "set digital signal" option for Modbus TCP slave that would set a Modbus coil in case of settable connection timeout. You could probably use this in conjunction with the system tag if you are using TCP.
Looking through the controller settings, it seems there is a "set digital signal" option for Modbus TCP slave that would set a Modbus coil in case of settable connection timeout. You could probably use this in conjunction with the system tag if you are using TCP.
Adam M.
Controls Engineer
FlexEnergy
Controls Engineer
FlexEnergy
Re: Modbus Slave Receive Timeout
Thanks for the response. But I am using Modbus RTU so looks like will have to implement a heartbeat via a tag.