Chapter 6 Communication Mode
6 - 49
Mod
b
u
s M
a
ster
6.3.5 Error detection in modbus master mode
TRNS 9 command can check the execution results with t-parameter and the details with s parameter. If error flag
(t+2) of t parameter comes ON after TRNS 9 command execution, some type of error has occurred.
Return code area
The TRNS 9 command execution results and the executed command (H80) are stored in return code area (s
parameter head word).
Exception result H00 means operation is completed properly. Other values are error code as below table.
Error code
The types of errors are divided into four categories. (Please refer to section “A.5 TRNS 9 Return code” for details
on EH-SIO hardware errors and error detected by CPU module.)
Table 6.12 Modbus master mode errors detected by EH-SIO
No.
Error
code
Item
Error
level
Details
1
H81
Command not
supported
Warning
Issued command is not supported.
Initializing command is executed more than twice.
2
H82
Initial setting error
Warning
The parameter of initial setting is wrong.
The port has not been initialized yet.
3
H83
Transmission data error
Warning
The parameter value or the number is wrong.
4
H84
Receiving buffer full
Warning
The EH-SIO input buffer is full with receiving data.
Table 6.13 Modbus master mode errors detected in communication
No.
Error
code
Item
Error
level
Details
1
H8A
Parity error
Warning
EH-SIO detected parity error in response.
2
H8B
Framing error
Warning
EH-SIO detected framing error in response.
3
H8C
Overrun error
Warning
EH-SIO detected overrun error in response.
4
H8D
Check code error
Warning
EH-SIO detected abnormalities in validity of the check code of a
response.
5
H8E
Receiving timeout error
Warning
Receiving of a response was not completed within the time
specified by EH-SIO.
6
H8F
Transmitting
timeout
error
Warning
EH-SIO did not complete transmission of query within set time
interval. (Monitoring time is fixed by the system. It cannot be
changed.)
7
H90
Error message
response receiving
Warning
Error message response was received.
(Example: Modbus exception response receiving, etc.)
8
H91
Message incorrect
Warning
Received data format is wrong.
9
H92
Query designation error Warning
Send data (query) format is wrong.
If exception response is received, error code will be H90. In this case, the exception code (refer to P6-38) is stored
in receiving data area.
s+0
Execution result
Execution command (H80)
Summary of Contents for EH-150 Series
Page 2: ......
Page 10: ...M E M O ...
Page 30: ...Chapter 4 Installation 4 10 M E M O ...
Page 156: ...Chapter 7 System setup 7 12 M E M O ...
Page 164: ...Chapter 8 Daily and Periodic Inspection 8 8 M E M O ...