9
.
Program
76
9.8. Error processing
The following gives the details of errors that may occur during the program execution.
9.8.1. Protocol Macro Error Code
The SCU detects an error by monitoring the macro operation.
The error codes include (1) PMCR instruction error or (2) Communications error
(transmission error, etc.) and are stored in H400
Output_PMCR_ErrorCode
.
[Error code list]
Error code
Name
Classification
Description
#0002
Sequence No.
error
(1)PMCR
instruction error
The sequence number specified by
the PMCR instruction does not exist
in Unit.
#0003
Data
Read/Write
Area Exceeded
Error
(1)PMCR
instruction error
When data is written or read to CPU
Unit, the specified area range is
exceeded.
#0004
Protocol Data
Syntax Error
(1)PMCR
instruction error
A code that cannot be executed
occurs while the protocol macro is
being executed. (Example: A header
occurs after a terminator.)
#000F
Transmission
error
(2)Communications
error
Communications cannot perform due
to an error in the transmission path,
etc.
Additional Information
For details and troubleshooting on the protocol macro errors, refer to
12-3 Troubleshooting
of
the
CJ Series Serial Communications Units OPERATION MANUAL
(Cat. No. W336).
9.8.2. Destination Device Error Code
The Destination Device detects an error when executing the command on Destination Device.
The error code is stored in H402
Output_DestinationDeviceErrorCode
.
[Error code list]
Error code
Description
“ER” (#4552)
An error is detected on Destination Device.
Additional Information
For details and troubleshooting on the Destination Device error, refer to
6. Troubleshooting
of
the
Displacement Sensor ZW-7000 series Confocal Fiber Type Displacement Sensor User’s
Manual for Communications Settings
(Cat. No. Z363).
Summary of Contents for CJ2H-CPU64 -
Page 81: ...78...
Page 82: ...2016 0616 P652 E1 01...