n
This record set allows you to preset an input filter in steps of 2.56
m
s steps for I+0.0 ...
I+1.7.
n
By preceding a filter you define how long an input signal must be present before it is
recognized as "1" signal. With the help of filters you may e.g. filter signal peaks at a
blurred input signal.
n
The entry happens as a factor of 2.56μs and is within the range 1 ... 16000 i.e.
2.56
m
s ... 40.96ms.
Counter 0
87h
Counter 1
8Dh
Counter 2
93h
Counter 3
99h
Type
Function
82h
88h
8Eh
94h
Double word
comparison value
83h
89h
8Fh
95h
Double word
Load value
84h
8Ah
90h
96h
Double word
End value
85h
8Bh
91h
97h
Word
Hysteresis
86h
8Ch
92h
98h
Word
Pulse
n
Each of the counter parameters has an assigned record set depending on the counter
number.
n
Additionally for every counter the parameter are summoned in one record set.
n
For every counter the record sets have the same structure.
Functions
Chap. 6.12 ‘Counter - Additional functions’ page 125
n
Comparison value
–
Via the parametrization you may preset a comparison value that may influence
the counter output respectively throw a process interrupt when compared with the
recent counter value.
–
The behavior of the output respectively the process interrupt has to be set via the
record set 0.
n
Load value, end value
–
You may define a main counting direction for every counter via the parametriza-
tion.
–
If "none" or "endless" is chosen, the complete counting range is available:
Lower counter limit: - 2 147 483 648 (-2
31
)
Upper counter limit: + 2 147 483 648 (-2
31
-1)
–
Otherwise you may set an upper and a lower limit by setting a
load value
as start
and an
end value
.
n
Hysteresis
–
The hysteresis serves the avoidance of many toggle processes of the output and
the interrupt, if the counter value is in the range of the comparison value.
–
You may set a range of 0 to 255.
–
The settings 0 and 1 deactivate the hysteresis.
–
The hysteresis influences zero run, comparison, over- and underflow.
n
Pulse (Pulse duration)
–
The pulse duration tells for what time the output is set when the parametrized
comparison criterion is reached respectively overstepped.
–
The pulse duration can be set in steps of 2.048ms between 0 and 522.24ms.
–
If the pulse duration = 0, the output is set active until the comparison condition is
not longer fulfilled.
Record set 82 ... 99h -
Counter parameter
VIPA System 300S
+
Deployment I/O periphery
Counter - Parametrization
HB140 | CPU | 314-6CF23 | en | 19-01
119