3 . I n s t r u c t i o n S e t
M N050 03003E F or mo re infor ma tio n vi sit:
w w w. e a t o n . c o m
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
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...