Omron CJ1W-DRM21 Word Data Write Service Code 1F Hex, Data areas for the PC you are using

Models: CJ1W-DRM21 CS1W-DRM21

1 274
Download 274 pages 23.02 Kb
Page 189
Image 189

Receiving Explicit Messages

 

 

Section 6-5

 

Instance ID (command): The type of memory area to which the data will be

 

written is specified in hexadecimal as shown in the following table.

 

 

 

 

 

Instance ID (Hex)

CPU Unit memory area

Word range

 

 

for write

 

 

 

 

 

 

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 which

 

the data will be written is specified in hexadecimal as shown below.

 

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

 

digit hexadecimal.

 

 

 

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

 

digit hexadecimal.

 

 

 

Write data (response): The specified area and write data is returned in order

 

from word H (higher byte: bits 8 to 15) to word L (lower byte: bits 0 to 7). If an

 

odd number is specified, the last 1 byte of data will be written to word H.

 

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

 

destination node address (remote node) onwards 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.

Important Points

The actual address L, address H, and number of write data words that can be

 

specified depends on the type of CPU Unit with CS/CJ-series DeviceNet Unit

 

mounted and the type of memory area. Do not exceed the boundary of the

 

data areas for the PC you are using.

 

Word Data Write (Service Code: 1F Hex)

Word Data Write writes data to any I/O memory area in CPU Units with CS/ CJ-series DeviceNet Units mounted. The write word data is in word units. The response block is returned from low to high bytes.

Command Block

Class ID

 

Word data L

Word data L

 

Instance ID

 

 

Service Code

 

 

 

 

Address L

Word data H

Word data H

Destination node address

Address H

 

Write data (200 bytes max.)

178

Page 189
Image 189
Omron CJ1W-DRM21, CS1W-DRM21 operation manual Word Data Write Service Code 1F Hex, Data areas for the PC you are using