Omron CJ1W-DRM21 Operation Manual page 211

Machine automation controller cj-series, nj-series cpu unit
Hide thumbs Also See for CJ1W-DRM21:
Table of Contents

Advertisement

Word Data Read (Service Code: 1D Hex)
Word Data Read reads any I/O memory area data in the memory used for CJ-series Unit in a CPU Unit
with a CJ-series DeviceNet Unit mounted. The read word data is in word units. The response block is
returned from low to high bytes.
Command Block
1C
2F
(*)
Class ID
Service Code
* A body format of either 8 bits or 16 bits is possible.
Response Block
9D
Service Code
Word data L
Parameters
Service Code (command, response): 1D Hex is specified for commands. For responses, the high-
est bit will turn ON and 9D Hex will be returned.
Class ID (command): Always 2F Hex.
Instance ID (command): The type of area in the memory used for CJ-series Unit that will read the
data is specified as shown in the following table.
Instance ID (Hex)
01
03
04
05
08 to 14
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.
No. of Read Words (command): The number of words of read data is specified in 1-byte (2-digit)
hexadecimal. The range is 01 to 64 Hex (1 to 100 decimal).
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 CJ-series DeviceNet Unit and the Memory Area. Do not exceed the boundary of
the data areas for the CPU Unit you are using.
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
(*)
Address L
No. of words read
Instance ID
Address H
Word data H
Word data H
Word data L
Read data (200 bytes max.)
CPU Unit memory area
for read
CIO
DM
WR
HR
EM, banks 0 to C
6 Message Communications
Word range
CIO 0000 to CIO 6143
D00000 to D32767
W000 to W511
H000 to H511
En_00000 to En_32767
(n: 0 to C)
6
6-23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents