Parameters
Description
Range of values
Default
Characteristics of the
output
The output and the "Comparator" (STS_CMP)
status bit are set, dependent on this param-
eter.
n
No comparison
n
Count
³
compar-
ison value
n
Count
£
compar-
ison value
n
Pulse at compar-
ison value
No comparison
Pulse duration
With the setting "Characteristics of the output:
Pulse at comparison value" the pulse duration
of the output signal may be specified. Only
even values are possible. The value is internal
multiplied with 1.024ms.
0 to 510
0
Hardware interrupt:
Hardware gate
opening
In the activated state a hardware interrupt is
generated when the hardware gate opens
while the software gate is open.
n
activated
n
deactivated
Hardware interrupt:
Hardware gate closing
In the activated state a hardware interrupt is
generated when the hardware gate closes
while the software gate is open.
n
activated
n
deactivated
deactivated
Hardware interrupt:
On reaching compa-
rator
In the activated state a hardware interrupt is
triggered on reaching the comparator (reac-
tion) value.
The process interrupt may only be released if
in addition the value of "Characteristics of the
output" is not "no comparison".
n
activated
n
deactivated
deactivated
Hardware interrupt:
Overflow
In the activated state a hardware interrupt is
generated in the event of an overflow
(exceeding the upper count limit).
n
activated
n
deactivated
deactivated
Hardware interrupt:
Underflow
In the activated state a hardware interrupt is
generated in the event of an underflow (under-
shooting the lower count limit).
n
activated
n
deactivated
deactivated
6.6.2 SFB 47 - COUNT - Counter controlling
The SFB 47 is a specially developed block for compact CPUs for controlling of the coun-
ters. The SFB is to be called with the corresponding instance DB. Here the parameters of
the SFB are stored. With the SFB COUNT (SFB 47) you have following functional
options:
n
Start/Stop the counter via software gate
SW_GATE
n
Enable/control digital output DO
n
Read the status bit
n
Read the actual count and latch value
n
Request to read/write internal counter registers
Description
VIPA System 300S
+
Deployment I/O periphery
Counter > SFB 47 - COUNT - Counter controlling
HB140 | CPU-SC | 313-5BF23 | en | 19-01
111