Program Area Write - Omron SYSMAC CS1W-RPT01 Operation Manual

Controller link units
Hide thumbs Also See for SYSMAC CS1W-RPT01:
Table of Contents

Advertisement

Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs
Response Block
03
06
Command
Response
code
code
Parameters
6-6-7

PROGRAM AREA WRITE

Command Block
03
07
Command
code
Response Block
Parameters
220
00
00
Program
Beginning address
no.
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.
Bits 0 to 7 (second byte)
Bits 8 to 15 (first byte)
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.
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.
00
00
Program
Beginning word
no.
03
07
Command
Response
code
code
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.
1,990 bytes maximum
No. of
Data
bytes
Bit 15 OFF (0): Without last word data
Bit 15 ON (1): With last word data
Bits 0 to 14: No. of bytes read
1,990 bytes maximum
No. of
Data
bytes
00
00
Program
Beginning word
no.
Section 6-6
No. of
bytes

Advertisement

Table of Contents
loading

Table of Contents