EasyManua.ls Logo

Allen-Bradley Micro800 - Page 321

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...
High-Speed Counter (HSC) instructions Chapter 14
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 321
Parameter
Data
type
HSC mode User program access Description
CountEnable BOOL 0...9 read only Counting enabled.
UNF BOOL 0...9 read/write Underflow is detected.
CountDir BOOL 0...9 read only 1: count up; 0: count down.
HPReached BOOL 2...9 read/write High preset reached.
LPReached BOOL 2...9 read only Low preset reached.
OFCauseInter BOOL 0...9 read/write Overflow caused a HSC interrupt.
UFCauseInter BOOL 2...9 read/write Underflow caused a HSC. interrupt.
HPCauseInter BOOL 0...9 read/write High preset reached, causing a HSC interrupt.
LPCauseInter BOOL 2...9 read/write Low Preset reached, causing a HSC interrupt.
PlsPosition UINT 0...9 read only Position of the Programmable Limit Switch (PLS).
ErrorCode UINT 0...9 read/write Displays the error codes detected by the HSC sub-system.
Accumulator DINT
read/write Actual accumulator reading.
HP DINT
read only Last high preset setting.
LP DINT
read only Last low preset setting.
HPOutput UDINT
read/write Last high preset output setting.
LPOutput UDINT
read/write Last low preset output setting.
HSCSTSInfo parameter details
HSCSTSInfo (data type HSCSTS) parameters are used to determine the status of
the High-Speed Counter.
CountEnable
Parameter Data type HSC mode User program access
HSCSTS.CountEnable BOOL 0...9 read only
Indicates the status of the High-Speed Counter, whether counting is enabled (1)
or disabled (0, default).
ErrorDetected
Parameter Data type HSC mode User program access
HSCSTS.ErrorDetected BOOL 0...9 read/write
Detects if an error is present in the HSC sub-system. Configuration errors are the
most common types of error represented by the ErrorDetectedr. When the bit is
set (1), look at the specific error code in parameter HSCSTS.ErrorCode, which is
maintained by the controller. You can clear the ErrorDetected bit when necessary.

Table of Contents

Other manuals for Allen-Bradley Micro800

Related product manuals