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
ER - Error Code
STI:0.ER
word (INT)
status
read only
UIX - User Interrupt Executing
STI:0/UIX
binary (bit)
status
read only
UIE - User Interrupt Enable
STI:0/UIE
binary (bit)
control
read/write
UIL - User Interrupt Lost
STI:0/UIL
binary (bit)
status
read/write
UIP - User Interrupt Pending
STI:0/UIP
binary (bit)
status
read only
TIE - Timed Interrupt Enabled
STI:0/TIE
binary (bit)
control
read/write
AS - Auto Start
STI:0/AS
binary (bit)
control
read only
ED - Error Detected
STI:0/ED
binary (bit)
status
read only
SPM - Set Point Msec
STI:0.SPM
word (INT)
control
read/write
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