6.2.4 Copying source devices to multiple destinations (FMOV)
The FMOV (Fill MOVe) instruction copies the contents of a word device or a constant to multi
-
ple consecutive word devices. It is generally used to delete data tables and to set data regis
-
tered to a predefined starting value.
쐃
Data to be written to the target devices (constants can also be used here)
쐇
Data destination (first device of the destination range)
쐋
Number of elements to be written in the destination range
The following example writes the value “0” to 7 elements:
–
Data source: K0 (constant)
–
Data destination: D10
–
Number of elements to be written in the destination range: 7
Here too, FMOV has a pulse-triggered version, FMOVP (see section 6.2.1 for details on
pulse-triggered execution).
MELSEC System Q Beginners Manual 6 – 17
More Advanced Programming Instructions for Moving Data
D 10
D 11
D 12
D 13
D 14
0
0
0
0
0
0
0
0
D 15
D 16
7 data words
Data source ("0")
Data destination (D10)
Ladder Diagram
MELSEC Instruction List
FMOV D4
D250
K20
IEC Instruction List
FMOV_M D4, 20, D250