Copying Source Devices To Multiple Destinations (Fmov) - Mitsubishi MELSEC System Q Manual

Hide thumbs Also See for MELSEC System Q:
Table of Contents

Advertisement

More Advanced Programming
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.
Ladder Diagram
³ 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
Data source ("0")
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
MELSEC Instruction List
FMOV
Data destination (D10)
0
0
D 10
0
D 11
0
D 12
D 13
0
0
D 14
0
D 15
0
D 16
Instructions for Moving Data
IEC Instruction List
D4
FMOV_M
D250
K20
7 data words
D4, 20, D250
6 – 17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents