Using the High_Speed_Counter technology object
3.5 Configuring the High_Speed_Counter
Counting, measurement and position detection
Function Manual, 12/2017, A5E32009889-AG
113
Comparison value 1
Operating mode "Use count value as reference"
With the parameter assignment of the comparison value (Page 44), you specify the counter
value at which the digital output DQ1 switches as a result of the selected comparison event.
You must enter an integer (DINT) that is greater than comparison value 0 and less than or
equal to the high counting limit. The default setting is "10".
Operating mode "Use measured value as reference"
With the parameter assignment of the comparison value (Page 52), you specify the
measured value at which the digital output DQ1 switches as a result of the selected
comparison event.
You must enter a floating point number (REAL) that is greater than comparison value 0. The
maximum value is 7.922816 x 10
28
. The default setting is "10.0". The unit of the comparison
value depends on the measured variable.
You use this parameter to specify the count direction for which the selected function is valid.
You can select from the following options:
In both directions
The comparison and switching of the respective digital output take
place regardless of the count direction.
Up The comparison and switching of the respective digital output only
takes place when the counter counts up.
Down The comparison and switching of the respective digital output only
takes place when the counter counts down.
The parameter can be configured for the following functions:
● At comparison value for a pulse duration
● After set command from CPU until comparison value
By configuring the pulse duration for the function "At comparison value for a pulse duration",
you specify the number of milliseconds for which the respective digital output is active.
If you enter "0" and the counter value corresponds to the comparison value, the digital output
remains active until the next count pulse.
You can enter a value between 0.0 and 6553.5.
The default setting is "500.0", which is equivalent to a pulse duration of 0.5 s.