Allen-Bradley MicroLogix 1400 Instruction Manual page 645

Programmable controllers
Hide thumbs Also See for MicroLogix 1400:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
STI:0.PFN
STI:0/AS
STI:0/UIE
STI:0.SPM
Example
The following example configures the STI to execute sub-routine file #3
(PFN=3) every 2 seconds (SPM=2000). In the subroutine file there is an
ADD instruction simply adding the value of 1 to N7:0 each time the
sub-routine is scanned.
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.
Program File Number defines which subroutine is
executed when the SPM value has timed out. The Integer
number entered must be a valid sub-routine program file
(3...255).
Auto-Start defines if the STI function will automatically
start when the MicroLogix 1400 enters run or test.
User Interrupt Enabled control bit is used to enable or
disable the STI subroutine from processing.
Setpoint (in milliseconds) defines the interval that the
interrupt will scan the PFN sub-routine.
Knowledgebase Quick Starts
Publication 1766-RM001A-EN-P - October 2008
643

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents