EasyManuals Logo
Home>Allen-Bradley>Controller>Micro830

Allen-Bradley Micro830 User Manual

Allen-Bradley Micro830
284 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
Page #159 background imageLoading...
Page #159 background image
Rockwell Automation Publication 2080-UM002G-EN-E - March 2015 145
Use the High-Speed Counter and Programmable Limit Switch Chapter 8
HSC_SET_STS Function
Block
The HSC Set Status function block can be used to change the HSC counting
status. This function block is called when the HSC is not counting (stopped).
Programmable Limit Switch
(PLS) Function
The Programmable Limit Switch function allows you to configure the
High-Speed Counter to operate as a PLS (programmable limit switch) or rotary
cam switch.
When PLS operation is enabled (HSCAPP.PLSEnable = True), the HSC
(High-Speed Counter) uses PLS data for limit/cam positions. Each limit/cam
position has corresponding data parameters that are used to set or clear physical
outputs on the controller’s base unit. The PLS data block is illustrated below.
HSC Parameters
Parameter Parameter
Typ e
Data Type Parameter Description
Enable Input BOOL Enable function block.
When Enable = TRUE, set/reset the HSC status.
When Enable = FALSE, there is no HSC status
change.
HscId Input See HSC APP
Data Structure
on page 125
Describes which HSC status to set.
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 HSC function block execution status
Refer to HSC Function Block Status Codes on
page 144 for HSC status code description (except
0x02 and 0x04).
HSC
HSC
HscId
STS
Mode1Done
HPReached
LPReached
OFOccured
UFOccured
Enable
45646

Table of Contents

Other manuals for Allen-Bradley Micro830

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Micro830 and is the answer not in the manual?

Allen-Bradley Micro830 Specifications

General IconGeneral
BrandAllen-Bradley
ModelMicro830
CategoryController
LanguageEnglish

Related product manuals