Omron CS1W-RPT01 Benutzerhandbuch

Seite von 401
224
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs
Section 6-6
Response Block
Note The bits (flags) in the following memory areas can be force-set or force-reset.
6-6-17 MULTIPLE FORCED STATUS READ
Reads the forced status of the specified range of words or timers/counters.
Command Block
Response Block
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.
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).
Command 
code
23
02
Response 
code
Memory area
Data
IR, SR, LR, HR, and AR 
areas
Bit status
Timer/Counter
Completion Flag status
Command 
code
23
0A
Beginning 
address
Memory 
area code
Number of 
units
Command 
code
23
0A
Response 
code
Beginning 
address 
Memory 
area code
Data
Number of 
units
Area
Data type
Memory area 
code
Number of 
bytes
IR, SR, LR, HR, and 
AR areas
PV of word
80
2
Timer/counter area
Completion Flag status
01
1