Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs

Section 6-6

Response Block

23 02

Command Response

code code

Note The bits (flags) in the following memory areas can be force-set or force-reset.

Memory area

Data

IR, SR, LR, HR, and AR

Bit status

areas

 

 

 

Timer/Counter

Completion Flag status

 

 

6-6-17 MULTIPLE FORCED STATUS READ

Reads the forced status of the specified range of words or timers/counters.

Command Block

23

0A

 

 

 

Command

 

Beginning

Number of

 

code

 

address

units

 

 

Memory

 

area code

Response Block

23 0A

Command

Response

Memory

Beginning

Number of

Data

code

code

address

units

 

 

 

area code

 

 

 

Parameters

Memory area code, Beginning address, Number of units (command,

 

response): Specify the memory area code, the beginning address in that

 

area, and the number of words or timers/counters to read. The number of

 

units can be set from 0001 to 0040 (Hex) (1 to 64 in decimal). The total of 64

 

continuous bits (for 4 words) for the number of bits or words and the total of 64

 

units (for 32 words) for the timers/counters can be read at one time.

 

The actual area, beginning address, and number of units read will be returned

 

in the response.

 

 

 

 

Memory Areas

 

 

 

 

Forced status can be read in the following areas. Refer to 6-6-2 Memory Area

 

Designations for memory area designations.

 

 

 

 

 

 

 

 

Area

Data type

Memory area

Number of

 

 

 

code

bytes

 

 

 

 

 

 

IR, SR, LR, HR, and

PV of word

80

2

 

AR areas

 

 

 

 

 

 

 

 

 

Timer/counter area

Completion Flag status

01

1

 

 

 

 

 

Note Forced status is read by words for the IR, SR, LR, HR, or AR area and by bits/ flags for the Timer/Counter area.

Data (response): Forced status is returned beginning from the specified word or timer/counter. The number of bytes returned will be (the number of units) x (the number of bytes/unit).

224

Page 247
Image 247
Omron CS1W-RPT01 Response, Designations for memory area designations, Area Data type Memory area Number Code Bytes