Memory Area Read - Omron SYSMAC CS1W-CLK11 Operation Manual

Table of Contents

Advertisement

Commands and Responses for C200HX/HG/HE and CQM1H-series PCs
Memory Area Code
Number of Bytes/Element
Data Configuration
6-6-3

MEMORY AREA READ

Command Block
Response Block
Parameters
The unit of access (bit or word) and the data code are specified as shown in
the following illustration.
7
6
Bit
Access unit
00: Bit
10: Word
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
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)
Bits 0 to 7 (second byte)
Bits 8 to 15 (first byte)
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).
01
01
Command
Beginning address
code
Memory area code
01
01
Command
Response
code
code
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.
5
4
3
2
1
0
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
00
No. of items
Data
Section 6-6
157

Advertisement

Table of Contents
loading

Table of Contents