Program Control; Program Standby; Program Output Off Standby - Mitsubishi Electric MELSEC Q Series Programming Manual

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

Advertisement

5 MELSEC FUNCTIONS

5.21 Program Control

5.21.1 Program standby

The program of the specified file name is put in a standby status.
Function definition

5.21.2 Program output OFF standby

The program of the specified file name is brought into non-execution and put in a standby status.
Function definition
5- 112
PSTOP_M
BOOL PSTOP_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 standby 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 standby status.
PSTOP_M (X0, "ABC");
Corresponding MELSEC command
PSTOP (Program standby command)
BOOL POFF_M (BOOL EN, STRING S1);
Argument Name
EN
S1
Remarks: Only the program stored in the program memory (drive No.: 0) can be
brought into non-execution and placed in a standby status.
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, the program whose file name is
(* "ABC" is brought into non-execution and placed in a standby status.
POFF_M (X0, sData);
Corresponding MELSEC command
POFF (Program output OFF standby command)
IN/OUT
Execution condition (Function is executed only when the
IN
result is TRUE)
File name of program to be put in standby status
IN
(character string data)
POFF_M
IN/OUT
Execution condition (Function is executed only when the
IN
result is TRUE)
File name of program to be brought into non-execution
IN
and put in a standby status (character string data)
Description
Description
Description
Description
*)
*)
*)
*)
5- 112

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents