Omron CJ1W-DRM21, CS1W-DRM21 operation manual Byte Data Read Service Code 1C Hex

Models: CJ1W-DRM21 CS1W-DRM21

1 274
Download 274 pages 23.02 Kb
Page 185
Image 185

Receiving Explicit Messages

Section 6-5

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).

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)

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 with a CS/CJ- series DeviceNet Unit mounted. The read word data is in byte units. The response block is returned from high to low bytes.

Command Block

Class ID

Service Code

Address L

Address H

Destination node address

Instance ID

No. of bytes read

174

Page 185
Image 185
Omron CJ1W-DRM21, CS1W-DRM21 operation manual Byte Data Read Service Code 1C Hex