Memory Area Read - Omron C200HW-CLK21 Operation Manual

Controller link units
Hide thumbs Also See for C200HW-CLK21:
Table of Contents

Advertisement

Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs
Data Configuration
6-6-3

MEMORY AREA READ

Command Block
Response Block
Parameters
214
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.
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
00
No. of items
Data
No. of items
Section 6-6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents