Publication 1766-RM001A-EN-P - October 2008
Using Interrupts
317
To flush interrupt(s):
1.
Select which interrupts you want to flush.
2.
Find the Decimal Value for the interrupt(s) you selected.
3.
Add the Decimal Values if you selected more than one type of
interrupt.
4.
Enter the sum into the UIF instruction.
For example, to disable EII Event 1 and EII Event 3:
EII Event 1 = 32, EII Event 3 = 4
32 + 4 = 36 (enter this value)
Types of Interrupts Disabled by the UIF Instruction
Interrupt
Element
Decimal
Value
Corresponding
Bit
EII - Event Input Interrupt
Event 4
16384
bit 14
HSC - High-Speed Counter
HSC2
8192
bit 13
EII - Event Input Interrupt
Event 5
4096
bit 12
HSC - High-Speed Counter
HSC3
2048
bit 11
EII - Event Input Interrupt
Event 6
1024
bit 10
HSC - High-Speed Counter
HSC4
512
bit 9
EII - Event Input Interrupt
Event 7
256
bit 8
HSC - High-Speed Counter
HSC5
128
bit 7
EII - Event Input Interrupt
Event 0
64
bit 6
EII - Event Input Interrupt
Event 1
32
bit 5
HSC - High-Speed Counter
HSC0
16
bit 4
EII - Event Input Interrupt
Event 2
8
bit 3
EII - Event Input Interrupt
Event 3
4
bit 2
HSC - High-Speed Counter
HSC1
2
bit 1
STI - Selectable Timed Interrupt
STI
1
bit 0
Note: Bit 15 must be set to zero
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive