Error Detection Processing - Omron E5*D Series Connection Manual

General-purpose serial. rs-485 compoway/f. machine automation controller,
Hide thumbs Also See for E5*D Series:
Table of Contents

Advertisement

9.3.

Error Detection Processing

With this program, the error detection processing is performed according to the following
descriptions (1) and (2).
For information on error codes, refer to 9.7. Error Processing.
(1)Errors at the execution of the SendCmd instruction (SendCmd instruction errors)
Errors such as a Unit error, a command format error and a parameter error are detected as
SendCmd instruction errors when executing the SendCmd instruction. If an error occurs,
the error code ErrorID or ErrorIDEx of the SendCmd instruction will be generated to identify
the error. If an error in communications with the Destination Device is caused by a
transmission error due to, for example, a character corruption or unmatched baud rate
setting, the transmission error status (J01_P1_TransErrSta) that is the allocated variable
area of the SCU will be stored in the output variable to show the communication error
status.
(2)Errors in the Destination Device (Destination Device errors)
Destination Device errors include a command error, a parameter error and an execution
failure in the Destination Device. An error is identified in the response data (receive data)
that is returned from the Destination Device. If an error occurs in the Destination Device, the
corresponding error code will be stored in the end code or response of the receive data.
Local
[0]
[1]
[2]
[3]
_recv
28
03
aa
bb
data
CompoWay/F
Comm-
command
and
end
code
Controller
Serial cable
(1)
[4]
[5]
[6]
[7]
AA
BB
CC DD
Node
Subad-
End code
No.
dress
Destination Device
(2)
[9] [10] [11] [12] [13] [14] [15] [16] [17] ・
[8]
cc
dd
FF GG
HH
Command
9.Program
II
ee
ff
gg
hh
**
Response
Text
43

Advertisement

Table of Contents
loading

Table of Contents