Modbus Slave Receive Timeout

Discussion of configuring and troubleshooting communication to PLC's or other devices using iX Developer.
Post Reply
kkwon2
Posts: 26
Joined: Thu Dec 13, 2012 2:07 pm

Modbus Slave Receive Timeout

Post by kkwon2 »

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?

AMitchneck
Posts: 137
Joined: Mon Jun 11, 2012 2:10 pm

Re: Modbus Slave Receive Timeout

Post by AMitchneck »

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.
Adam M.
Controls Engineer
FlexEnergy

kkwon2
Posts: 26
Joined: Thu Dec 13, 2012 2:07 pm

Re: Modbus Slave Receive Timeout

Post by kkwon2 »

Thanks for the response. But I am using Modbus RTU so looks like will have to implement a heartbeat via a tag.

Post Reply