Omron CS1W-CLK21-V1 Network Card User Manual


 
216
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Section 6-6
6-6-5 MULTIPLE MEMORY AREA READ
Reads the contents of the specified number of non-consecutive memory area
words, starting from the specified word.
Note If there is an error in the command code or an address, no data will be read.
Command Block
Response Block
Parameters Memory area code (command): The data area to read.
Address (command): The word/bit/flag to read. The content of up to 128
words can be read. If one or more EM Area words is included in the data to be
read, the maximum number of words that can be read will be limited to 100.
Data (response): The data in the specified memory area(s) will be returned
in sequence starting from the beginning address.
Memory Areas
The following data can be written. (Refer 6-6-2 Memory Area Designations for
memory area designations):
6-6-6 PROGRAM AREA READ
Reads the contents of the specified number of consecutive program area
words starting from the specified word. The program is read a machine lan-
guage (object code). A maximum of 1,990 bytes can be read with each com-
mand.
Command Block
AddressCommand
code
01
Memory area code
04
Memory area code
Address
128 addresses maximum
Command
code
01
04
Memory area code
Response
code
Data
Memory area code
Data
Memory area Data Memory area
code
No. of
bytes
IR, SR, LR, HR, or
AR
Bit status 00 1
Word contents 80 2
Timer/Counter Status 01 1
PV 81 2
DM Word contents 82 2
Expansion DM Word contents 90 to 97, 98,
and A8 to AF
2
03 06
Program
no.
Beginning address
00
00
No. of
bytes
Command
code