EasyManuals Logo

Rockwell Automation Allen-Bradley Micro870 Original Instructions

Rockwell Automation Allen-Bradley Micro870
290 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 #127 background imageLoading...
Page #127 background image
Rockwell Automation Publication 2080-UM002L-EN-E - November 2021 127
Chapter 8 Use the High-Speed Counter and Programmable Limit Switch
For Embedded HSC, valid HSCID value is only 0…5.
The HSCMode variable sets the High-Speed Counter to one of 10 types of
operation. This integer value is configured through the programming device
and is accessible in the control program.
The main high-speed counters support 10 types of operation mode and the sub
high-speed counters support 5 types (mode 0, 2, 4, 6, 8). If the main high-speed
counter is set to mode 1, 3, 5, 7 or 9, then the resub high-speed counter will be
disabled.
For more information on HSC Function Operating Modes and Input
Assignments, see HSC Inputs and Wiring Mapping
on page 123.
HSC Mode 0 – Up Counter
Blank cells = don’t care, = rising edge, = falling edge
HSC Mode 1 – Up Counter with External Reset and Hold
HSC Mode (HSCAPP.HSCMode)
Description Data Format User Program Access
HSC Mode word (UINT) read/write
HSC Operating Modes
Mode
Number
Type
0
Up Counter – The accumulator is immediately cleared (0) when it reaches the high preset. A low preset
cannot be defined in this mode.
1
Up Counter with external reset and hold – The accumulator is immediately cleared (0) when it reaches
the high preset. A low preset cannot be defined in this mode.
2 Counter with external direction
3 Counter with external direction, reset, and hold
4 Two input counter (up and down)
5 Two input counter (up and down) with external reset and hold
6 Quadrature counter (phased inputs A and B)
7 Quadrature counter (phased inputs A and B) with external reset and hold
8 Quadrature X4 counter (phased inputs A and B)
9 Quadrature X4 counter (phased inputs A and B) with external reset and hold
Table 23 - HSC Mode 0 Examples
Input Terminals Embedded Input 0 Embedded Input 1 Embedded Input 2 Embedded Input 3 CE Bit Comments
Function Count Not Used Not Used Not Used
Example 1 on (1) HSC Accumulator + 1 count
Example 2 on (1) ß off (0) off (0) Hold accumulator value
Inputs 0…11 are available for use as inputs to other functions regardless
of the HSC being used.
Table 24 - HSC Mode 1 Examples
Input Terminals Embedded Input 0 Embedded Input 1 Embedded Input 2 Embedded Input 3 CE Bit Comments
Function Count Not Used Reset Hold
Example 1 on (1) off (0) off (0) on (1) HSC Accumulator + 1 count

Table of Contents

Other manuals for Rockwell Automation Allen-Bradley Micro870

Questions and Answers:

Question and Answer IconNeed help?

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

Rockwell Automation Allen-Bradley Micro870 Specifications

General IconGeneral
BrandRockwell Automation
ModelAllen-Bradley Micro870
CategoryController
LanguageEnglish

Related product manuals