Omron CS1W-DRM21, CJ1W-DRM21 Byte Data Write Service Code 1E Hex, Mal, You are using

Models: CJ1W-DRM21 CS1W-DRM21

1 274
Download 274 pages 23.02 Kb
Page 188
Image 188

Receiving Explicit Messages

Section 6-5

 

No of Read Words (command): The number of words of read data is speci-

 

fied in 1-byte (2-digit) hexadecimal. The range is 01 to 64 Hex (1 to 100 deci-

 

mal).

 

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 L (low byte: bits 0 to 7) to word H (high byte: bits 8 to 15).

Important Points

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

 

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

 

the Memory Area. Do not exceed the boundary of the data areas for the PC

 

you are using.

Byte Data Write (Service Code: 1E Hex)

Byte Data Write writes data to I/O memory area in CPU Units with CS/CJ- series DeviceNet Units mounted. The write word data is in byte units. The command block is specified from high to low bytes, as shown in the following diagram.

Command Block

Class ID

 

Word data H

Word data H

 

 

 

Service Code

Instance ID

 

 

 

 

 

 

Address L

Word data L

Word data L

 

 

Destination node address

Address H

 

Write data (200 bytes max.)

Response Block

 

Service Code

 

Destination

 

node address

 

No. of bytes

 

received

Parameters

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

 

series DeviceNet Unit to which to write the data, specified in 1-byte (2 digit)

 

hexadecimal.

 

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

 

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

 

Class ID (command): Always 002F Hex.

177

Page 188
Image 188
Omron CS1W-DRM21, CJ1W-DRM21 operation manual Byte Data Write Service Code 1E Hex, Mal, You are using