Receiving Explicit Messages

Section 6-5

Read data (response): The specified information is returned in order.

CPU Unit operating mode (attribute ID = 64 Hex).

The CPU Unit operating mode is returned in 1-word (2-byte) hexadecimal for- mat, as follows:

0001 Hex: PROGRAM mode; 0002 Hex: MONITOR mode;

0004 Hex: RUN mode

PROGRAM mode

MONITOR mode

RUN mode

Note The codes for the above modes are 1-word (2-byte) data and are returned in low byte first. For example, for PROGRAM mode, the code is returned as 01 Hex followed by 00 Hex.

CPU Unit Errors (when Attribute ID = 65 Hex)

The CPU Unit fatal/non-fatal error data is returned in 1-word (2-byte) hexa- decimal format, as follows:

01 Hex: Error; 00 Hex: No error.

1: Error

CPU Unit Model (when Attribute ID = 65 Hex) The CPU Unit model is returned in ASCII.

Size: 2 bytes (Always 1400 Hex) + Model: 20 bytes (fixed). Unused area is filled with 20 Hex (spaces) and returned.

20 bytes

Byte Byte

Byte Byte Byte

 

Unit name

CPU Unit Write (Service Code: 10 Hex)

This PLC Object service writes CPU Unit information, including the operating mode and clearing errors.

Command Block

Class ID

Attribute ID

 

Service Code

Attribute Value

Destination node address

Instance ID

 

169

Page 180
Image 180
Omron CS1W-DRM21, CJ1W-DRM21 operation manual CPU Unit Write Service Code 10 Hex