Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-445
PSWAPP
1
2
3
4
6
6
7
8
7.18 Other instructions
7.18.18 Load + Unload (PSWAPP)
7.18.18 Load + Unload (PSWAPP)
PSWAPP
*1: Designated as "<Drive No.>:<File Name>". Example) 1:MAIN
*2: Local devices cannot be used.
Function
(1) The standby type program stored in the program memory (drive 0) designated by is
deleted from the program memory, and at the same time, the program stored in the memory
card or standard ROM designated by is transferred to the program memory and placed in
standby status.
(When the program is transferred to the program memory, the program must have a
continuous free space.)
The program set as the "scan execution type" with the PSCAN instruction or the program set
as the "low speed execution type" with the PLOW instruction cannot be deleted.
(2) The program to be transferred to the program memory by the PSWAPP instruction will have
the program No. of the program to be deleted from the program memory.
(If there is an open program No. before the program to be deleted from the program
memory, the program to be transferred to the program memory will not have the open
program No.)
When program No. 2 is "Empty", the program transferred to the program memory is
registered as program No. 3 by the program swapping of program No. 3 with this instruction.
: Character string data of the file name of the program to be unloaded, or head number of the devices storing
the character string data (BIN 16 bits)
: Drive No. storing the program to be loaded, character string data of the file name, or head number of the
devices storing the character string data (BIN 16 bits)
*1
: Device turned ON for 1 scan on completion of the instruction (bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
$
Other
Bit Word Bit Word
–– –– ––
–– –– ––
*2
–– –– –– ––
Process
High
performance
Redundant
Universal
Basic
PSWAPP
Command
PSWAPP
D
S1 S2
S1
S2
D
S1
S2
D
S1
S2
MAIN6 enters
1
2
MAIN1
Empty
MAIN3
MAIN4
MAIN5
3
4
5
1
2
MAIN1
Empty
MAIN6
MAIN4
MAIN5
3
4
5
Swaps "MAIN3" with "MAIN6"
by the PSWAPP instruction.
Program No. Program name Program No. Program name