EasyManua.ls Logo

Eaton ELC-PB - Page 178

Eaton ELC-PB
728 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3. Instruction Set
MN05003003E For more information visit: www.eaton.com
3-9
General Timer
The timer value is set back to zero, the coil and the contact are
both turned OFF
Timers for Subroutines
and Interrupts
The timer value is set back to zero, the coil and the contact are
both turned OFF
Accumulative timer
The timer value and the contact stay at their present condition
Counter
The counting value and the contact stay at their present condition
OUT
All turned OFF
SET/RST
Stay at present condition
Application instructions
Remain unchanged
1. MCR is the main-control command that is placed at the end of the main-control program.
2. The MC and MCR instructions support nesting up to 8 levels. When using MC/MCR
instructions you must use the numbers associated with them in numerical order beginning with
N0 as shown in the example below. Valid numbers for MC/MCR pairs are N0-N7.
Program Example:
X0
Y0
MC N0
X1
X2
Y1
MC N1
X3
MCR N1
MCR N0
X20
MC N0
Y20
X21
MCR N0
Instruction: Operation:
LD X0
MC N0
; The control loop N0 is active when X0
is ON
LD X1 ; Load A contact of X1
OUT Y0 ; Energize Y0
:
LD X2
MC N1
; The control loop N1is active when X2
is ON
LD X3 ; Load A contact of X3
OUT Y1 ; Energize Y1
:
MCR N1
; The control loop N1 terminates
:
MCR N0
; The control loop N0 terminates
:
LD X20
MC N0
; The control loop N0 is active when X20
is ON
LD X21 ; Load A contact of X21
OUT Y20 ; Energize Y20
:
MCR N0
; The control loop N0 terminates

Related product manuals