![background image](http://html.mh-extra.com/html/omron/c200hw-clk21/c200hw-clk21_operation-manual_742483242.webp)
217
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs
Section 6-6
Data Configuration
The configuration of the various types of data that can be read or written is
shown below. The number of bytes required for each type of data is also
given.
Flag or Bit Status (One Byte)
00:
Bit is OFF (0)
01:
Bit is ON (1)
Word Contents or PV (Two Bytes)
6-6-3
MEMORY AREA READ
Reads the contents of the specified number of consecutive memory area
words starting from the specified word. All words must be in the same mem-
ory area. (Here, all memory areas with the same memory area code are con-
sidered as one area).
Command Block
Response Block
Parameters
Memory area code (command):
The data area to read.
Beginning address (command):
The address of the first word/bit/flag to
read from memory. Specify 00 (Hex) for the 3rd byte.
No. of items (command):
The number of items to be read. Specify 0000 to
03E7 (Hex) (0 to 999 decimal). The command can be completed normally
even if zero items are specified.
Data (response):
The data from the specified words is returned in sequence
starting from the beginning address. PVs for timers and counters are returned
as BCD. The required number of bytes in total is calculated as follows:
No. of bytes required by each item
×
No. of items
Bits 0 to 7 (second byte)
Bits 8 to 15 (first byte)
Beginning address
Memory area code
No. of items
Command
code
01
01
00
Response
code
Command
code
01
01
Data
Summary of Contents for C200HW-CLK21
Page 3: ...iv ...
Page 9: ...x ...
Page 12: ...xiii TABLE OF CONTENTS Index 367 Revision History 373 ...
Page 13: ...xiv ...
Page 19: ...xx ...
Page 57: ...32 Application Precautions Section 1 5 Example CX Programmer Response Timeout Setting ...
Page 69: ...44 Message Service Procedure Section 2 2 ...
Page 111: ...86 Constructing Networks with Repeater Units Section 3 4 ...
Page 154: ...129 Setting Data Links Section 5 2 Device Information Setting Data Link Tables ...
Page 261: ...236 Response Codes Section 6 7 ...
Page 297: ...272 Message Delay Times Section 8 4 ...
Page 353: ...328 Handling Precautions Section 9 6 ...
Page 364: ...339 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Page 365: ...340 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Page 369: ...344 Standard Models Appendix A ...
Page 391: ...366 Using the Relay Terminal Block Appendix C ...
Page 397: ...372 Index ...
Page 401: ...376 Revision History ...