7-380
PSCAN(P)
7.17.3 Program scan execution registration instruction (PSCAN(P))
PSCAN(P)
Function
(1) Sets the program whose file name is being stored at the device designated by in the scan
execution type.
(2) Only the programs stored in the drive No. 0 (program memory/internal RAM) can be set as
the scan execution type.
(3) Designated programs assume the scan execution type with END processing.
When programs A, B, and C exist and program A performs "PSCAN" of program D.
(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.)
: File name of the program to be set as a scan execution type, or head number of the devices where the file
name 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
Command
Command
PSCAN
PSCANP
S
S
PSCAN
PSCANP
S
S
S
Example
ABCENDA B CDEND
Scan Scan
Execution of
PSCAN
Program D
is executed