Low preset reached (hscsts.lpreached), Overflow interrupt (hscsts.ofcauseinter), Underflow interrupt (hscsts.ufcauseinter) – Rockwell Automation 2080-LC50 Micro830 and Micro850 Programmable Controllers User Manual User Manual

Page 147

Advertising
background image

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

131

Use the High-Speed Counter and Programmable Limit Switch Chapter 8

Low Preset Reached (HSCSTS.LPReached)

The Low Preset Reached status flag is set (1) by the HSC sub-system whenever
the accumulated value (HSCSTS.Accumulator is less than or equal to the low
preset variable HSCAPP.LPSetting).

This bit is updated continuously by the HSC sub-system whenever the controller
is in an executing mode. Writing to this element is not recommended.

Overflow Interrupt (HSCSTS.OFCauseInter)

The Overflow Interrupt status bit is set (1) when the HSC accumulator counts
through the overflow value and the HSC interrupt is triggered. This bit can be
used in the control program to identify that the overflow variable caused the
HSC interrupt. If the control program needs to perform any specific control
action based on the overflow, 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
• High Preset Interrupt executes
• Underflow Interrupt executes

Underflow Interrupt (HSCSTS.UFCauseInter)

The Underflow Interrupt status bit is set (1) when the HSC accumulator counts
through the underflow value and the HSC interrupt is triggered. This bit can be
used in the control program to identify that the underflow condition caused the
HSC interrupt. If the control program needs to perform any specific control
action based on the underflow, 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 occurs

Description

Data Format

HSC Modes

(1)

(1) For Mode descriptions, see

HSC Mode (HSCAPP.HSCMode) on page 118

.

User Program Access

HSCSTS.LPReached)

bit

2…9

read only

Description

Data Format

HSC Modes

(1)

(1) For Mode descriptions, see

HSC Mode (HSCAPP.HSCMode) on page 118

.

User Program Access

HSCSTS.OFCauseInter

bit

0…9

read/write

Description

Data Format

HSC Modes

(1)

(1) For Mode descriptions, see

HSC Mode (HSCAPP.HSCMode) on page 118

.

User Program Access

HSCSTS.UFCauseInter

bit

2…9

read/write

Advertising
This manual is related to the following products: