Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
713
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
33 Extension File Register Control – FNC290 to FNC299
33.2 FNC291 – SAVER / Save to ER
31
FNC275-FNC279
Data
Transfer 3
32
FNC280-FNC289
High Speed
Processing 2
33
FNC290-FNC299
Extension File
Register
34
FNC300-FNC305
FX
3U
-CF-ADP
35
SFC•STL
Programming
36
Interrupt
Function
37
Special Device
38
Error Code
A
Version Up
Information
B
Execution Times
Extension file registers are written in units of sector (2048 points).
The table below shows the head device number in each sector:
If "n" is set to "0", it is handled as "2048" when the instruction is executed.
When writing (transfer) of 2048 points is finished, execution of the instruction is completed and the instruction
execution complete flag M8029 turns ON.
The number of already written points is stored in .
2. Related device
For the instruction execution complete flag use method, refer to Subsection 6.5.2.
Cautions
1. Cautions on writing data to a memory cassette
Memory cassettes adopt flash memory. Note the following contents when writing data to extension file registers in a
memory cassette with the FNC291 instruction.
It takes about 340ms to write 2048 points. If “n” is set to K0 or K2048, the operation cycle for executing this
instruction becomes longer than about 340ms.
If the operation cycle is severely affected, write data in two or more operation cycles.
When writing data in two or more operation cycles, set “n” in the range from K1 to K1024.
Do not abort execution of this instruction in the middle of operation. If execution is aborted, unexpected data may
be written to extension file registers.
If execution of this instruction is aborted by turning OFF the power, execute the instruction again using step 2
described below after turning ON the power again.
Sector
number
Head device number Written device range
Sector
number
Head device number Written device range
Sector 0 R0 ER0 to ER2047 Sector 8 R16384 ER16384 to ER18431
Sector 1 R2048 ER2048 to ER4095 Sector 9 R18432 ER18432 to ER20479
Sector 2 R4096 ER4096 to ER6143 Sector 10 R20480 ER20480 to ER22527
Sector 3 R6144 ER6144 to ER8191 Sector 11 R22528 ER22528 to ER24575
Sector 4 R8192 ER8192 to ER10239 Sector 12 R24576 ER24576 to ER26623
Sector 5 R10240 ER10240 to ER12287 Sector 13 R26624 ER26624 to ER28671
Sector 6 R12288 ER12288 to ER14335 Sector 14 R28672 ER28672 to ER30719
Sector 7 R14336 ER14336 to ER16383 Sector 15 R30720 ER30720 to ER32767
Device number Name Description
M8029
Instruction execution
complete flag
When execution of the target instruction is completed, the instruction execution complete
flag M8029 turns ON.
In a program, however, there may be two or more instructions which can use the flag
M8029. To avoid confusion, make sure to use the NO contact of this flag immediately
under SAVER instruction so that this flag works only for SAVER instruction.
D
M
FNC295
INITERP
S n
M8029
Write
command
RST M
SET M
Instruction execution complete flag
FNC291
SAVER
S n D