20.3.38 Counter details
20.3.38.1 Behaviour
The module counts the number of received values and outputs the result on the Output 0:
Evey value that is received via
ter.
Evey value that is received via
If the value 1 (logical "true") is received on
default value.
If the value 0 (logical "false") is received on
put 0
Input 1
or
The data type of the Inputs 2 and 3 is Boolean. If necessary, incoming values are converted be-
fore the calculation (see conversion table below).
The internal data type of the module is Number.
20.3.38.2 Extended settings
Via the Initial value parameter, you can specify the default value of the counter.
20.3.38.3 Conversion table
Boolean
(converted)
Boolean ---
0
Number
≠ 0
DPTTime true
are ignored.
true
→
→
false
Input 0
increases the output value of the coun-
Input 1
reduces the output value of the counter.
Input 2
Input 3
, the counter is reset to the
, the incoming values on
In-
218/240