Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
33 Applied Instructions (Extension File Register Control)
33.1 LOADR / Load From ER
745
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Applied Instructions
(Data Transfer 3)
32
Applied Instructions
(High Speed
Processing 2)
33
Applied Instructions
(Extension File
Register Control)
34
Applied Instructions
(FX
3U
-CF-ADP)
35
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
B
Applied
Instruction List
Function and operation explanation
1. 16-bit operation (LOADR/LOADRP)
1) For the FX3U and FX3UC PLCs
The contents (current values) of extension file registers (ER) stored in a memory cassette (flash memory)
having the same numbers with the extension registers specified by to +n-1 are read, and
transferred to the extension registers (R) specified by to +n-1 stored in the PLC's built-in RAM.
- Reading and transfer are executed in units of device. Up to 32768 devices can be read and transferred.
- Different from SAVER, INITR and LOGR instructions, it is not necessary to execute this instruction in units of sector.
- If "n" is set to "0", it is handled as "32768" when the instruction is executed.
2) For the FX3G and FX3GC PLCs
a) When connecting to a memory cassette (A memory cassette cannot be connected to FX
3GC PLC.)
The contents (current values) of extension file registers (ER) stored in a memory cassette (EEPROM)
having the same numbers with the extension registers (R) specified by to +n-1 are read,
and transferred to the extension registers specified by to +n-1 stored in the PLC's built-in
RAM.
- Reading and transfer are executed in units of device. Up to 24000 devices can be read and transferred.
LOADRP
EN ENO
s
n
Command
input
Device of extension register to which data is to be transferred
Number of points to be read (transferred)
E
E+1
E+2
E+3
E+n-2
E+n-1
+1
+2
+3
+n-2
+n-1
Read (transfer)
Extension file registers (ER)
inside memory cassette
Extension registers (R)
inside built-in RAM
s
s
s
s
s
ss
s
s
s
s
s
E
E+1
E+2
E+3
E+n-2
E+n-1
+1
+2
+3
+n-2
+n-1
Read (transfer)
s
s
s
s
s
ss
s
s
s
s
s
Extension file registers (ER)
inside memory cassette
Extension registers (R)
inside built-in RAM