EasyManuals Logo

Rockwell Automation Allen-Bradley Micro820 User Manual

Rockwell Automation Allen-Bradley Micro820
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #198 background imageLoading...
Page #198 background image
198 Rockwell Automation Publication 2080-UM002M-EN-E - April 2022
Chapter 9 Use the High-Speed Counter and Programmable Limit Switch
The Count Down bit is used with the bidirectional counters (modes 2…9). If the
HSCSTS.CountEnable bit is set, the Count Down bit is set (1). If the
HSCSTS.CountEnable bit is clear, the Count Down bit is cleared (0).
The Mode Done status flag is set (1) by the HSC sub-system when the HSC is
configured for Mode 0 or Mode 1 behavior, and the accumulator counts up to
the High Preset.
The HSCSTS.OVF status flag is set (1) by the HSC sub-system whenever the
accumulated value (HSCSTS.Accumulator) has counted through the overflow
variable (HSCAPP.OFSetting).
This bit is transitional and is set by the HSC sub-system. It is up to the control
program to utilize, track if necessary, and clear (0) the overflow condition.
Overflow conditions do not generate a controller fault.
The Underflow status flag is set (1) by the HSC sub-system whenever the
accumulated value (HSCSTS.Accumulator) has counted through the underflow
variable (HSCAPP.UFSetting).
This bit is transitional and is set by the HSC sub-system. It is up to the control
program to utilize, track if necessary, and clear (0) the underflow condition.
Underflow conditions do not generate a controller fault.
The Count Direction status flag is controlled by the HSC sub-system. When the
HSC accumulator counts up, the direction flag is set (1). Whenever the HSC
accumulator counts down, the direction flag is cleared (0).
If the accumulated value stops, the direction bit retains its value. The only time
the direction flag changes is when the accumulated count reverses.
Mode Done (HSCSTS.Mode1Done)
Description Data Format
HSC Modes
(1)
(1) For Mode descriptions, see HSC Mode (HSCAPP.HSCMode) on page 189.
User Program Access
HSCSTS.Mode1Done bit 0 or 1 read/write
Overflow (HSCSTS.OVF)
Description Data Format
HSC Modes
(1)
(1) For Mode descriptions, see HSC Mode (HSCAPP.HSCMode) on page 189.
User Program Access
HSCSTS.OVF bit 0…9 read/write
Underflow (HSCSTS.UNF)
Description Data Format
HSC Modes
(1)
(1) For Mode descriptions, see HSC Mode (HSCAPP.HSCMode) on page 189.
User Program Access
HSCSTS.UNF bit 0…9 read/write
Count Direction (HSCSTS.CountDir)
Description Data Format
HSC Modes
(1)
(1) For Mode descriptions, see HSC Mode (HSCAPP.HSCMode) on page 189.
User Program Access
HSCSTS.CountDir bit 0…9 read only

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rockwell Automation Allen-Bradley Micro820 and is the answer not in the manual?

Rockwell Automation Allen-Bradley Micro820 Specifications

General IconGeneral
BrandRockwell Automation
ModelAllen-Bradley Micro820
CategoryController
LanguageEnglish

Related product manuals