Receiving Explicit Messages

Section 6-5

CPU Unit Status Read (Service Code: 40 Hex)

This PLC Object service reads status details (operation status, operating mode, fatal and non-fatal errors, etc.) from the CPU Unit.

Command Block

Class ID

Service Code

Destination node address

Response Block

Instance ID

 

Service Code

 

 

Detailed status

 

Destination

 

node address

 

No. of bytes

 

received

Parameters

Destination node address (command): The node address of the CS/CJ-

 

series DeviceNet Unit from which to read data, specified in 1-byte (2 digit)

 

hexadecimal.

 

Service code (command, response): 40 Hex is specified for commands. For

 

responses, the highest bit will turn ON and C0 Hex will be returned.

 

Class ID (command): Always 002F Hex.

 

Instance ID (command): Always 0000 Hex.

 

No. of bytes received (response): The number of bytes received from the

 

destination node address (remote node) is returned in hexadecimal.

 

Destination node address (response): The node address of the CS/CJ-

 

series DeviceNet Unit that returned the response is returned in hexadecimal.

 

Read data (response): The read data is given in the following table. The data

 

is returned after the service code in the order shown in the table (high to low).

 

 

 

 

Operation Status

 

 

 

 

 

RUN mode

 

 

 

 

 

Fatal error information (L)

 

 

 

 

 

Fatal error information (H)

 

 

 

 

 

Non-fatal error information (L)

 

 

 

 

 

Non-fatal error information (H)

 

 

 

 

 

Message exists/does not exist (L)

 

 

 

 

 

Message exists/does not exist (H)

 

 

 

 

 

Error code (L)

 

 

 

 

 

Error code (H)

 

 

 

 

 

Error message (16 bytes)

 

 

 

 

172

Page 183
Image 183
Omron CJ1W-DRM21, CS1W-DRM21 CPU Unit Status Read Service Code 40 Hex, Class ID command Always 002F Hex, Operation Status