5- 113 5- 113
5 MELSEC FUNCTIONS
5.21.3 Program scan execution registration PSCAN_M
The program of the specified file name is put in a scan execution status.
Function definition
BOOL PSCAN_M (BOOL EN, STRING S1);
Argument Name
IN/OUT
Description
EN IN
Execution condition (Function is executed only when the
result is TRUE)
S1 IN
File name of program to be put in scan execution status
(character string data)
Remarks: Only the program stored in the program memory (drive No.: 0) can be
placed in a scan execution status.
Return Value
Description
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)
5.21.4 Program low-speed execution registration PLOW_M
The program of the specified file name is put in a low-speed execution status.
Function definition
BOOL PLOW_M (BOOL EN, STRING S1);
Argument Name
IN/OUT
Description
EN IN
Execution condition (Function is executed only when the
result is TRUE)
S1 IN
File name of program to be put in low-speed execution
status (character string data)
Remarks: Only the program stored in the program memory (drive No.: 0) can be
placed in a low-speed execution status.
Return Value
Description
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)
Содержание MELSEC L series
Страница 1: ...Programming Manual Structured Text ...
Страница 2: ......
Страница 73: ...4 33 4 33 4 ST PROGRAM EXPRESSIONS MEMO ...
Страница 297: ......