6-11 controller status read, Controller status read – Omron CQM1H-CLK21 User Manual

Page 243

Advertising
background image

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

01

06

01

06

Mode

Fatal error

data

FAL/

FALS no.

Error

message

Status

Response

code

Command

code

16 bytes

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

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 byte

First byte

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

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 error

1: I/O verification error

1: System error (FAL)

Second byte

First byte

Advertising
This manual is related to the following products: