Error Detection Processing - Omron CJ Series Connection Manual

General-purpose serial (rs-232c), corporation displacement sensor
Hide thumbs Also See for CJ Series:
Table of Contents

Advertisement

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.)
"ZW-7000␣...␣"
Normal
message
"ER"
Error message
Error
Additional Information
For information on the CIO area allocated to SCU, refer to 9.4.2 Lists of Allocations.
CJ2M-CPU12
CJ1W-SCU42
Serial cable
(2)
(1)
"Ver.x.xxx xx/xx/xx"
"␣"
Model
Space
#0D
End code [CR]
Destination Device
(3)
#0D
Command
End code [CR]
9.Program
56

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents