Omron CS1W-CLK21-V1 Network Card User Manual


 
220
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Section 6-6
6-6-11 CONTROLLER STATUS READ
Reads the status of the Controller.
Command Block
Response Block
Parameters Status (response): The operating status of the PLC as follows:
00 (Hex): Stop (program not being executed)
01 (Hex): Run (program being executed)
80 (Hex): CPU Unit on standby
Mode (response): One of the following PLC modes:
00 (Hex): PROGRAM
02 (Hex): MONITOR
04 (Hex): RUN
Fatal error data (response): The contents of fatal error information from the
PLC. (For details refer to the operation manual of the PLC that is being used.)
Non-fatal error data (response): The contents of non-fatal error information
from the PLC. (For details refer to the operation manual of the PLC that is
being used.)
Command
code
0106
0106
Mode
Fatal error
data
FAL/
FALS no.
Error
message
Status
Response
code
Command
code
16 bytes
1514131211109876543210
0 0 0 0 0 0 0 0 0 0
Bit
1: System error (FALS)
1: No END instruction
1: I/O setting error
1: I/O point overflow
1: CPU bus error
1: Memory error
Second byteFirst byte
15 14 13 12 11 10 9 8 76543210
0 0 0 0 0 0 0 0 0
Bit
1: PLC link error
1: Host link error
1: Battery error
1: Remote I/O error
1: Special I/O Unit erro
r
1: I/O verification error
1: S
y
stem error
(
FAL
)
Second byteFirst byte