
252
Receiving Explicit Messages
Section 9-2
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 fatal/non-fatal error data is returned in 1-word (2-byte) hexa-
decimal format, as follows:
01 Hex: Error; 00 Hex: No 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.
CPU Unit Write (Service Code: 10 Hex)
This PLC Object service writes CPU Unit information, including the operating
mode and clearing errors.
Command Block
Note A body format of either 8 bits or 16 bits is possible.
Response Block
Parameters
Service code (command, response): 10 Hex is specified for commands. For
responses, the highest bit will turn ON and 90E 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): Information to write is specified by the attribute ID.
The attribute IDs are listed in the following table.
1: Error
20 bytes
Byte Byte
Byte Byte Byte
Unit name
00
(*)
10
C4
(2F)
(*)
Class ID
Attribute ID
Instance ID
Service Code
Attribute Value
The class ID depends on the unit version.
Version 2.0: The class ID is C4.
Version 1.0: The class ID is 2F.
Service Code
90
Attribute ID (Hex)
Contents
Attribute value size
64
CPU Unit operating mode
1 word (2 bytes)
65
CPU Unit errors
1 word (2 bytes)
Содержание CJ2H-CPU6 - REV 02-2010
Страница 2: ......
Страница 4: ...iv...
Страница 6: ...vi...
Страница 14: ...xiv...
Страница 18: ...xviii...
Страница 38: ...12 Network Configurator Overview Section 1 5...
Страница 58: ...32 Selecting the Network Devices Section 2 3...
Страница 116: ...90 Auxiliary Area Data Section 4 5...
Страница 222: ...196 Message Communications Errors Section 7 6...
Страница 364: ...338 Using the Backup Tool Section 13 3...
Страница 402: ...376 CS CJ series Ethernet Unit Function Comparison Appendix A...
Страница 404: ...378 Ethernet Network Parameters Appendix B...
Страница 406: ...380 TCP Status Transitions Appendix C...
Страница 452: ...426 Precautions for Using Windows XP Vista or Windows 7 Appendix G...
Страница 460: ...434 Index...
Страница 462: ...436 Revision History...
Страница 463: ......