6.9.5 Clear interrupt event
Input/output
Operand
Data type
EVNT
Constant
Byte
CLR - EVNT instruction will remove all types of EVNT
interrupt events in interrupt queue. This instruction is
used for removing unnecessary interrupts.
Interrupt Events:
I1.2 Rising edge PLC_EVENT_INPUTP0 0 Highest priority
I1.4 Rising edge PLC_EVENT_INPUTP1 1 High priority
Timer interrupt 0 PLC_EVENT_TIMER0 10 Low priority
Timer interrupt 1 PLC_EVENT_TIMER1 11 Lowest priority
Example:
149
Made with FlippingBook - Online magazine maker