Справочник Пользователя для Mitsubishi Electronics QCPU
7-342
QCDSET(P)
7.14.3
File setting for comments (QCDSET(P))
QCDSET(P)
Function
(1) Changes the file register file name used in the program to the file name being stored at the
device designated by
.
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.
processing in relation to the comment data of the file name after the change.
When switching from Drive No. 1/File name B to Drive No. 3/File name A
(2) Drive number can be designated from 1 to 4.
(The drive number cannot be designated as drive 0 (program memory/internal 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.
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.
(3) It is not necessary to designate the extension (.QCD) with the file name.
: 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 Devices
R, ZR
J
\
U
\G
Zn
Constants
$
Other
Bit
Word
Bit
Word
––
––
––
Process
High
performance
Redundant Universal
Basic
QCDSET
QCDSETP
Command
Command
QCDSET
QCDSETP
S
S
S
S
S
Example
S
Drive 1
File name
A
Drive 1
File name
B
Drive 1
File name
C
Drive 2
File name
A
Drive 3
File name
A
Drive 4
File name
A
Processing executed to file registers
Setting of a drive number
and file name
and file name
File name of the
presently used
comment file
File name of file
register used after
the execution of
QCDSET instruction
(
)
(
)