![background image](http://html.mh-extra.com/html/omron/c200hw-clk21/c200hw-clk21_operation-manual_742483245.webp)
220
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs
Section 6-6
Response Block
Parameters
Program no. (command and response):
Set to 0000 (Hex).
Beginning address (command and response):
Set an relative byte address
with 00000000 (Hex) as the starting address. The beginning word must be an
even number. The address set in the command will be returned in the
response.
No. of bytes (command and response):
The number of bytes in an even
number 07C6 (Hex) (1990 in decimal) or smaller. The number of bytes actu-
ally read will be returned in the response. Bit 15 will be ON (1) in the response
block when the last word data of the program area is returned.
Data (response):
The data in the specified program area will be returned in
sequence starting from the beginning word.
Note
If the designated number of bytes is larger than the program area, the pro-
gram will be read through the final address and a response code indicating an
address range error or response length error will be returned.
6-6-7
PROGRAM AREA WRITE
Writes data to the specified number of consecutive program area words start-
ing from the specified word. A maximum of 1,990 bytes can be written with
each command. To write larger amounts of data, use multiple commands and
specify the beginning word and number of words for each. The data is written
to the program area at the machine language (object code) level.
Command Block
Response Block
Parameters
Program no. (command and response):
Set to 0000 (Hex).
Beginning word (command and response):
Set a relative byte address with
00000000 (Hex) as the starting address. The beginning word must be an even
number. The address set in the command will be returned in the response.
03
06
00
00
Beginning address
Data
Program
no.
No. of
bytes
Response
code
Command
code
1,990 bytes maximum
Bits 0 to 7 (second byte)
Bits 8 to 15 (first byte)
Bit 15 OFF (0): Without last word data
Bit 15 ON (1): With last word data
Bits 0 to 14: No. of bytes read
03
07
Program
no.
Beginning word
Data
No. of
bytes
00
00
Command
code
1,990 bytes maximum
03
07
Beginning word
Program
no.
00
00
No. of
bytes
Response
code
Command
code
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 ...