Receiving Explicit Messages

Section 6-5

Word Data Read (Service Code: 1D Hex)

Word Data Read reads I/O memory area data in CPU Units with a CS/CJ- series DeviceNet Units. The read word data is in word units. The response block is returned from low to high bytes.

Command Block

Class ID

Address L

 

 

Service Code

 

Address H

 

 

Destination node address

Instance ID

No. of words

 

 

read

Response Block

 

Service

Word data H

 

Word data H

 

Code

 

 

 

 

 

 

 

 

 

 

 

Word data L

Word data L

 

Destination

 

 

 

 

 

node address

 

 

 

 

 

No. of bytes

 

Read data (200 bytes max.)

 

 

 

 

 

 

received

 

 

 

 

Parameters

Destination node address (command): The node address of the CS/CJ-

 

series DeviceNet Unit that reads the data, specified in 1-byte (2 digit) hexa-

 

decimal.

 

 

 

 

 

Service code (command, response): ID Hex is specified for commands. For

 

responses, the highest bit will turn ON and 9D Hex will be returned.

 

Class ID (command): Always 002F Hex.

 

 

 

Instance ID (command): The type of memory area that will read the data is

 

specified in hexadecimal as shown in the following table.

 

 

 

 

 

 

Instance ID (Hex)

 

CPU Unit memory area

Word range

 

 

 

 

for read

 

 

 

 

 

 

 

 

 

 

01

 

CIO

 

 

0000 to 6143

 

 

 

 

 

 

 

 

03

 

DM

 

 

D00000 to D32767

 

 

 

 

 

 

 

 

04

 

WR

 

 

W000 to W511

 

 

 

 

 

 

 

 

05

 

HR

 

 

H000 to H511

 

 

 

 

 

 

 

08 to 14

 

EM, banks 0 to C

 

En_00000 to En_32767

 

 

 

 

 

 

(n: 0 to C)

 

 

 

 

 

Address L, Address H (command): The address of the first word to read the

 

data from is specified in hexadecimal as shown below.

 

Address L: The lower 2 digits when the first word address is given in 4-digit

 

hexadecimal.

 

 

 

 

 

Address H: The higher 2 digits when the first word address is given in 4-digit

 

hexadecimal.

 

 

 

 

176

Page 187
Image 187
Omron CJ1W-DRM21, CS1W-DRM21 Word Data Read Service Code 1D Hex, Specified in hexadecimal as shown in the following table