Rockwell Automation Publication 2080-UM002K-EN-E - March 2019
147
Use the High-Speed Counter and Programmable Limit Switch
Chapter
8
Low Preset (HSCAPP.LPSetting)
The HSCAPP.LPSetting is the lower setpoint (in counts) that defines when the
HSC sub-system generates an interrupt.
The data loaded into the low preset must be greater than or equal to the data
resident in the underflow (HSCAPP.UFSetting) parameter, or an HSC error is
generated. (If the underflow and low preset values are negative numbers, the low
preset must be a number with a smaller absolute value.)
Overflow Setting (HSCAPP.OFSetting)
The HSCAPP.OFSetting defines the upper count limit for the counter. If the
counter’s accumulated value increments past the value specified in this variable,
an overflow interrupt is generated. When the overflow interrupt is generated, the
HSC sub-system rolls the accumulator over to the underflow value and the
counter continues counting from the underflow value (counts are not lost in this
transition). The user can specify any value for the overflow position, provided it is
greater than the underflow value and falls between -2,147,483,648 and
2,147,483,647.
Underflow Setting (HSCAPP.UFSetting)
The HSCAPP.UFSetting defines the lower count limit for the counter. If the
counter’s accumulated value decrements past the value specified in this variable,
an underflow interrupt is generated. When the underflow interrupt is generated,
the HSC sub-system resets the accumulated value to the overflow value and the
counter then begins counting from the overflow value (counts are not lost in this
transition). The user can specify any value for the underflow position, provided it
is less than the overflow value and falls between -2,147,483,648 and
2,147,483,647.
Description
Data Format
User Program Access
HSCAPP.LPSetting
long word (32-bit INT)
read/write
Description
Data Format
Type
User Program Access
HSCAPP.OFSetting
long word (32-bit INT)
control
read/write
TIP
Data loaded into the overflow variable must be greater than or equal
to the data resident in the high preset (HSCAPP.HPSetting) or an HSC
error is generated.
Description
Data Format
User Program Access
HSCAPP.UFSetting
long word (32-bit INT)
read/write
Содержание Micro830
Страница 6: ...vi Rockwell Automation Publication 2080 UM002K EN E March 2019 Preface Notes ...
Страница 24: ...10 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 1 Hardware Overview Notes ...
Страница 70: ...56 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 4 Wire Your Controller Notes ...
Страница 88: ...74 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 5 Communication Connections Notes ...
Страница 190: ...176 Rockwell Automation Publication 2080 UM002K EN E March 2019 Chapter 9 Controller Security Notes ...
Страница 254: ...240 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix A Specifications Notes ...
Страница 273: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 259 Quickstarts Appendix C ...
Страница 300: ...286 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix C Quickstarts Notes ...
Страница 330: ...316 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix E Troubleshooting Notes ...
Страница 344: ...330 Rockwell Automation Publication 2080 UM002K EN E March 2019 Appendix F PID Function Blocks Notes ...
Страница 352: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 338 Index Notes ...
Страница 353: ...Rockwell Automation Publication 2080 UM002K EN E March 2019 339 ...