6 Message Communications
6-18
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
Reads CPU Unit information, including Operating Mode, Controller Errors, and the CPU Unit model.
z Command Block
Note A body format of either 8 bits or 16 bits is possible.
z Response Block
z Parameters
Service Code (command, response): 0E Hex is specified for commands. For responses, the high-
est bit be ON and 8E Hex will be returned.
Class ID (command): Always 2F Hex.
Instance ID (command): Always 00 Hex.
Attribute ID (command): The read information is specified by the attribute ID. The attribute IDs are
listed in the following table.
• CPU Operating Mode (when Attribute ID = 64 Hex)
Reads the CPU Unit operating mode.
• CPU Unit Errors (when Attribute ID = 65 Hex)
Reads if there are any major fault controller errors in the CPU Unit.
• CPU Unit Model (when Attribute ID = 66 Hex)
Reads the CPU Unit model.
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 format, as follows:
0001 hex: "Program" Mode, 0002 hex: "RUN" Mode
Information Read for CPU Units (Service Code: 0E Hex)
Attribute ID (Hex) Contents Attribute value size
64 CPU Unit operating mode 1 word (2 bytes)
65 CPU Unit controller errors 1 word (2 bytes)
66 CPU Unit model 22 bytes
Class ID
Instance ID
0E 2F
(*)
00
(*)
Attribute ID
Service Code
8E
Service Code
Attribute Value
PROGRAM mode
0
RUN mode