2-1 list of plc object services, List of plc object services – Omron SYSMAC CJ1W-EIP21 User Manual

Page 275

Advertising
background image

249

Receiving Explicit Messages

Section 9-2

9-2-1

List of PLC Object Services

PLC Objects provide the following services.

Status Read/Write for CPU Units

Services

Service

code

Class ID

Instance ID

Request

service data

Contents

CPU Unit Informa-
tion Read

0E Hex

C4 Hex
(2F Hex)
(See note.)

00 Hex

Attribute ID =
64 Hex

Reads the operating mode of the
CPU Unit.

Attribute ID =
65 Hex

Reads if there is a fatal or non-fatal
error in the CPU Unit.

Attribute ID =
66 Hex

Reads CPU Unit model.

CPU Unit Write

10 Hex

Attribute ID =
64 Hex,
Attribute Value

Changes the operating mode of the
CPU Unit.

Attribute ID =
65 Hex
Attribute Value

Clears errors.

CPU Unit Status
Read

40 Hex

None

Reads the detailed status of the CPU
Unit.

Operation status: Stop, run, CPU
standby

Operating modes: PROGRAM, MON-
ITOR, RUN

Fatal error information: Error flags,
including memory errors, I/O bus
errors, system errors

Messages: Message No. when MSB
instruction executed by CPU Unit

Error codes: Error code for the most
serious errors

Error messages: Messages stored in
CPU Unit when FAL/FALS instruction
executed

Advertising
This manual is related to the following products: