Справочник Пользователя для Mitsubishi Electronics MELSEC -Q/L

Скачать
Страница из 1086
682
7  APPLICATION INSTRUCTIONS
7.14  File Register Switching Instructions
File setting for comments
QCDSET(P)
Processing details
 • Changes the file register file name used in the program to the file name being stored at the device designated by (S). After 
the file name change, comment data being used by the sequence program perform processing in relation to the comment 
data of the file name after the change.
Ex.
When switching from Drive No. 1/File name B to Drive No. 4/File name B
 • Drive number can be designated from 1 to 4. (The drive number cannot be designated as drive 0 (program memory).) Note 
that available drives vary depending on the CPU module used. Refer to the manual of the CPU module and check the 
drives that can be specified.
 • It is not necessary to designate the extension (.QCD) with the file name.
 • A file name setting can be deleted by designating the NULL character (00H) for the file name.
 • File names designated with this instruction will be given priority even if a drive number and file name have been designated 
in the parameters.
(S):   Character string data of the drive No./file name in which the comment file is set, or head number of the devices where the character string data is stored 
(character string)
Setting 
data
Internal device
R, ZR
J\
U\G
Zn
Constant
$
Others
Bit
Word
Bit
Word
(S)
Process
High
performance
Redundant Universal
LCPU
Basic
QCDSET
QCDSETP
Command
Command
QCDSET
QCDSETP
S
S
S
Drive  1 
File name
A
Drive  1 
File name
B
Drive  1 
File name
C
Drive  2 
File name
A
Drive  4 
File name
B
Drive  4 
File name
A
Processing executed to file registers
Setting of a drive number 
and file name
File name of the 
presently used 
comment file
File name of file 
register used after 
the execution of  
QCDSET instruction 
(
)
(
)