Program execution control instructions
1009
Part III FP Instructions
MCE
Master control relay end
When the predetermined trigger EN is in the OFF state, the program between the master control
relay MC and master control relay end MCE instructions is not executed.
A master control instruction (MC and MCE) pair may also be programmed in between another pair
of master control instructions. This construction is called "nesting".
The constant number Num* that must correspond to MC number, both of which delimit a "nested"
program that is not executed.
It is not possible to use this function in a function block POU.
The maximum possible value that can be assigned to Num* depends
on the PLC type.
PLC types
Availability of MCE (see page 1328)
Variable Data type Function
Num* constant Constant number that must correspond to MC number, both
of which delimit a "nested" program that is not executed
LD start (* EN = start; Starting signal for the MC/MCE function.
*)
MC 1 (* 1 = Num* *)
(* ... *)
(* Execute or execute not this program part. *)
(* ... *)
MCE 1 (* 1 = Num* *)
Description
Executes the program between the master control relay MC (see page 1007) and master control
relay end MCE instructions of the same number Num* only if the trigger EN is in the ON-state.
Data types
Example
In this example, the progamming language Instruction List (IL) is used.
IL