Chapter6 Communication Mode
6 - 27
F
ree
P
ro
to
col
6.2.7
Error detection in free protocol 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 execution result of the TRNS 9 command and the executed command are stored in return code area (s
parameter head word).
s+0
Execution result
Execution command
If the command is executed properly, the result code is H00. The low byte of command in s+7 is stored in the low
byte of return code area.
Error code
The types of errors are divided into four categories.
(1) Hardware errors of EH-SIO
(2) Errors detected by CPU module (mostly errors of s parameter)
(3) Errors detected by EH-SIO (errors of the parameter sent from CPU module, etc.)
(4) Errors of communication data
Description (3) and (4) is shown blow. Refer to section “A.5 TRNS 9 Return code” for a list of error codes.
Table 6.6 Free protocol mode abnormalities detected in EH-SIO
No.
Error
code
Name
Error
level
Details
1
H81
Non-supported
command error
Warning
- Command not supported.
- Initializing duplicates.
2
H82
Initial-setting error
Warning
- Parameter error in initializing
- Initializing incomplete
3
H83
Transmission data error
Warning
Parameter error
4
H84
Receiving buffer full
Warning
The input buffer of EH-SIO is filled with the receiving data which is
not read by CPU.
5
H85
Connection error
Warning
Since DR signal from external device is OFF, data cannot be
transmitted.
« Note »
EH-SIO has two buffers: The one is receiving data buffer and the other is error information buffer. If the
receiving data buffer becomes full and error information buffer is also full, the ER signal is turned off regardless
of automatic / manual setup.
If data exceeding 1,024 bytes is received, the error code is not H84(Receiving buffer full), but H91(“Inaccurate
data content of message”). Please refer to next page about error code H91.
Содержание EH-150 Series
Страница 1: ...HITACHI PROGRAMMABLE CONTROLLER Serial Communication Module EH SIO APPLICATION MANUAL NJI 443F X ...
Страница 2: ......
Страница 10: ...M E M O ...
Страница 30: ...Chapter 4 Installation 4 10 M E M O ...
Страница 156: ...Chapter 7 System setup 7 12 M E M O ...
Страница 164: ...Chapter 8 Daily and Periodic Inspection 8 8 M E M O ...