![background image](http://html1.mh-extra.com/html/omron/cj2h-cpu6-rev-02-2010/cj2h-cpu6-rev-02-2010_operation-manual_740798277.webp)
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.
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.
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.
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 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:
0001 Hex: PROGRAM mode; 0002 Hex: MONITOR 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.
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
Summary of Contents for CJ2H-CPU6 - REV 02-2010
Page 2: ......
Page 4: ...iv...
Page 6: ...vi...
Page 14: ...xiv...
Page 18: ...xviii...
Page 38: ...12 Network Configurator Overview Section 1 5...
Page 58: ...32 Selecting the Network Devices Section 2 3...
Page 116: ...90 Auxiliary Area Data Section 4 5...
Page 222: ...196 Message Communications Errors Section 7 6...
Page 364: ...338 Using the Backup Tool Section 13 3...
Page 402: ...376 CS CJ series Ethernet Unit Function Comparison Appendix A...
Page 404: ...378 Ethernet Network Parameters Appendix B...
Page 406: ...380 TCP Status Transitions Appendix C...
Page 452: ...426 Precautions for Using Windows XP Vista or Windows 7 Appendix G...
Page 460: ...434 Index...
Page 462: ...436 Revision History...
Page 463: ......