Publication 1763-RM001C-EN-P - October 2009
Using Interrupts
275
EII User Interrupt Executing (UIX)
The UIX (User Interrupt Executing) bit is set whenever the EII mechanism
detects a valid input and the controller is scanning the PFN. The EII
mechanism clears the UIX bit when the controller completes its
processing of the EII subroutine.
The EII UIX bit can be used in the control program as conditional logic to
detect if an EII interrupt is executing.
EII User Interrupt Enable (UIE)
The UIE (User Interrupt Enable) bit is used to enable or disable EII
subroutine processing. This bit must be set if you want the controller to
process the EII subroutine when an EII event occurs.
If you need to restrict when the EII subroutine is processed, clear the UIE
bit. An example of when this is important is if a series of math
calculations need to be processed without interruption. Before the
calculations take place, clear the UIE bit. After the calculations are
complete, set the UIE bit and EII subroutine processing resumes.
EII User Interrupt Lost (UIL)
UIL (User Interrupt Lost) is a status flag that represents an interrupt has
been lost. The controller can process 1 active and maintain up to 2
pending user interrupt conditions before it sets the lost bit.
This bit is set by the controller. It is up to the control program to utilize,
track, and clear the lost condition.
Sub-Element Description
Address
Data Format
Type
User Program
Access
UIX - User Interrupt Executing EII:0/UIX
binary (bit)
status
read only
Sub-Element Description
Address
Data Format
Type
User Program
Access
UIE - User Interrupt Enable
EII:0/UIE
binary (bit)
control
read/write
Sub-Element Description
Address
Data Format
Type
User Program
Access
UIL - User Interrupt Lost
EII:0/UIL
binary (bit)
status
read/write
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive