![Allen-Bradley Micro830 Manual Download Page 175](http://html.mh-extra.com/html/allen-bradley/micro830/micro830_manual_2900197175.webp)
Rockwell Automation Publication 2080-UM002K-EN-E - March 2019
161
Use the High-Speed Counter and Programmable Limit Switch
Chapter
8
At that point, the next presets (HSCHP and HSCLP) defined in the PLS data
become active.
When the HSC counts to that new preset, the new output data is written
through the HSC mask. This process continues until the last element within the
PLS data block is loaded. At that point the active element within the PLS data
block is reset to zero. This behavior is referred to as circular operation.
If invalid data is loaded during operation, an HSC error is generated and causes a
controller fault.
You can use the PLS in Up (high), Down (low), or both directions. If your
application only counts in one direction, ignore the other parameters.
The PLS function can operate with all of the other HSC capabilities. The ability
to select which HSC events generate a user interrupt are not limited.
PLS Example
Setting Up the PLS data
Using Connected Components Workbench, define the PLS data HSC_PLS’s
dimension as [1..4].
TIP
The HSCHPOutput is only written when HSCHP is reached. The
HSCLPOutput is written when HSCLP is reached.
TIP
Output High Data is only operational when the counter is counting up.
Output Low Data is only operational when the counter is counting
down.
PLS Data Definition
Data
Description
Data Format
HSCHP
High Preset
32-bit signed integer
HSCLP
Low Preset
HSCHPOutput
Output High Data
32-bit binary
(bit 31--> 0000 0000 0000 0000 0000 0000 0000
0000 <--bit 0)
HSCLPOutput
Output Low Data
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 ...