EasyManua.ls Logo

Allen-Bradley Micro800 - Page 322

Allen-Bradley Micro800
652 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
Loading...
Chapter 14 High-Speed Counter (HSC) instructions
322 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
CountUpFlag
Parameter Data type HSC mode User program access
HSCSTS.CountUpFlag BOOL 0...9 read only
Used with all of the HSCs (modes 0...9). If the HSCSTS.CountEnable bit is set,
the Count Up bit is set (1). If the HSCSTS.CountEnable is cleared, the Count
Up bit is cleared (0).
CountDownFlag
Parameter Data type HSC mode User program access
HSCSTS.CountDownFlag BOOL 2...9 read only
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).
Mode1Done
Parameter Data type HSC mode User program access
HSCSTS.Mode1Done BOOL 0 or 1 read/write
The HSC sub-system sets the HSCSTS.Mode1Done status flag to (1) when the
HSC is configured for Mode 0 or Mode 1 behavior, and the accumulator counts
up to the High Preset value.
OVF
Parameter Data type HSC mode User program access
HSCSTS.OVF BOOL 0...9 read/write
The HSC sub-system sets the HSCSTS.OVF status flag to (1) 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 use, track, and clear (0) the overflow
condition.
Overflow conditions do not generate a controller fault.

Table of Contents

Other manuals for Allen-Bradley Micro800

Related product manuals