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-43
interrupt needs to trigger on falling-edge, M1280 must be reset (OFF) first and then the DI
instruction must be enabled. Then the interrupt will be reset on the falling-edge when EI is
executed again.
Program Example:
During the ELC operation, the program scans the instructions between EI and DI, if X1 or X2 are ON,
subroutine A or B will be executed. When IRET is reached, the main program will resume.
I 101
I 201
Disabled interrupt
Enabled interrupt
Enabled interrupt
Interrupt subroutine A
Interrupt subroutine B
X1
Y0
EI
DI
EI
FEND
M0
Y1
IRET
M1
Y2
IRET
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...