Hsc sts (hsc status) data structure, Counting enabled (hscsts.countenable), Error detected (hscsts.errordetected) – Rockwell Automation 2080-LC50 Micro830 and Micro850 Programmable Controllers User Manual User Manual

Page 144

Advertising
background image

128

Rockwell Automation Publication 2080-UM002F-EN-E - December 2013

Chapter 8 Use the High-Speed Counter and Programmable Limit Switch

HSC STS (HSC Status) Data
Structure

Define a HSC STS data (HSC status information data, data type HSCSTS)
when programming a HSC.

Counting Enabled (HSCSTS.CountEnable)

The Counting Enabled control bit is used to indicate the status of the
High-Speed Counter, whether counting is enabled (1) or disabled (0, default).

Error Detected (HSCSTS.ErrorDetected)

The Error Detected flag is a status bit that can be used in the control program to
detect if an error is present in the HSC sub-system. The most common type of
error that this bit represents is a configuration error. When this bit is set (1), you
should look at the specific error code in parameter HSCSTS.ErrorCode.
This bit is maintained by the controller and is set when there is an HSC error.
This bit can be cleared by the user, if necessary.

Description

Data Format

HSC Modes

(1)

(1) For Mode descriptions, see

HSC Mode (HSCAPP.HSCMode) on page 118

.

User Program Access

HSCSTS.CountEnable

bit

0…9

read only

Description

Data Format

HSC Modes

(1)

(1) For Mode descriptions, see

HSC Mode (HSCAPP.HSCMode) on page 118

.

User Program Access

HSCSTS.ErrorDetected

bit

0…9

read/write

Advertising
This manual is related to the following products: