Output Mask Bits (Hscapp.outputmask) - Allen-Bradley Micro830 Manual

Hide thumbs Also See for Micro830:
Table of Contents

Advertisement

Chapter 8
Use the High-Speed Counter and Programmable Limit Switch
Effect of HSC Output Mask on Embedded Outputs
Output Variable
32-Bit Signed Integer Data Word
32...20 19
HSCAPP.HPOutput (high
preset output)
HSCAPP.OutputMask
(output mask)
Embedded output
(10-point)
Embedded output
(16-point)
Embedded output
(24-point)
148
TIP

Output Mask Bits (HSCAPP.OutputMask)

Description
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.
18
17
16
15
14
0
1
0
1
0
1
1
1
0
0
0
0
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.
Data Format
User Program Access
word (32-bit binary)
read/write
13
12
11
10
9
8
0
1
0
0
1
1
0
0
0
1
1
0
1
Rockwell Automation Publication 2080-UM002K-EN-E - March 2019
7
6
5
4
3
2
0
0
0
1
1
0
0
0
1
1
0
0
0
1
0
1
1
0
0
1
1
1
0
1
0
1
0
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Micro850Micro870

Table of Contents