HYDAC CSI-F-10 User Manual

Page 98

Advertising
background image

GSM Radio Module CSI-F-10

Page 98

Status 29.01.2009

HYDAC ELECTRONIC GMBH

Part.-Nr.:

669752

9.6.3 Greater than

The Greater than function compares two numerical input values and
outputs a "1" at its Boolean output if value x

1

is greater than x

2

,

otherwise a "0".

In view of the fact that numerical values are presented on computers
as floating point numbers with finite precision, it is difficult to make
decisions in border ranges. (See the explanation in Chapter 9.6.1,
Equals

function). This is however usually irrelevant in everyday

usage, because the accuracy is to 8 significant decimal places.

When however it is important that a precise decision be made for a
border range, then you can install the Rounding function upstream
(see Chap. 9.3.8).

Inputs: x

1

: (Numerical)

x

2

: (Numerical)

Outputs: y:

(Boolean)

Parameters: -


9.6.4 Greater than or Equal to

The Greater than or equal to function compares two numerical input
values and outputs a "1" at its Boolean output if value x

1

is greater

than or equal to x

2

, otherwise a "0".


For more on the subject of precision, please see the explanations in
the Greater than function (see Chapter 9.6.3).

Inputs: x

1

: (Numerical)

x

2

: (Numerical)

Outputs: y:

(Boolean)

Parameters: -


9.6.5 Less than

The Less than function compares two numerical input values and
outputs a "1" at its Boolean output if value x

1

is less than x

2

,

otherwise a "0".

For more on the subject of precision, please see the explanations in
the Greater than function (see Chapter 9.6.3).

Inputs: x

1

: (Numerical)

x

2

: (Numerical)

Outputs: y:

(Boolean)

Parameters: -


Advertising