Sti function configuration, Sti program pou, Sti auto start (sti0.as) – Rockwell Automation 2080-LC50 Micro830 and Micro850 Programmable Controllers User Manual User Manual

Page 238: Sti function status information, Sti user interrupt executing (sti0.ex)

Advertising
background image

222

Rockwell Automation Publication 2080-UM002F-EN-E - December 2013

Appendix D User Interrupts

STI Function Configuration

STI Program POU

This is the name of the Program Organizational Unit (POU) which is executed
immediately when this STI Interrupt occurs. You can choose any
pre-programmed POU from the drop-down list.

STI Auto Start (STI0.AS)

The AS (Auto Start) is a control bit that can be used in the control program. The
auto start bit is configured with the programming device and stored as part of the
user program. The auto start bit automatically sets the STI Timed Interrupt
Enable (STI0.Enabled) bit when the controller enters any executing mode.

STI Set Point Milliseconds Between Interrupts (STI0.SP)

When the controller transitions to an executing mode, the SP (set point in
milliseconds) value is loaded into the STI. If the STI is configured correctly, and
enabled, the POU in the STI configuration is executed at this interval. This value
can be changed from the control program by using the STIS instruction.

STI Function Status Information

STI Function status bits can be monitored either in the User Program, or in
Connected Components Workbench, in Debug mode.

STI User Interrupt Executing (STI0.EX)

The EX (User Interrupt Executing) bit is set whenever the STI mechanism
completes timing and the controller is scanning the STI POU. The EX bit is
cleared when the controller completes processing the STI subroutine.

Sub-Element Description

Data Format

User Program
Access

AS - Auto Start

binary (bit)

read only

Sub-Element
Description

Data Format

Range

User Program
Access

SP - Set Point Msec

word (INT)

0…65,535

read/write

TIP

The minimum value cannot be less than the time required to scan the
STI POUplus the Interrupt Latency.

Sub-Element Description

Data Format

User Program
Access

EX - User Interrupt Executing

binary (bit)

read only

Advertising
This manual is related to the following products: