Copying Source Devices To Multiple Destinations (Fmov) - Mitsubishi Electric FX2N Beginners Manual

Hide thumbs Also See for FX2N:
Table of Contents

Advertisement

Instructions for Moving Data
5.2.4

Copying source devices to multiple destinations (FMOV)

The FMOV (Fill MOVe) instruction copies the contents of a word or double word device or a
constant to multiple consecutive word or double word devices. It is generally used to delete
data tables and to set data registered to a predefined starting value.
Ladder Diagram
0
³ 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 (max. 512)
The following example writes the value "0" to 7 elements:
Here too, FMOV has a pulse-triggered version, FMOVP (see section 5.1.2 for details on
pulse-triggered execution).
You can also transfer 32-bit data by prefixing the instruction with "D" (DFMOV and DFMOVP).
5 – 12
FMOV D4 D250 K20
FMOV K0 D10 K7
0
More Advanced Programming
Instruction List
0 FMOV
D4
0
D 10
0
D 11
0
D 12
D 13
0
0
D 14
0
D 15
0
D 16
MITSUBISHI ELECTRIC
D250
K20

Advertisement

Table of Contents
loading

Table of Contents