Commands and Responses for C200HX/HG/HE and CQM1H-series PLCsSection 6-6

Memory Areas

The following areas can be read. (Refer to 6-6-2 Memory Area Designations for PLC word/bit address designations):

Memory area

Data

Memory area

No. of

 

 

code

bytes

 

 

 

 

IR, SR, LR, HR, or

Word contents

80

2

AR

 

 

 

 

 

 

 

Timer/Counter

Completion Flag 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-4 MEMORY AREA WRITE

Writes data to the specified number of consecutive words starting from the specified word. All words must be in the same memory area. (Here, all mem- ory areas with the same memory area code are considered as one area).

Note When data is written to the Timer/Counter PV area, the Completion Flags will be turned OFF (0).

Command Block

01

02

00

Command code

Beginning address No. of items

Status

Memory area code

Response Block

 

01

02

 

 

 

 

 

Command Response

 

 

 

 

code

code

 

 

 

Parameters

Memory area code (command): The data area to write.

 

 

Beginning address (command): The first word/value to write. Specify 00

 

(Hex) for the 3rd byte.

 

 

 

No. of items (command): The number of items to be written. Specify 0000 to

 

03E5 (Hex) (0 to 997 decimal). The command can be completed normally

 

even if zero items are specified.

 

 

 

Data (command): The data to be written. PVs for timers and counters are

 

written as BCD. The required number of bytes in total is calculated as follows:

 

2 bytes

No. of items

 

 

 

The following data can be written. (Refer to 6-6-2 Memory Area Designations-

 

for the word/bit address designations):

 

 

 

 

 

 

 

 

Memory area

Data

Memory area

No. of

 

 

 

 

 

code

bytes

 

IR, SR, LR, HR, or

Word contents

80

2

 

AR

 

 

 

 

 

 

 

 

 

 

 

 

Timer/Counter

 

PV

81

2

 

 

 

 

 

 

 

 

DM

 

 

Word contents

82

2

 

 

 

 

 

 

Expansion DM

Word contents

90 to 97, 98,

2

 

 

 

 

 

and A8 to AF

 

 

 

 

 

 

 

 

215

Page 238
Image 238
Omron CQM1H-CLK21, CVM1-CLK21, CS1W-RPT01 Memory Areas, Parameters Memory area code command The data area to write