![Allen-Bradley MicroLogix 1400 Instruction Manual Download Page 129](http://html1.mh-extra.com/html/allen-bradley/micrologix-1400/micrologix-1400_instruction-manual_2900205129.webp)
Publication 1766-RM001A-EN-P - October 2008
Using the High-Speed Counter and Programmable Limit Switch
127
to the overflow value and the counter then begins counting from the
overflow value (counts are not lost in this transition). The user can specify
any value for the underflow position, provided it is less than the overflow
value and falls between -2,147,483,648 and 2,147,483,647.
To load data into the underflow variable, the control program must toggle
(low to high) the Set Parameters (HSC:0.0/SP) control bit. When the SP bit
is toggled high, the data currently stored in the HSC function file is
transferred/loaded into the HSC sub-system.
Output Mask Bits (OMB)
The OMB (Output Mask Bits) define which 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 OMB variable defines which outputs
are controlled by the HSC and which outputs are not controlled by the
HSC.
The bit pattern of the OMB 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.
This table illustrates this relationship:
TIP
Data loaded into the underflow variable must be less than or equal to the
data resident in the low preset (HSC:0.LOP) or an HSC error is generated.
Description
Address
Data Format
Type
User Program Access
OMB - Output Mask Bits HSC:0.OMB
word (16-bit binary) control read only
Affect of HSC Output Mask on Base Unit Outputs
Output Address
16-Bit Signed Integer Data Word
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
HSC:0.HPO (high preset output)
0
0
1
1
0
0
0
1
1
0
0
1
HSC:0.OMB (output mask)
0
1
1
0
0
0
1
1
0
0
1
1
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive