Receiving Explicit Messages

Section 6-5

Response Block

 

Service

Word data L

 

Word data L

 

Code

 

 

 

 

 

 

 

Word data H

Word data H

 

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 from which to read data, specified in 1-byte (2 digit)

 

hexadecimal.

 

 

 

 

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

 

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

 

Class ID (command): Always 002F Hex.

 

 

 

Instance ID (command): The 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 from which

 

to read the data 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.

 

 

 

 

No of Read Bytes (command): The number of bytes of read data is specified

 

in 1-byte (2-digit) hexadecimal. The range is 01 to C8 Hex (1 to 200 decimal).

 

No. of bytes received (response): The number of bytes received from the

 

destination node address (remote node) is returned in hexadecimal.

 

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

 

series DeviceNet Unit that returned the response is returned in hexadecimal.

 

Read data (response): The specified area, word, and byte data is returned in

 

order from word H (high byte: bits 8 to 15) to word L (low byte: bits 0 to 7). If

 

an odd number is specified for the number of read bytes, the last 1 byte of

 

data will be read to the high word.

 

 

Important Points

The actual address L, address H, and number of read bytes that can be spec-

 

ified depends on the model of the CPU Unit of the CS/CJ-series DeviceNet

 

Unit and the type of memory area. Do not exceed the boundary of the data

 

areas for the PC you are using.

 

 

175

Page 186
Image 186
Omron CS1W-DRM21 Hexadecimal as shown in the following table, To read the data is specified in hexadecimal as shown below