Omron CJ1W-DRM21 Operation Manual page 206

Machine automation controller cj-series, nj-series cpu unit
Hide thumbs Also See for CJ1W-DRM21:
Table of Contents

Advertisement

6 Message Communications
Information Read for CPU Units (Service Code: 0E Hex)
Reads CPU Unit information, including Operating Mode, Controller Errors, and the CPU Unit model.
Command Block
0E
2F
(*)
Class ID
Service Code
Note A body format of either 8 bits or 16 bits is possible.
Response Block
8E
Service Code
Attribute Value
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.
Attribute ID (Hex)
64
65
66
• 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
6-18
00
(*)
Attribute ID
Instance ID
Contents
CPU Unit operating mode
CPU Unit controller errors
CPU Unit model
0
PROGRAM mode
RUN mode
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
Attribute value size
1 word (2 bytes)
1 word (2 bytes)
22 bytes

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents