Hsc_Set_Sts - Allen-Bradley Micro800 General Instructions Manual

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

Advertisement

Chapter 14
High-Speed Counter (HSC) instructions

HSC_SET_STS

Parameter
Enable
HscID
Mode1Done
HPReached
LPReached
OFOccurred
UFOccurred
Sts
ENO
332
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
Data type
Description
type
Input
BOOL
Function block enable.
When Enable = TRUE, set/reset the HSC status.
When Enable = FALSE, there is no HSC status change.
Input
UINT
Manually sets ore resets the HSC status.
Input
BOOL
Mode 1A or 1B counting is done.
Input
BOOL
High preset reached.
This bit can be reset to FALSE when HSC is not counting.
Input
BOOL
Low preset reached.
This bit can be reset to FALSE when HSC is not counting.
Input
BOOL
Overflow occurred.
This bit can be reset to FALSE when necessary.
Input
BOOL
Underflow occurred.
This bit can be reset to FALSE when necessary.
Output
UINT
See
Output
BOOL
Enable out.
Applies only to LD programs.
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
HSC Status codes (STS)
on
page
331.

Advertisement

Table of Contents
loading

Table of Contents