Delta AH500 Programming Manual page 188

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

Instruction code
MC/MCR
Symbol:
Explanation:
1.
The instruction MCR is used to set the master control. When the instruction MC is executed,
the instructions between MC and MCR are executed as usual. When the instruction MC is OFF,
the actions of the instructions between MC and MCR are as follows.
Instruction type
General-purpose timer
Timer used in the function block
Accumulative timer
Counter
Coils driven by OUT
Devices driven by SET and RST
Applied instruction
2.
The instruction MCR is used to reset the master control, and is placed at the end of the master
control program. There should not be any contact instruction before MCR.
3.
MC/MCR supports the nested program structure. There are at most 32 levels of nested
program structures (N0~N31). Please refer to the example below.
Operand
N
Level of the nested
N :
MC
program structure
MCR
The timer value is reset to zero. The coil and the
contact are OFF.
The timer value is reset to zero. The coil and the
contact are OFF.
The coil is OFF. The timer value and the state of the
contact remains the same.
The coil is OFF. The timer value and the state of the
contact remains the same.
All coils are OFF.
The states of the devices remain the same.
All applied instructions are not executed. The
FOR/NEXT loop is still repeated N times, but the
actions of the instructions inside the FOR/NEXT loop
follow those of the instructions between MC and MR.
Ch ap te r 5 Bas ic Instruc ti ons
Function
Setting/Resetting the master
control
N0~N31
Description
5 - 9

Advertisement

Table of Contents
loading

Table of Contents