Allen-Bradley MicroLogix 1200 Reference Manual page 81

Hide thumbs Also See for MicroLogix 1200:
Table of Contents

Advertisement

High Preset Mask (HPM)
Description Address
HPM - High
HSC:0/HPM bit
Preset Mask
(1) For Mode descriptions, see HSC Mode (MOD) on page 5-16.
The HPM (High Preset Mask) control bit is used to enable (allow) or
disable (not allow) a high preset interrupt from occurring. If this bit is
clear (0), and a High Preset Reached condition is detected by the HSC, the
HSC user interrupt is not executed.
This bit is controlled by the user program and retains its value through a
power cycle. It is up to the user program to set and clear this bit.
High Preset Interrupt (HPI)
Description
Address
HPI - High
HSC:0/HPI bit
Preset Interrupt
(1) For Mode descriptions, see HSC Mode (MOD) on page 5-16.
The HPI (High Preset Interrupt) status bit is set (1) when the HSC
accumulator reaches the high preset value and the HSC interrupt is
triggered. This bit can be used in the control program to identify that the
high preset condition caused the HSC interrupt. If the control program
needs to perform any specific control action based on the high preset, this
bit is used as conditional logic.
This bit can be cleared (0) by the control program and is also cleared by
the HSC sub-system whenever these conditions are detected:
• Low Preset Interrupt executes
• Underflow Interrupt executes
• Overflow Interrupt executes
• Controller enters an executing mode
Data Format HSC Modes
(1)
0 to 7
Data Format HSC Modes
0 to 7
Using the High-Speed Counter
Type
User Program Access
control read/write
Type
User Program Access
(1)
status read/write
Publication 1762-RM001C-EN-P
5-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Micrologix 1500

Table of Contents