Changing the program execution type to scan execution type
PSCAN(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
• [RnPCPU (redundant)] If these instructions are used in a program executed in both systems, the execution type is not taken over when the systems are
switched. ( MELSEC iQ-R CPU Module User's Manual (Application))
These instructions change the execution type of the program with the file name stored in the specified device to a scan
execution type.
Ladder
(FILE)
FILE: File name
FBD/LD
EN
ENO
FILE
FILE: File name
■Execution condition
Instruction
PSCAN
PSCANP
Setting data
■Description, range, data type
Operand
Description
(file name)
File name of the program to be changed to a scan
execution type, or the start device where the file name is
stored
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(file name)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=PSCAN(EN,filename);
ENO:=PSCANP(EN,filename);
Range
Data type
Unicode string
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
7.30 Program Control Instructions
Data type (label)
ANYSTRING_DOUBLE
BOOL
BOOL
Constant
Others
specification
K, H E
$
7
1083