High preset interrupt (hscsts.hpcauseinter), Low preset interrupt (hscsts.lpcauseinter) – Rockwell Automation 2080-LC50 Micro830 and Micro850 Programmable Controllers User Manual User Manual

Page 148

Advertising
background image

132

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

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

• High Preset Interrupt occurs
• Overflow Interrupt occurs

High Preset Interrupt (HSCSTS.HPCauseInter)

The 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 occurs
• Underflow Interrupt occurs
• Overflow Interrupt occurs

Low Preset Interrupt (HSCSTS.LPCauseInter)

The Low Preset Interrupt status bit is set (1) when the HSC accumulator reaches
the low preset value and the HSC interrupt has been triggered. This bit can be
used in the control program to identify that the low preset condition caused the
HSC interrupt. If the control program needs to perform any specific control
action based on the low preset, this bit would be used as conditional logic.

This bit can be cleared (0) by the control program and is also be cleared by the
HSC sub-system whenever these conditions are detected:

• High Preset Interrupt occurs
• Underflow Interrupt occurs
• Overflow Interrupt occurs

Programmable Limit Switch Position (HSCSTS.PLSPosition)

Description

Data Format

HSC Modes

(1)

(1) For Mode descriptions, see

HSC Mode (HSCAPP.HSCMode) on page 118

.

User Program Access

HSCSTS.HPCauseInter

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.LPCauseInter

bit

2…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.PLSPosition

Word (INT)

0…9

read only

Advertising
This manual is related to the following products: