Appendix 5 Substitute Functions; File Registers - Mitsubishi Electric MELSEC iQ-F FX5 User Manual

Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

Appendix 5

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 is transferred collectively to the data registers when the power of the
FX3 PLC is OFFON or the PLC is STOPRUN.
File registers function of FX3 PLC
• The initial value setting of the data register
• When the power OFFON or the PLC is STOPRUN, the data
register is initialized.
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 OFFON or the PLC is STOPRUN, 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
Operation
input
BMOVP
K1
D1000
D1000 and later: 100 points,
initial value is changed.
Operation
input
MOV
K100
D1000 is changed.
(Normal data)
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.
Substitute Functions
Substitute function of FX5 PLC
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
OFFON, reset or the PLC is STOPRUN.
Divide data register area into initial value area and normal data area.
When the PLC is STOPRUN, 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
Data register area
K100
D4000
D1000
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.
D0
The data is transferred when the PLC is
Normal
data area
stopped and restarted.
SM402
Initial
BMOV D4000
value area
Initial pulse
The data is transferred from the
initial value area to the normal
data area.
Operation
input
BMOV
Initial value area is changed.
Operation
input
Reference
Page 97
Page 99
D0
K4000
K1
D4000 K4000
MOV
K100
D0
D0 is changed.
(Normal data)
APPENDIX

Appendix 5 Substitute Functions

A
359

Advertisement

Table of Contents
loading

Table of Contents