D-49
Program Example:
Ladder diagram:
Command code:
Operation:
X0
C20
CNT
K100
LD
X0
Load contact A of X0 C2 counter
CNT C2 K100
Setting is K100
Mnemonic Function
MC / MCR
Master control Start/Reset
Operand
N0~N7
Explanations:
1.
MC is the main-control start command. When the MC command is executed, the
execution of commands between MC and MCR will not be interrupted. When MC
command is OFF, the motion of the commands that between MC and MCR is described
as follows:
Timer
The counting value is set back to zero, the coil and the contact
are both turned OFF
Accumulative timer
The coil is OFF, and the timer value and the contact stay at their
present condition
Subroutine timer
The counting value is back to zero. Both coil and contact are
turned OFF.
Counter
The coil is OFF, and the counting value and the contact stay at
their present condition
Coils driven up by the OUT
command
All turned OFF
Devices driven up by the
SET and RST commands
Stay at present condition
Application commands
All of them are not acted , but the nest loop FOR-NEXT
command will still be executed for times defined by users even
though the MC-MCR commands is OFF.
2.
MCR is the main-control ending command that is placed at the end of the main-control
program and there should not be any contact commands prior to the MCR command.
3.
Commands of the MC-MCR main-control program supports the nest program structure,
with 8 layers as its greatest. Please use the commands in order from N0~ N7, and refer to
the following: