EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 764

Mitsubishi Electric MELSEC FX Series
838 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...
7 Applied Instructions
7.27 Extension File Register Control
762
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Error
An operation error is caused in the following cases. The error flag M8067 turns ON, and the error code is
stored in D8067.
1) When the last device number to be transferred exceeds "32767" (error code: K6706).
At this time, devices up to the last one (R32767) are read and transferred.
2) When a memory cassette is not connected. (Error code: K6771)
*1
*1. This does not cause an error with the FX3G PLCs because the PLCs read the contents of the
extension file registers stored in the PLC's built-in EEPROM when a memory cassette is not
connected.
Program example
In the program example shown below, the contents (current values) of 4000 extension file registers ER1 to
ER4000 inside the memory cassette are read, and transferred to 4000 extension registers R1 to R4000 inside
the built-in RAM.
[Structured ladder]
[ST]
IF(LDP(TRUE,M0)THEN LOADR(TRUE,R1,K4000));
LOADR
EN ENO
s
n
R1
K4000
LDP
EN ENO
s
M0
Read (transfer)
ER1 K100
ER2 K50
ER3 H0003
ER4 H0101
ER3999 K55
ER4000 K59
Extension file registers (ER)
inside memory cassette
Device number
Current
value
R1 K100
R2 K50
R3 H0003
R4 H0101
R3999 K55
R4000 K59
Extension registers (R)
inside built-in RAM
Device number
Current
value

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals