Allen-Bradley MicroLogix 1200 Reference Manual page 78

Hide thumbs Also See for MicroLogix 1200:
Table of Contents

Advertisement

5-8
Using the High-Speed Counter
Publication 1762-RM001C-EN-P
User Interrupt Enable (UIE)
Description
Address
UIE - User Interrupt Enable HSC:0/UIE bit
(1) For Mode descriptions, see HSC Mode (MOD) on page 5-16.
The UIE (User Interrupt Enable) bit is used to enable or disable HSC
subroutine processing. This bit must be set (1) if the user wants the
controller to process the HSC subroutine when any of the following
conditions exist:
• Low preset reached
• High preset reached
• Overflow condition - count up through the overflow value
• Underflow condition - count down through the underflow value
If this bit is cleared (0), the HSC sub-system does not automatically scan
the HSC subroutine. This bit can be controlled from the user program
(using the OTE, UIE, or UID instructions).
If you enable interrupts during the program scan via an
ATTENTION
OTL, OTE, or UIE, this instruction must be the last
instruction executed on the rung (last instruction on last
!
branch). It is recommended this be the only output
instruction on the rung.
User Interrupt Executing (UIX)
Description
UIX - User Interrupt Executing HSC:0/UIX bit
(1) For Mode descriptions, see HSC Mode (MOD) on page 5-16.
The UIX (User Interrupt Executing) bit is set (1) whenever the HSC
sub-system begins processing the HSC subroutine due to any of the
following conditions:
• Low preset reached
• High preset reached
• Overflow condition - count up through the overflow value
• Underflow condition - count down through the underflow value
The HSC UIX bit can be used in the control program as conditional logic
to detect if an HSC interrupt is executing.
The HSC sub-system will clear (0) the UIX bit when the controller
completes its processing of the HSC subroutine.
Data
HSC
Format
Modes
0 to 7
Address
Data
HSC Modes
Format
0 to 7
Type
User Program
Access
(1)
control read/write
(1)
Type
User Program
Access
status read only

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Micrologix 1500

Table of Contents