Chapter6 Communication Mode
6 - 27
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).
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
Non-supported
command error
- Command not supported.
- Initializing duplicates.
- Parameter error in initializing
- Initializing incomplete
The input buffer of EH-SIO is filled with the receiving data which is
not read by CPU.
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.