Omron CJ1W-DRM21 Operation Manual page 207

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

Advertisement

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 controller error data is returned in 1-byte (2-digit) hexadecimal format.
01 hex: Controller Error, 00 hex: No Controller Error.
• CPU Unit Model (when Attribute ID = 66 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.
B
y
e t
CPU Unit Write (Service Code: 10 Hex)
This PLC Object service writes CPU Unit information, including the operating mode and clearing errors.
Command Block
10
2F
(*)
Class ID
Service Code
Note A body format of either 8 bits or 16 bits is possible.
Response Block
90
Service Code
Parameters
Service Code (command, response): 10 Hex is specified for commands. For responses, the high-
est bit will turn ON and 90E Hex will be returned.
Class ID (command): Always 2F Hex.
Instance ID (command): Always 00 Hex.
Attribute ID (command): Information to write is specified by the attribute ID. The attribute IDs are
listed in the following table.
Attribute ID (Hex)
64
65
• CPU Operating Mode (Attribute ID = 64 Hex)
Changes the CPU Unit operating mode.
The Attribute Values are as follows:
0001 hex: "Program" Mode, 0002 hex or 0004 hex : "Run" Mode
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
1: Controller error
20 bytes
B
y
e t
B
Unit name
00
(*)
Attribute ID
Instance ID
Attribute Value
Contents
CPU Unit operating mode
CPU Unit errors
6 Message Communications
y
e t
B
y
e t
B
y
e t
Attribute value size
1 word (2 bytes)
1 word (2 bytes)
6
6-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents