: Character string for the name of the program file to be set in the stand-by status or head number of the devices where the character string data is stored
S
(character string)
Setting
Internal Devices
Data
Bit
Word
––
S
Function
(1) Places the file name program stored in the device designated by
(2) Only the programs stored in the drive No. 0 (program memory/internal RAM) can be set as the stand-by type.
(3) The specified program is placed in the stand-by status when END processing is performed.
(4) This instruction will be given priority even in cases when a program execution type has been designated in the
parameters.
(5) It is not necessary to designate the extension (.QPG) with the file name.
(Only .QPG files will be acted on.)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Error
code
2410
The program with the file name specified by
2412
The program type of the file name specified by
The range of the device specified by
4101
corresponding device.
Program Example
(1) The following program places the program with the file name ABC in the stand-by status when X0 goes ON.