140
Rockwell Automation Publication 2080-UM002K-EN-E - March 2019
Chapter 8
Use the High-Speed Counter and Programmable Limit Switch
HSCID (HSCAPP.HSCID)
The following table lists the definition for HSCID.
For Embedded HSC, valid HSCID value is only 0…5.
HSC Mode (HSCAPP.HSCMode)
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.
Description
Data Format
User Program Access
HSCID
Word (UINT)
read/write
HSCID Definition
Bits
Description
15…13
HSC Module Type:
0x00: Embedded
0x01: Expansion (not yet implemented)
0x02: Plug-in module
12…8
Module Slot ID:
0x00: Embedded
0x01…0x1F: Expansion (not yet implemented)
0x01…0x05: Plug-in module
7…0
Module internal HSC ID:
0x00-0x0F: Embedded
0x00-0x07: Expansion (not yet implemented)
0x00-0x07: Plug-in module
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
Summary of Contents for Micro830
Page 6: ...vi Rockwell Automation Publication 2080 UM002K EN E March 2019 Preface Notes ...
Page 273: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 259 Quickstarts Appendix C ...
Page 300: ...286 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix C Quickstarts Notes ...
Page 352: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 338 Index Notes ...
Page 353: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 339 ...