Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
130
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.9 Data Register and File Register [D]
2) When file registers of different device numbers are specified for the source and destination
Write
When X001 is set to ON, the contents of the data
register area [B] are transferred to the data register
area [B] and file register area [A] as shown in the
figure on the left.
If data cannot be written to the file register area [A]
because the protect switch of the memory cassette is
ON, data is written to only the data register area [B].
4.9.5 Cautions on using file registers
1. Cautions on using a memory cassette
When changing the contents of file registers stored in the memory cassette, confirm the following conditions:
Set to OFF the protect switch in the memory cassette.
It takes 66 to 132 ms to write data to one serial block (500 points) in the memory cassette (flash memory). It takes
80 ms to write data to one serial block (500 points) in the memory cassette (EEPROM).
Execution of the program is paused during this period.
Because the watchdog timer is not refreshed at this time, it is necessary to take proper countermeasures such as
insertion of WDT instruction in a user program.
*1
*1. Only FX3U/FX3UC PLC
2. Allowable number of writes to the memory
Data can be written to the memory cassette up to 10,000 times, and to the memory (EEPROM) built in FX3G PLCs
up to 20,000 times.
When a continuous operation type instruction is used for data writing in a program, data is written to the memory in
every operation cycle of the PLC. To prevent this, make sure to use a pulse operation type instruction (BMOVP).
3. Cautions on handling file registers in the same-number register update mode in BMOV (FNC 15)
instruction
When updating the contents of the same number file register, make sure that the file register number at and
are equal to each other.
Make sure that the number of transfer points specified by "n" does not exceed the file register area.
If the number of transfer points specified by "n" exceeds the file register area, an operation error (M8067) occurs
and the instruction is not executed.
In the case of indexing
When and are indexed, the instruction is executed if the actual device number is within the file
register area and the number of transfer points is within the file register area also.
Write
Data register
[B]
Inside system
RAM
Inside built-in
memory or
memory cassette
Program
memory
Program/
comment
File register
[A]
D1000
Data
memory
Data register
Data register
D7999
D 0
D1400
D1499
D1499
D1100
Write
500 points ×
14 blocks
maximum
(7000 points
maximum)
D1400
D1199
X001
FNC 15
BMOVP
D1100 D1400 K100
S
D
n
OFF
M8024
S
D
S
D