User interrupt pending (hsc0.pe), User interrupt lost (hsc0.ls), Use hsc – Rockwell Automation 2080-LC50 Micro830 and Micro850 Programmable Controllers User Manual User Manual

Page 160

Advertising
background image

144

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

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

• Low preset reached
• High preset reached
• Overflow condition – count up through the overflow value
• Underflow condition – count down through the underflow value

The HSC EX 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 EX bit when the controller completes its
processing of the HSC subroutine.

User Interrupt Pending (HSC0.PE)

The PE (User Interrupt Pending) is a status flag that represents an interrupt is
pending. This status bit can be monitored or used for logic purposes in the
control program if you need to determine when a subroutine cannot be executed
immediately. This bit is maintained by the controller and is set and cleared
automatically.

User Interrupt Lost (HSC0.LS)

The LS (User Interrupt Lost) is a status flag that represents an interrupt has been
lost. The controller can process 1 active and maintain up to 1 pending user
interrupt conditions before it sets the lost bit.

This bit is set by the controller. It is up to the control program to utilize, track the
lost condition if necessary.

Use HSC

To use HSC, refer to

Use the High Speed Counter on page 196

.

Description

Data Format

HSC Modes

(1)

(1) For Mode descriptions, see Count Down (HSCSTS.CountDownFlag) on page 129.

User Program Access

HSC0.PE

bit

0…9

read only

Description

Data Format

HSC Modes

(1)

(1) For Mode descriptions, see Count Down (HSCSTS.CountDownFlag) on page 129.

User Program Access

HSC0.LS

bit

0…9

read/write

Advertising
This manual is related to the following products: