Omron CJ1W-DRM21 Marine RADAR User Manual


 
178
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.
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
Instance ID (Hex) CPU Unit memory area
for write
Word range
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)
Destination node address
Service Code
Class ID
Instance ID
Address L
Address H
Write data (200 bytes max.)
Word data L
Word data H
Word data L
Word data H