186
FINS Commands Section 5-3
Command Format
Response Format
Parameters Program No. (command and response)
Always FFFF (hex).
Beginning word (command and response)
For the beginning address, the beginning of the program area is specified as a
relative address of 00000000 (hex). The beginning address must be a multiple
of four.
Number of bytes (command and response)
Specify the number of bytes of data to write. The number of bytes must be a
multiple of 4 and 996 or less. The leftmost bit (bit 15) is used to indicate when
program area writing is completed. Bit 15 must be ON (1) the last word of data.
Data (command)
Specify the data to be written by designating the beginning address and the
number of bytes.
End code (response)
Refer to 5-1-3 End Codes for information on end codes.
Comments The PROGRAM AREA WRITE command can be executed only when the
CPU Unit is in PROGRAM mode.
A maximum of 996 bytes can be written with each command. Partition the
data into units of 996 bytes or less and use as many commands as necessary
to write from 00000000 (hex) to the final address.
When the "Prohibit from overwriting to a protected program" setting is
enabled, this command cannot be executed.
5-3-12 PROGRAM AREA CLEAR: 03 08
Completely initializes the contents of the program area, from the beginning of
the program area to the final program address.
Execution Conditions
03 07
Program
No.
Beginning word DataNo. of
bytes
FF
FF
Command
code
03 07
Beginning wordProgram
No.
FF
FF
No. of
bytes
End code
Command
code
Bits 0 to 7 (second byte)
Bits 8 to 15 (first byte)
Bit 15 OFF (0): Not last word of data
Bit 15 ON (1): Last word of data
Bits 0 to 14: Number of bytes written
Access right at
other device
UM read
protection
DIP switch UM
write protection
Network write
protection
No OK No No
RUN mode MONITOR mode PROGRAM mode
No No OK