Mitsubishi MELSEC Q Series Programming Manual page 716

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

QCDSET(P)
(4) A file name setting can be deleted by designating the NULL character (00
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.
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
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]
Step
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.
7-342
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.
Instruction
Device
.
S
Switches to ABC at drive No. 1
Switches to DEF at drive No. 3
) for the file
H
(Error code: 2410)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents