EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F FX5 - Appendix 10 Substitute Functions; File registers

Mitsubishi Electric MELSEC iQ-F FX5
958 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
940
APPX
Appendix 10 Substitute Functions
Appendix 10Substitute Functions
File registers
To use a file register of the FX3 PLC, use functions of the FX5 PLC.
A file register is a device that sets an initial value to a data register that has the same device number. The values of the file
registers set in the built-in memory or memory cassette are transferred collectively to the data registers when the power of the
FX3 PLC is OFFON or the PLC is STOPRUN.
File registers function of FX3 PLC Substitute function of FX5 PLC Reference
The initial value setting of the data register
When the power is OFFON or the PLC is STOPRUN, the data
register is initialized.
The setting is possible with the device initial value setting. If the initial
value is set, the data register is initialized when the power is
OFFON, reset, or the PLC is STOPRUN.
Page 78
The initial value of the data register (FX3 file register) can be changed
by the BMOV instruction. When changed by something other than the
BMOV instruction, it is treated as a normal data register. When the
power is OFFON or the PLC is STOPRUN, the value that is
changed by the BMOV instruction is the initial value.
Program example
When D1000 and later are used as FX3 file registers
When the above program is executed, the value of D1000 becomes
100. When the PLC is stopped and restarted, the initial value "1"
specified by the BMOVP instruction is stored in D1000 to D1099.
Divide data register area into initial value area and normal data area.
When the PLC is STOPRUN, transfer the data in the initial value
area to the normal data area to use the initial value area as file
registers. Use the latch function in the initial value area.
Data register area and program example
When D4000 and later are the initial value area
When the above program is executed, the value of D0 becomes 100.
When the PLC is stopped and restarted, the initial value "1" that is
stored in the initial value area, D4000 to D7999, is transferred to the
normal data area, D0 to D3999.
Page 129
Operation
input
BMOV
direction inverse
D1000 is changed.
(Normal data)
Operation
input
M8024
1 is transferred to D1000 and
later 100 points.
FMOVP K1 D1000 K100
D1000 and later: 100 points,
initial value is changed.
BMOVP D1000 D1000 K100
MOV K100 D1000
Operation
input
Initial pulse
The data is transferred from the
initial value area to the normal
data area.
Operation
input
Initial value area is changed.
D0 is changed.
(Normal data)
Normal
data area
Initial
value area
Data register area
The data is transferred when the PLC is
stopped and restarted.
SM402
BMOV D4000 D0 K4000
FMOV K1 D4000 K4000
MOV K100 D0
D0
D4000

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-F FX5

Related product manuals