EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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
Page #716 background imageLoading...
Page #716 background image
7-342
QCDSET(P)
(4) A file name setting can be deleted by designating the NULL character (00
H
) for the file
name.
(5) File names designated with this instruction will be given priority even if a drive number and
file name have been designated in the parameters.
If the file name is changed with the QCDSET instruction, the file name returns to
the name specified by the parameter when the CPU module is switched from
STOP to RUN.
To maintain the file name even after the CPU mode is changed from STOP to
RUN, execute the QCDSET instruction with the SM402 special relay, which turns
ON during one scan when the CPU enters from STOP to RUN mode.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• File name does not exist at the drive number designated by . (Error code: 2410)
Program Example
(1) The following program switches object file to file name ABC. QCD at drive No. 0 when X0 is
ON, and to DEF. QCD at drive No. 1 when X1 is ON.
[Ladder Mode]
[List Mode]
Caution
(1) 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.
S
Switches to ABC at drive No. 1
Switches to DEF at drive No. 3
Step Instruction Device

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals