![Omron CVM1-CLK21 Скачать руководство пользователя страница 173](http://html1.mh-extra.com/html/omron/cvm1-clk21/cvm1-clk21_operation-manual_742531173.webp)
157
Commands and Responses for C200HX/HG/HE and CQM1H-series PCs
Section 6-6
Memory Area Code
The unit of access (bit or word) and the data code are specified as shown in
the following illustration.
Number of Bytes/Element
The number of bytes of read or write data per element is as follows depending
on the access unit.
1 Byte/element for bit access
2 Bytes/element for word access
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.
7
6
5
4
3
2
1
0
Bit
00: Bit
10: Word
Access unit
Data code
00: CIO, LR, HR, or AR area
01: Timer or Counter area
02: Data Memory area
10 to 17, 18, and 27 to F: Expansion DM
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
Содержание CVM1-CLK21
Страница 2: ......
Страница 3: ......
Страница 4: ...iv...
Страница 6: ...vi...
Страница 33: ...17 Application Precautions Section 1 5 2 9 8 2 2 8 5 2...
Страница 34: ......
Страница 42: ......
Страница 66: ......
Страница 103: ...87 Setting Data Links Section 5 2 Device Information Setting Data Link Tables...
Страница 124: ......
Страница 192: ......
Страница 280: ......
Страница 284: ......
Страница 300: ......
Страница 304: ......