EasyManua.ls Logo

Allen-Bradley Micro800

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
332 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
HSC_SET_STS manually sets or resets the HSC counting status.
HSC_SET_STS function block operation
The HSC function block must be stopped (not counting) for the
HSC_SET_STC function block to set or reset its HTS status. If the HSC
function block is not stopped, the input parameters will continue to update and
any changes made using the HSC_SET_STS function block will be ignored.
Arguments
Parameter
Parameter
type
Data type Description
Enable Input BOOL Function block enable.
When Enable = TRUE, set/reset the HSC status.
When Enable = FALSE, there is no HSC status change.
HscID Input UINT Manually sets ore resets the HSC status.
Mode1Done Input BOOL Mode 1A or 1B counting is done.
HPReached Input BOOL High preset reached.
This bit can be reset to FALSE when HSC is not counting.
LPReached Input BOOL Low preset reached.
This bit can be reset to FALSE when HSC is not counting.
OFOccurred Input BOOL Overflow occurred.
This bit can be reset to FALSE when necessary.
UFOccurred Input BOOL Underflow occurred.
This bit can be reset to FALSE when necessary.
Sts Output UINT See HSC Status codes (STS) on page 331.
ENO Output BOOL Enable out.
Applies only to LD programs.
HSC_SET_STS

Table of Contents

Other manuals for Allen-Bradley Micro800

Related product manuals