215
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs
Section 6-6
6-6
Commands and Responses for C200HX/HG/HE and
CQM1H-series PLCs
6-6-1
Command Codes
6-6-2
Memory Area Designations
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.
Command
code
PLC mode
Name
Page
RUN
MONITOR
PROGRAM
01
01
Valid
Valid
Valid
MEMORY AREA READ
02
Valid
Valid
Valid
MEMORY AREA WRITE
04
Valid
Valid
Valid
MULTIPLE MEMORY AREA READ
03
06
Valid
Valid
Valid
PROGRAM AREA READ
07
Not valid
Not valid
Valid
PROGRAM AREA WRITE
04
01
Valid
Valid
Valid
RUN
02
Valid
Valid
Valid
STOP
05
01
Valid
Valid
Valid
CONTROLLER DATA READ
06
01
Valid
Valid
Valid
CONTROLLER STATUS READ
07
01
Valid
Valid
Valid
CLOCK READ
02
Not valid
Valid
Valid
CLOCK WRITE
21
01
Valid
Valid
Valid
ERROR CLEAR
23
01
Not valid
Valid
Valid
FORCED SET/RESET
02
Not valid
Valid
Valid
FORCED SET/RESET CANCEL
0A
Valid
Valid
Valid
MULTIPLE FORCED STATUS READ
Memory area
Data
Data area address
Address used in
communications
Memory
area code
No. of
bytes
1st and 2nd
bytes
3rd byte
IR Area 1, 2
SR Area 1, 2
Bit status
00000 to 51115
0000 to 01FF
00 to 0F
00
1
Word contents
000 to 511
00 to 00
80
2
LR Area
Bit status
LR 0000 to LR 6315
03E8 to 0427
00 to 0F
00
1
Word contents
LR 00 to LR 63
00 to 00
80
2
HR Area
Bit status
HR 0000 to HR 9915
0428 to 048B
00 to 0F
00
1
Word contents
HR 00 to HR 99
00 to 00
80
2
AR Area
Bit status
AR 0000 to AR 2715
048C to 04A7
00 to 0F
00
1
Word contents
AR 000 to AR 27
00 to 00
80
2
Timer/
Counter Area
Status
T/C 000
to T/C 511
0000 to 01FF
00 to 00
01
1
PV
81
2
Summary of Contents for C200HW-CLK21
Page 3: ...iv ...
Page 9: ...x ...
Page 12: ...xiii TABLE OF CONTENTS Index 367 Revision History 373 ...
Page 13: ...xiv ...
Page 19: ...xx ...
Page 57: ...32 Application Precautions Section 1 5 Example CX Programmer Response Timeout Setting ...
Page 69: ...44 Message Service Procedure Section 2 2 ...
Page 111: ...86 Constructing Networks with Repeater Units Section 3 4 ...
Page 154: ...129 Setting Data Links Section 5 2 Device Information Setting Data Link Tables ...
Page 261: ...236 Response Codes Section 6 7 ...
Page 297: ...272 Message Delay Times Section 8 4 ...
Page 353: ...328 Handling Precautions Section 9 6 ...
Page 364: ...339 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Page 365: ...340 Changing the Data Link Tables with Active Data Links Section 10 2 ...
Page 369: ...344 Standard Models Appendix A ...
Page 391: ...366 Using the Relay Terminal Block Appendix C ...
Page 397: ...372 Index ...
Page 401: ...376 Revision History ...