UIF (flush pending interrupt)

The UIF instruction flushes or removes a pending user interrupt.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L20E, L50E, and L70E controllers.
UIF
UIF
UIF parameters
Parameter
Parameter Type
Data Type
Description
Enable
Input
BOOL
Instruction enable.
  • TRUE: Start UIF operation.
  • FALSE: Do not perform function.
IRQType
Input
UDINT
Use the STI defined words.
  • IRQ_EII0
  • IRQ_EII1
  • IRQ_EII2
  • IRQ_EII3
  • IRQ_EII4
  • IRQ_EII5
  • IRQ_EII6
  • IRQ_EII7
  • IRQ_HSC0
  • IRQ_HSC1
  • IRQ_HSC2
  • IRQ_HSC3
  • IRQ_HSC4
  • IRQ_HSC5
  • IRQ_STI0
  • IRQ_STI1
  • IRQ_STI2
  • IRQ_STI3
  • IRQ_UFR
  • IRQ_UPM0
  • IRQ_UPM1
  • IRQ_UPM2
  • IRQ_UPM3
  • IRQ_UPM4
UIF
Output
BOOL
Rung status (same as Enable).

UIF examples

UIF function block diagram example
UIF function block diagram example
UIF ladder diagram example
UIF ladder diagram example
UIF structured text example
UIF structured text example
(* ST Equivalence: *) TESTOUTPUT := UIF(TESTENABLE, 2) ;
Results
Results
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal