12.07.2015 Views

Modicon Modbus Protocol Reference Guide - The Modbus ...

Modicon Modbus Protocol Reference Guide - The Modbus ...

Modicon Modbus Protocol Reference Guide - The Modbus ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3 Diagnostic Subfunctions . . . . . . . . . . . . . . . . 73Function 08 – Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74Diagnostic Codes Supported by Controllers . . . . . . . . . . . . . . . . . . . . . . . . 76Diagnostic Subfunctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7700 Return Query Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7701 Restart Communications Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7702 Return Diagnostic Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7803 Change ASCII Input Delimiter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8104 Force Listen Only Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8110 (0A Hex) Clear Counters and Diagnostic Register . . . . . . . . . . . . . . . 8111 (0B Hex) Return Bus Message Count . . . . . . . . . . . . . . . . . . . . . . . . . . 8212 (0C Hex) Return Bus Communication Error Count . . . . . . . . . . . . . . . 8213 (0D Hex) Return Bus Exception Error Count . . . . . . . . . . . . . . . . . . . . 8214 (0E Hex) Return Slave Message Count . . . . . . . . . . . . . . . . . . . . . . . . 8315 (0F Hex) Return Slave No Response Count . . . . . . . . . . . . . . . . . . . . 8316 (10 Hex) Return Slave NAK Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8317 (11 Hex) Return Slave Busy Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8418 (12 Hex) Return Bus Character Overrun Count . . . . . . . . . . . . . . . . . 8419 (13 Hex) Return IOP Overrun Count (884) . . . . . . . . . . . . . . . . . . . . . 8420 (14 Hex) Clear Overrun Counter and Flag (884) . . . . . . . . . . . . . . . . . 8521 (15 Hex) Get/Clear <strong>Modbus</strong> Plus Statistics . . . . . . . . . . . . . . . . . . . . . 86<strong>Modbus</strong> Plus Network Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87Appendix A Exception Responses . . . . . . . . . . . . . . . . . 93Exception Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94Exception Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96Appendix B Application Notes . . . . . . . . . . . . . . . . . . . . . 99Maximum Query/Response Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 100Estimating Serial Transaction Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106Notes for the 584 and 984A/B/X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108Appendix C LRC/CRC Generation . . . . . . . . . . . . . . . . . 109LRC Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110CRC Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112PI–MBUS–300 Contents ix

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!