5 counting functions – HYDAC CSI-F-10 User Manual

Page 96

Advertising
background image

GSM Radio Module CSI-F-10

Page 96

Status 29.01.2009

HYDAC ELECTRONIC GMBH

Part.-Nr.:

669752

9.5 Counting Functions

9.5.1 Count Pulses

The Count pulses function has three Boolean inputs and one
numerical output. If the Counting input has the value "1", then the
changes from "0" to "1" at the Pulses input will be counted and the
count value will be set at the output. If the Reset input is at "1", then
the count value, and thus the output as well, will be "0".

Flexible counting structures can thus be obtained by placing the
Pulse generation

function upstream (see Chap. 9.8.6). The

placement of a downstream Note value function (see Chap. 9.4.6)
also makes it possible to provide a counter with an interim status.

Inputs: x

1

:

Pulses

(Boolean)

x

2

:

Counting

(Boolesch)

x

3

:

Reset

(Boolean)

Outputs: y:

Count value (Numerical)

Parameters: -


9.5.2 Stop Watch

The Stop watch function has two Boolean inputs and one numerical
output. If the Start/Stop input has the value "1", then the seconds will
be counted and the time will be applied at the output. If the Reset
input is at "1", then the time, and thus the output as well, will be "0".
The behavior at the output can be controlled with the Output
parameter.

Two settings are possible:

Current time
The output value is the current number of seconds counted.

Stopped time
The output value is not the current quantity, but rather the most
recently measured quantity. This means that the current count is set
to the output whenever the time is stopped with the Start/Stop input.

Flexible time measurement structures can thus be obtained by
placing the Pulse generation function upstream (see Chap. 9.8.6).

Inputs: x

1

:

Start/Stop

(Boolean)

x

2

:

Reset

(Boolean)

Outputs: y: (Numerical)
Parameters: p

1

:

Output

(entry list)


Advertising