Omron CJ1W-EIP21 Manual Do Utilizador
![Omron](https://files.manualsbrain.com/attachments/7fa5ec4a90101fa208d43a4305bc1086df78f696/common/fit/150/50/5d76564a1cf6fe0603ad68275dd39f2ecd63ac9781e410de120c93c1d9e5/brand_logo.png)
251
Receiving Explicit Messages
Section 9-2
CPU Information Read (Service Code: 0E Hex)
Reads CPU Unit information, including operating mode, fatal/non-fatal errors,
and the CPU Unit model.
and the CPU Unit model.
Command Block
Note A body format of either 8 bits or 16 bits is possible.
Response Block
Parameters
Service code (command, response): 0E Hex is specified for commands.
For responses, the highest bit be ON and 8E Hex will be returned.
For responses, the highest bit be ON and 8E Hex will be returned.
Class ID (command): Always C4 (2F).
The class ID depends on the unit version. The class ID is C4 for unit version
2.0, and 2F for unit version 1.0.
The class ID depends on the unit version. The class ID is C4 for unit version
2.0, and 2F for unit version 1.0.
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.
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 fatal or non-fatal 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 for-
mat, as follows:
mat, as follows:
0001 Hex: PROGRAM mode; 0002 Hex: MONITOR mode;
0004 Hex: RUN mode
0004 Hex: RUN mode
00
(*)
0E
C4
(2F)
(*)
Class ID
Attribute ID
Instance ID
Service Code
The class ID depends on the unit version.
Version 2.0: The class ID is C4.
Version 1.0: The class ID is 2F.
Version 2.0: The class ID is C4.
Version 1.0: The class ID is 2F.
8E
Service Code
Attribute Value
Attribute ID (Hex)
Contents
Attribute value size
64
CPU Unit operating mode
1 word (2 bytes)
65
CPU Unit errors
1 word (2 bytes)
66
CPU Unit model
22 bytes
PROGRAM mode
MONITOR mode
RUN mode