Publication 1763-RM001C-EN-P - October 2009
Knowledgebase Quick Starts 553
This example also sets the User Interrupt Enable bit and the Auto Start bit
allowing the STI to execute.
IMPORTANT:
Ladder Logic Subroutine file #3 must be created in order for
this example to work. If the subroutine is not created the CPU will fault
due to a STI Error Code 1 - Invalid File Number for PFN has been
entered.
Notes on using Interrupt bits
If the Auto Start bit (AS) is set this will start the interrupt on power up and
set the Timed Interrupt Enabled bit (TIE) automatically, allowing the
interrupt to execute. Shown in the example above.
If the AS bit is not set then the TIE bit must be set through the ladder logic
in order for the interrupt to execute.
The User Interrupt Enable bit (UIE) determines if the interrupt executes or
not.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive