APPENDIX C: MODBUS PROTOCOL SERIAL COMMANDS
MODBUS EXCEPTION RESPONSES
When a request is sent, a normal response is expected. One of four possible events can occur:
•
If the device receives the request without a communication error, and can handle the query
normally, it returns a normal response.
•
If the device does not receive the request due to a communication error, no response is
returned. A timeout condition will occur for the request.
•
If the device receives the request, but detects a communication error (parity, CRC, ...), no
response is returned. A timeout condition will occur for the request.
•
If the device receives the request without a communication error, but cannot handle it, the
device will return an exception response informing the client of the nature of the error.
The exception response message has two fields that differentiate it from a normal response:
Function Code Field:
In a normal response, the device echoes the function code of the original
request in the function code field of the response. All function codes have a most–significant bit
(MSB) of 0 (their values are all below 80 hexadecimal). In an exception response, the device sets
the MSB of the function code to 1. This makes the function code value in an exception response
exactly 80 hexadecimal higher than the value would be for a normal response. With the function
code’s MSB set, the exception response can be recognized and the data field can be examined
for the exception code.
Data Field:
In a normal response, the device may return data or statistics in the data field (any
information that was requested in the request). In an exception response, the device returns an
exception code in the data field. This defines the device condition that caused the exception.
C-5
Содержание STXplus
Страница 18: ...CHAPTER 3 STAND ALONE ANALOG CALIBRATION AND SET UP Table 3 2 3 9...
Страница 21: ...APPENDIX B KISTLER MORSE PROTOCOL SERIAL COMMANDS B 2...
Страница 22: ...APPENDIX B KISTLER MORSE PROTOCOL SERIAL COMMANDS B 3...
Страница 61: ...APPENDIX C MODBUS PROTOCOL SERIAL COMMANDS Table C 1 Modbus Address Map C 8...
Страница 62: ...APPENDIX C MODBUS PROTOCOL SERIAL COMMANDS C 9 Table C 1 Modbus Address Map continued...
Страница 63: ...APPENDIX C MODBUS PROTOCOL SERIAL COMMANDS Table C 1 Modbus Address Map continued C 10...
Страница 64: ...APPENDIX C MODBUS PROTOCOL SERIAL COMMANDS C 11 Table C 1 Modbus Address Map continued...
Страница 65: ...APPENDIX C MODBUS PROTOCOL SERIAL COMMANDS Table C 1 Modbus Address Map continued C 12...
Страница 67: ...APPENDIX D TECHNICAL DRAWINGS D 2...
Страница 68: ...APPENDIX D TECHNICAL DRAWINGS D 3...
Страница 69: ...APPENDIX D TECHNICAL DRAWINGS D 4...
Страница 70: ...APPENDIX D TECHNICAL DRAWINGS D 5...
Страница 71: ...APPENDIX D TECHNICAL DRAWINGS D 6...
Страница 72: ...APPENDIX D TECHNICAL DRAWINGS D 7...
Страница 74: ...NOTES...
Страница 75: ...NOTES...