Omron CS1W-CLK21-V1 Sequence starting from the beginning address, Memory area designations

Models: CS1W-RPT01 CJ1W-CLK21-V1 CVM1-CLK21 CQM1H-CLK21 CS1W-CLK21-V1 C200HW-CLK21

1 401
Download 401 pages 33.98 Kb
Page 239
Image 239

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

01 04

Command

Address

code

 

Memory area code

Address

Memory area code

128 addresses maximum

Response Block

01 04

Command

Response

Data

code

code

 

Memory area code

Data

Memory area code

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):

 

 

 

 

 

 

 

 

Memory area

Data

Memory area

No. of

 

 

 

code

bytes

 

 

 

 

 

 

IR, SR, LR, HR, or

Bit status

00

1

 

AR

 

 

 

 

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,

2

 

 

 

and A8 to AF

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

03

06

00

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

Program

Beginning address

No. of

code

 

no.

 

 

 

 

bytes

216

Page 239
Image 239
Omron CS1W-CLK21-V1, CVM1-CLK21, CS1W-RPT01 Sequence starting from the beginning address, Memory area designations