Rockwell Automation Publication 2080-UM002L-EN-E - November 2021
133
Chapter 8 Use the High-Speed Counter and Programmable Limit Switch
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.
shows example of how HPOutput and OutputMask controls
Embedded output.
The outputs shown in the black boxes are the outputs under the control of the
HSC sub-system. The mask defines which outputs can be controlled. The high
preset output or low preset output values (HSCAPP.HPOutput or
HSCAPP.LPOutput) define if each output is either ON (1) or OFF (0). Another
way to view this is that the high or low preset output is written through the
output mask, with the output mask acting like a filter.
The bits in the gray boxes are unused. For the 10-point controller, the first 4
bits of the mask word are used and the remaining mask bits are not functional
because they do not correlate to any physical outputs on the base unit. For the
16, 24 and 48-point controllers, the first 6, 10 and 20 bits of the mask word are
used, respectively.
The mask bit pattern can be configured only during initial setup.
The High Preset Output defines the state (1 = ON or 0 = OFF) of the outputs on
the controller when the high preset is reached. For more information on how
to directly turn outputs on or off based on the high preset being reached, see
Output Mask Bits (HSCAPP.OutputMask) on page 132
.
The high output bit pattern can be configured during initial setup, or while the
controller is operating. Use the HSC function block to load the new parameters
while the controller is operating.
Table 33 - 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
Embedded output (48-point)
0
1
0
1
0
1
0
1
High Preset Output (HSCAPP.HPOutput)
Description
Data Format
User Program Access
HSCAPP.HPOutput
long word (32 bit binary)
read/write