256
Receiving Explicit Messages
Section 9-2
• Message Exists/Does Not Exist: When the MSG instruction is executed
by the CPU Unit, the bit corresponding to the message number will turn
ON and be returned in 2 bytes (from low to high bytes).
• Error Code: The highest priority error code of the errors existing when
the command is executed will be returned in 2-byte decimal (from low to
high bytes). If there are no errors, the error code will be 0000.
Note For information on the severity of error codes, refer to the CS1 Series
CPU Unit Operation Manual (W339) or the CJ Series CPU Unit Op-
eration Manual (W393).
• Error Messages: If the above error codes have occurred when FAL/FALS
instructions are executed with registered messages, those messages are
returned in 16-byte ASCII. If there are no registered messages or if the
error codes have not occurred due to execution of FAL/FALS instructions,
the code is returned in ASCII with 20 Hex (space) in 16 bytes.
Byte Data Read (Service Code: 1C Hex)
Byte Data Read reads any I/O memory area data in a CPU Unit. The read
word data is in byte units. The response block data is returned in low-to-high
byte order.
Command Block
Note A body format of either 8 bits or 16 bits is possible.
Response Block
Parameters
Service code (command, response): 1C Hex is specified for commands.
For responses, the highest bit will turn ON and 9C Hex will be returned.
Message No. 0 (1: exists; 0: does not exist)
Message No. 1 (1: exists; 0: does not exist)
Message No. 2 (1: exists; 0: does not exist)
Message No. 3 (1: exists; 0: does not exist)
Message No. 4 (1: exists; 0: does not exist)
Message No. 5 (1: exists; 0: does not exist)
Message No. 6 (1: exists; 0: does not exist)
Message No. 7 (1: exists; 0: does not exist)
1C
C4
(2F)
(*)
(*)
Class ID
Address L
Instance ID
Service Code
No. of bytes read
Address H
The class ID depends on the unit version.
Version 2.0: The class ID is C4.
Version 1.0: The class ID is 2F.
9C
Service Code
Word data H
Word data L
Word data H
Word data L
Read data (200 bytes max.)
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: ......