Hscsts Data Type - 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
Parameter
CountEnable
ErrorDetected
CountUpFlag
CountDwnFlag
Mode1Done
OVF
320
HSCAppData parameters example
The following image shows the HSCAppData parameters in the Variable
Selector.

HSCSTS data type

HSCSTSInfo (data type HSCSTS) displays the status of the High-Speed
Counter.
HSCSTSInfo status actions
During HSC counting, the following HSC status actions occur.
If the HSC function block is counting with command 0x01, the HSC status
is continuously updated.
If an error occurs, the Error_Detected flag is turned on and an error code is
set.
HSCSTSInfo parameters
The following table describes the HSCSTSInfo parameters.
Data
HSC mode
User program access Description
type
BOOL
0...9
read only
BOOL
0...9
read/write
BOOL
0...9
read only
BOOL
2...9
read only
BOOL
0 or 1
read/write
BOOL
0...9
read/write
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Counting enabled.
Non-zero means error detected.
Count up flag.
Count down flag.
HSC is Mode 1A or Mode 1B; accumulator counts up to the HP value.
Overflow is detected.

Advertisement

Table of Contents
loading

Table of Contents