EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 684

Mitsubishi Electric MELSEC-Q/L
1084 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...
682
7 APPLICATION INSTRUCTIONS
7.14 File Register Switching Instructions
Operation error
In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program example
The following program switches object file to file name ABC.QCD at drive No. 1 when X0 is ON, and to DEF.QCD at drive
No. 3 when X1 is ON.
Precautions
This instruction will not be executed even when the execution command of this instruction is ON while SM721 (file access
in execution) is ON for the Universal model QCPU and LCPU. Execute this instruction when SM721 is OFF.
For the High-speed Universal model QCPU and LCPU, when the drive 2 (SD memory card) is specified as the drive
number, this instruction cannot be executed while SM606 (SD memory card forced disable instruction) is ON. If the
instruction is executed, the command will be ignored.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
2410 The file name does not exist at the drive number specified in (S). 
4101 There is no NULL code "00H" within the range of the corresponding devices
starting from the device number specified by (S).

[Ladder Mode]
[List Mode]
Switches to ABC at drive No. 1
Switches to DEF at drive No. 4
Step Instruction Device

Table of Contents

Related product manuals