5 MELSEC FUNCTIONS
5.21.3 Program scan execution registration
The program of the specified file name is put in a scan execution status.
Function definition
5.21.4 Program low-speed execution registration
The program of the specified file name is put in a low-speed execution status.
Function definition
5- 113
BOOL PSCAN_M (BOOL EN, STRING S1);
Argument Name
EN
S1
Remarks: Only the program stored in the program memory (drive No.: 0) can be
placed in a scan execution status.
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, the program whose file name is
(* "ABC" is placed in a scan execution status.
PSCAN_M (X0, sData);
Corresponding MELSEC command
PSCAN (Program scan execution registration command)
BOOL PLOW_M (BOOL EN, STRING S1);
Argument Name
EN
S1
Remarks: Only the program stored in the program memory (drive No.: 0) can be
placed in a low-speed execution status.
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, the program whose file name is
(* "ABC" is placed in a low-speed execution status.
PLOW_M (X0, "ABC");
Corresponding MELSEC command
PLOW (Program low-speed execution registration instruction)
PSCAN_M
IN/OUT
Execution condition (Function is executed only when the
IN
result is TRUE)
File name of program to be put in scan execution status
IN
(character string data)
PLOW_M
IN/OUT
Execution condition (Function is executed only when the
IN
result is TRUE)
File name of program to be put in low-speed execution
IN
status (character string data)
Description
Description
Description
Description
*)
*)
*)
*)
5- 113