UIE (enable interrupt)

The UIE instruction enables a specific user interrupt.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L20E, L50E, and L70E controllers.
UIE
UIE
UIE parameters
Parameter
Parameter Type
Data Type
Description
Enable
Input
BOOL
Instruction enable.
  • TRUE: Start enable 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
UIE
Output
BOOL
Rung status (same as Enable).

UIE examples

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