9 cm program functions – HYDAC CSI-F-10 User Manual

Page 80

Advertising
background image

GSM Radio Module CSI-F-10

Page 80

Status 29.01.2009

HYDAC ELECTRONIC GMBH

Part.-Nr.:

669752

9 CM Program Functions

A CM program consists of many individual functions that are linked with one another
and that are processed and evaluated cyclically.

9.1 General Information Concerning Functions

A function has Inputs, Outputs and Parameters. This means, for example, the function
"Median value" reads a numerical value at the input, forms a median value above it and
then displays this at the output. A parameter is used to define the amount of time for
which the calculation is rendered.

9.1.1 Inputs / Outputs

For most functions, the outputs change during the running time, depending on the
input. Functions are linked with one another in the Editor. This means, for example,
that the output of a function can be linked with the input of a different function. It is
possible to make one output dependent on several inputs, but not several outputs on
one input.
There are two types of inputs/outputs, depending on the value type: Numerical and
Boolean

. A "Boolean output" can only be linked with a "Boolean input" and a numerical

output can only be linked with a "numerical input".

9.1.1.1 Numerical Values

A numerical value is a decimal number, i.e. a numerical value with an optional
plus/minus sign and any number of digits after the decimal point. It is accurate to 7-8
significant places. That means that with a value of 2 million (7 places in front of the
decimal point), the addition of a value of 0.001 (3 places after the decimal point) will not
alter the numerical value. One would need accuracy to at least 10 significant places for
it to be altered.
Numerical inputs/outputs and the corresponding connection lines are shown in

blue

.


9.1.1.2 Boolean Values

A Boolean value is a logical status. There are only 2 statuses: "true" or "1" and false or
"0".
Boolean inputs/outputs and the corresponding connection lines are shown in

green

.


Advertising