![background image](http://html1.mh-extra.com/html/omron/cj2h-cpu64/cj2h-cpu64_connection-manual_742078059.webp)
9
.
Program
56
9.3. Error Detection Processing
In this program, the error detection processing performs with regard to the following areas (1)
to (3). For error codes, refer to
9.8. Error Processing
.
(1)Errors when executing the PMCR instruction (PMCR instruction error)
An incorrect communications sequence number and an incorrect memory address, which
prevent the execution of the PMCR instruction, are detected as PMCR instruction errors. An
error can be detected with error codes (1519.00 to 03) of the port operating status in the
CIO area allocated to the SCU.
(2)Errors when communicating with Destination Device (Communications error)
Errors that occur in communications with Destination Device such as character corruption
and transmission errors caused by unmatched baud rate setting are detected as
communications errors. An error can be detected with error code (1519.10) of the sequence
abort completion in the CIO area allocated to the SCU.
(3)Errors in Destination Device (Destination Device errors)
Destination Device errors include a command error, a parameter error, a data error, and an
execution failure in Destination Device. An error is detected with the response data which is
returned from Destination Device. In this program, an error is detected by comparing
difference in formats between a receive message in normal operation (hereinafter referred
to as "normal message") and a receive message in error (hereinafter referred to as "error
message"). (For details, refer to
9.6.6. Receive Message Settings
.)
Normal
message
“ZW-7000
␣
…
␣
”
“
␣
”
“Ver.x.xxx xx/xx/xx”
#0D
Model
Space
Command
End code [CR]
Error message
“ER”
#0D
Error
End code [CR]
Additional Information
For information on the CIO area allocated to SCU, refer to
9.4.2 Lists of Allocations
.
Serial cable
CJ2M-CPU12
CJ1W-SCU42
Destination Device
(1)
(2)
(3)
Содержание CJ2H-CPU64 -
Страница 81: ...78...
Страница 82: ...2016 0616 P652 E1 01...