Download Directed Electronics MERLIN 2000 Specifications
Transcript
The Modbus Protocol (continued) Guide to Integration Modbus / Jbus Read event counters: function 11 This counter tells the master: b If the slave has correctly interpreted the command (event counter incremented). b If the slave has not interpreted the command (counter not incremented). Each slave has an event counter. The master also has an event counter. This counter is incremented by one for each frame correctly received and interpreted by the slave (except for the specific command for reading this counter, i.e., function 11). The counter is also incremented for a correct broadcast command. If the slave transmits an exception response, however, the counter is not incremented. A diagnostic of exchanges between the master and the slave can be obtained by reading the various counters. If the master’s counter is equal to the slave’s counter, the command sent by the master has indeed been executed. If the master’s counter is equal to the slave’s counter + 1, the command sent by the master has not been executed. E52374 b Query. Slave No. OB CRC 16 LSB* 1 byte MSB* 2 bytes E52375 b Response. Slave No. 1 byte 68 OB 1 byte 00 00 2 bytes Contents of slave’s counter 2 bytes CRC 16 LSB* MSB* 2 bytes Schneider Electric