Commands And Responses For C200Hx/Hg/He And Cqm1H-Series Plcs; Command Codes; Memory Area Designations - Omron C200HW-CLK21 Operation Manual

Controller link units
Hide thumbs Also See for C200HW-CLK21:
Table of Contents

Advertisement

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

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

Command Codes

Command
code
RUN
01
01
Valid
02
Valid
04
Valid
03
06
Valid
07
Not valid
04
01
Valid
02
Valid
05
01
Valid
06
01
Valid
07
01
Valid
02
Not valid
21
01
Valid
23
01
Not valid
02
Not valid
0A
Valid
6-6-2

Memory Area Designations

Memory area
Data
IR Area 1, 2
Bit status
SR Area 1, 2
Word contents
LR Area
Bit status
Word contents
HR Area
Bit status
Word contents
AR Area
Bit status
Word contents
Timer/
Status
Counter Area
PV
212
PLC mode
MONITOR
PROGRAM
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Not valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
The following table gives the addresses to use when reading or writing PLC
data. The Data area address column gives the normal addresses used in the
PLC program. The Address used in communications column are the
addresses used in CV-mode commands and responses. These addresses
are combined with the memory area codes to specify PLC memory locations.
These addresses are not the same as the actual memory addresses of the
data.
The No. of bytes column specifies the number of bytes to read or write data for
that area. The number of bytes varies for the same area depending on the
memory area code. Actual data area sizes vary with the PLC being used.
Refer to your PLC's operation manual for specific limits.
Data area address
00000 to 51115
000 to 511
LR 0000 to LR 6315
LR 00 to LR 63
HR 0000 to HR 9915
HR 00 to HR 99
AR 0000 to AR 2715
AR 000 to AR 27
T/C 000
to T/C 511
Name
MEMORY AREA READ
MEMORY AREA WRITE
MULTIPLE MEMORY AREA READ
PROGRAM AREA READ
PROGRAM AREA WRITE
RUN
STOP
CONTROLLER DATA READ
CONTROLLER STATUS READ
CLOCK READ
CLOCK WRITE
ERROR CLEAR
FORCED SET/RESET
FORCED SET/RESET CANCEL
MULTIPLE FORCED STATUS READ
Address used in
communications
1st and 2nd
bytes
0000 to 01FF
00 to 0F
00 to 00
03E8 to 0427
00 to 0F
00 to 00
0428 to 048B
00 to 0F
00 to 00
048C to 04A7
00 to 0F
00 to 00
0000 to 01FF
00 to 00
Section 6-6
Memory
area code
3rd byte
00
80
00
80
00
80
00
80
01
81
Page
214
215
216
216
217
218
218
219
220
221
221
222
222
223
224
No. of
bytes
1
2
1
2
1
2
1
2
1
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents