![Omniflex Maxiflex P3 M1260E Скачать руководство пользователя страница 64](http://html1.mh-extra.com/html/omniflex/maxiflex-p3-m1260e/maxiflex-p3-m1260e_user-manual_739279064.webp)
Maxiflex P3 PAC User Manual
64
-© Omniflex
UMM126XR18.pdf
10.5 Status DIT Registers
Each Modbus query, whether Cyclic or One-shot has a status bit associated with it. This allows the
user to quickly debug any problems with a particular query. These status bits are available in the
DIT table.
There are a number of error responses for queries that allow accurate diagnosis of query
problems. Many of which include the exception responses returned by a Slave device when the
query message is received without communication errors but cannot be handled by the Slave
device for some reason. This will be reflected in the Query Error Diagnostic register for the Last
Failed Query. Refer to the Detailed DIT Layout for the DIT Location of this status register.
The Table below lists the various status codes for any given query.
Status
Description
0
Query Message successful
– no errors
1-8
Modbus exception code as returned by Slave device- summary follows:
1
– Illegal Function Code
2
– Illegal Data Address
3
– Illegal Data Value
4
– Slave Device Failure
5
– Acknowledge
6
– Slave Device Busy
7
– Negative Acknowledge
8
– Memory Parity Error in Slave device
1000
Timed out waiting for response
1001
Node Addre
ss in response doesn’t match Node Address in query
1002
Modbus function in response doesn’t match function in query
1003
Received different number of coils/registers to what expected
1004
Invalid response to write query (functions 5,6,15 and 16)
65535
Invalid Configuration
Table 10.2 Modbus Master Query Error Codes