Registering Program As Scan Execution Type - Mitsubishi MELSEC-Q Series Programming Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

7.16.3

Registering program as scan execution type

PSCAN(P)
Structured ladder
PSCAN
EN
ENO
s
Input argument,
EN:
Executing condition
s:
File name whose program is set to the scan execution type
Output argument,
ENO:
Execution result
Setting
data
s
Function
(1) Sets the program whose file name is stored in the device specified for
execution type.
(2) Only the programs stored in the drive number 0 (program memory/built-in RAM) can be set
in the scan execution type.
(3) Specified programs assume the scan execution type with END processing.
Example
When programs A, B, and C exist and program A performs the PSCAN(P) instruction of
program D.
(4) This instruction will be given priority even in cases when a program execution type has been
specified in the parameters.
P: Executing condition
ST
ENO:=
(EN, s);
PSCAN
Internal device
R, ZR
Bit
Word
Bit
A
B
C
Execution of
PSCAN(P) instruction
Scan
7.16.3 Registering program as scan execution type
instructions.
PSCAN
:Bit
:String
:Bit
J
\
U
\G
Word
END
A
B
C
Program D
is executed
Scan
7.16 Program Control Instructions
PSCAN
PSCAN
High
Universal
Performance
UD
:
indicates any of the following
PSCANP
Constant
Zn
Others
$
in the scan
s
D
END
7-341
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents