5 counting functions – HYDAC CMU 1000 User Manual

Page 96

Advertising
background image

Condition Monitoring Unit CMU 1000

Page 96

Revised 17.12.2009

HYDAC ELECTRONIC GMBH Mat.-No.:

669749

7.5 Counting Functions

7.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
change 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. 7.8.5). The

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

Inputs: x

1

:

Pulses

(Boolean)

x

2

:

Counting

(Boolean)

x

3

:

Reset

(Boolean)

Outputs: y:

Count value (Numerical)

Parameters: -


7.5.2 Stop Clock

The Stop clock 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 set 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. 7.8.5).

Inputs: x

1

:

Start/Stop

(Boolean)

x

2

:

Reset

(Boolean)

Outputs: y: (Numerical)
Parameters: p

1

:

Output

(entry list)


Advertising