Defining a selectable timed interrupt, Defining a selectable timed interrupt -3 – Rockwell Automation 1785-Lxxx Enhanced and Ethernet PLC-5 Programmable Controllers User Manual

Page 261

Advertising
background image

Publication 1785-UM012D-EN-P - July 2005

Using Selectable Timed Interrupts 17-3

The block-transfers in an STI should only be between the controller and local
I/O. Remote block-transfer instructions in an STI cause the controller to
resume executing the user program while waiting for the block-transfer to
complete. If you want the STI to run to completion before returning to your
main logic program, include an UID and UIE instruction pair in your STI
program file. Place the block-transfer instruction inside of a UID/UIE pair.

Defining a Selectable
Timed Interrupt

To configure a selectable timed interrupt, you must specify:

ATTENTION

When the controller runs an STI with a block-transfer
instruction to a remote chassis, the MCP resumes
processing while waiting for the block-transfer to
complete unless a UIE/UID instruction pair is used.

In this Field Do the Following

Status
File

Setpoint

Enter the time interval between interrupts (1 to 32767
ms).

If you are not using or want to disable an STI, enter
zero.

Important: Remember to specify an interrupt time
longer than the STI file execution time. If you do not,
the controller sets a minor fault (S:10, bit 2).

S:30

File number

Enter the number of the program file that contains the
STI program.

If you are not using an STI, enter zero.

S:31

Advertising