![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
Содержание C200HW-CLK21
Страница 3: ...iv ...
Страница 9: ...x ...
Страница 12: ...xiii TABLE OF CONTENTS Index 367 Revision History 373 ...
Страница 13: ...xiv ...
Страница 19: ...xx ...
Страница 57: ...32 Application Precautions Section 1 5 Example CX Programmer Response Timeout Setting ...
Страница 69: ...44 Message Service Procedure Section 2 2 ...
Страница 111: ...86 Constructing Networks with Repeater Units Section 3 4 ...
Страница 154: ...129 Setting Data Links Section 5 2 Device Information Setting Data Link Tables ...
Страница 261: ...236 Response Codes Section 6 7 ...
Страница 297: ...272 Message Delay Times Section 8 4 ...
Страница 353: ...328 Handling Precautions Section 9 6 ...
Страница 364: ...339 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Страница 365: ...340 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Страница 369: ...344 Standard Models Appendix A ...
Страница 391: ...366 Using the Relay Terminal Block Appendix C ...
Страница 397: ...372 Index ...
Страница 401: ...376 Revision History ...