148
Rockwell Automation Publication 2080-UM002K-EN-E - March 2019
Chapter 8
Use the High-Speed Counter and Programmable Limit Switch
Output Mask Bits (HSCAPP.OutputMask)
The HSCAPP.OutputMask defines which embedded
outputs on the controller
can be directly controlled by the high-speed counter. The HSC sub-system has
the ability to directly (without control program interaction) turn outputs ON or
OFF based on the HSC accumulator reaching the High or Low presets. The bit
pattern stored in the HSCAPP.OutputMask variable defines which outputs are
controlled by the HSC and which outputs are not controlled by the HSC.
For example, if the user wants to control outputs 0, 1, 3, using HSC then the user
needs to assign,
HscAppData.OutputMask = 2#1011
(OR using Decimal Value: HscAppData.OutputMask = 11)
The bit pattern of the HSCAPP.OutputMask variable directly corresponds to the
output bits on the controller. Bits that are set (1) are enabled and can be turned
on or off by the HSC sub-system. Bits that are clear (0) cannot be turned on or
off by the HSC sub-system. The mask bit pattern can be configured only during
initial setup.
The following table shows example of how HPOutput and OutputMask controls
Embedded output.
TIP
Data loaded into the underflow variable must be less than or equal to
the data resident in the low preset (HSCAPP.LPSetting) or an HSC error
is generated.
Description
Data Format
User Program Access
HSCAPP.OutputMask
word (32-bit binary)
read/write
Effect of HSC Output Mask on Embedded Outputs
Output Variable
32-Bit Signed Integer Data Word
32…20 19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
HSCAPP.HPOutput (high
preset output)
0
1
0
1
0
1
0
1
0
0
1
1
0
0
0
1
1
0
0
1
HSCAPP.OutputMask
(output mask)
1
1
0
0
0
0
0
0
0
1
1
0
0
0
1
1
0
0
1
1
Embedded output
(10-point)
0
1
Embedded output
(16-point)
0
1
0
1
Embedded output
(24-point)
1
0
1
0
1
Содержание 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 ...