Allen-Bradley Micro800 General Instructions Manual page 322

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

Chapter 14
High-Speed Counter (HSC) instructions
Parameter
HSCSTS.CountUpFlag
Parameter
HSCSTS.CountDownFlag
Parameter
HSCSTS.Mode1Done
Parameter
HSCSTS.OVF
322
CountUpFlag
Data type
BOOL
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
Data type
BOOL
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
Data type
BOOL
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
Data type
BOOL
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.
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
HSC mode
User program access
0...9
read only
HSC mode
User program access
2...9
read only
HSC mode
User program access
0 or 1
read/write
HSC mode
User program access
0...9
read/write

Advertisement

Table of Contents
loading

Table of Contents