5 MELSEC FUNCTIONS
5.3 Termination
5.3.1 Stop
STOP_M
When the execution condition is satisfied, output Y is reset and the CPU operation is stopped.
(This operation is the same as performed when the RUN/STOP DIP switch is moved to the STOP position.)
Function definition
5 - 9
BOOL STOP_M (BOOL EN);
Argument Name
EN
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, the CPU operation is stopped.
STOP_M (X0);
Corresponding MELSEC command
STOP (Sequence program stop)
IN/OUT
Execution condition (Function is executed only when the
IN
result is TRUE)
Description
Description
*)
5 - 9