Publication 1766-RM001A-EN-P - October 2008
Using Interrupts 319
Selectable Time Interrupt (STI) Function File Sub-Elements Summary
STI Function File Sub-Elements
STI Program File Number (PFN)
The PFN (Program File Number) variable defines which subroutine is
called (executed) when the timed interrupt times out. A valid subroutine
file is any program file (3…255).
The subroutine file identified in the PFN variable is not a special file
within the controller; it is programmed and operates the same as any
other program file. From the control program perspective it is unique, in
that it is automatically scanned based on the STI set point.
STI Error Code (ER)
Error codes detected by the STI sub-system are displayed in this register.
The table below explains the error codes.
Selectable Timed Interrupt Function File (STI:0)
Sub-Element Description Address Data Format Type User Program
Access
For More
Information
PFN - Program File Number STI:0.PFN word (INT) control read only 319
ER - Error Code STI:0.ER word (INT) status read only 319
UIX - User Interrupt Executing STI:0/UIX binary (bit) status read only 320
UIE - User Interrupt Enable STI:0/UIE binary (bit) control read/write 320
UIL - User Interrupt Lost STI:0/UIL binary (bit) status read/write 320
UIP - User Interrupt Pending STI:0/UIP binary (bit) status read only 321
TIE - Timed Interrupt Enabled STI:0/TIE binary (bit) control read/write 321
AS - Auto Start STI:0/AS binary (bit) control read only 321
ED - Error Detected STI:0/ED binary (bit) status read only 322
SPM - Set Point Msec STI:0.SPM word (INT) control read/write 322
Sub-Element Description Address Data Format Type User Program
Access
PFN - Program File Number STI:0.PFN word (INT) control read only
Sub-Element Description Address Data Format Type User Program
Access
ER - Error Code STI:0.ER word (INT) status read only
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive