144
Rockwell Automation Publication 2080-UM002L-EN-E - November 2021
Chapter 8 Use the High-Speed Counter and Programmable Limit Switch
PLS Example
Setting Up the PLS Data
Using Connected Components Workbench software, define the PLS data
HSC_PLS’s dimension as [1…4].
Once the values above for all 4 PLS data elements have been entered, the PLS is
configured.
Assume that HSCAPP.OutputMask = 31 (HSC mechanism controls Embedded
Output 0...4 only), and HSCAPP.HSCMode = 0.
PLS Operation for This Example
When the ladder logic first runs, HSCSTS.Accumulator = 1, therefore all the
outputs are turned off. The value of HSCSTS.HP = 250
When HSCSTS.Accumulator = 250, the HSC_PLS[1].HscHPOutput is sent
through the HSCAPP.OutputMask and energizes the outputs 0 and 1.
This will repeat as the HSCSTS.Accumulator reaches 500, 750, and 1000. The
controller energizes outputs 0...2, 0...3, and 0...4 respectively. Once completed,
the cycle resets and repeats from HSCSTS.HP = 250.
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
Содержание Allen-Bradley Micro850
Страница 12: ...12 Rockwell Automation Publication 2080 UM002L EN E November 2021 Preface Notes ...
Страница 36: ...36 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 2 About Your Controller Notes ...
Страница 44: ...44 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 3 Install Your Controller Notes ...
Страница 120: ...120 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 7 Motion Control Notes ...
Страница 156: ...156 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 9 Controller Security Notes ...
Страница 184: ...184 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 10 Using microSD Cards Notes ...
Страница 226: ...226 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix C Quickstarts 10 Click Finish to complete ...
Страница 248: ...248 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix C Quickstarts Notes ...
Страница 262: ...262 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix D User Interrupts Notes ...
Страница 272: ...272 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix E Troubleshooting Notes ...