HYDAC CSI-F-10 User Manual

Page 87

Advertising
background image

GSM Radio Module CSI-F-10

Page 87

Status 29.01.2009

HYDAC ELECTRONIC GMBH

Part.-Nr.:

669752

9.3.5 Division Remainder

The Division remainder function returns the division remainder (the
modulo) of the two input values at the output. The division remainder
is determined by performing a whole number division x

1

/ x

2

and

outputting the remainder of this division as output value.

If the input x

1

counts upward, e.g. sequentially by 1, and the input x

2

is 5, then the output will count around from 0 to 4.

Inputs: x

1

: (Numerical)

x

2

: (Numerical)

Outputs: y: (Numerical)
Parameters: -


9.3.6 Absolute Value

The Absolute value function returns the input value without a
plus/minus sign at the output:

y = |x|

Inputs: x:

(Numerical)

Outputs: y: (Numerical)
Parameters: -


9.3.7 Change of Algebraic Sign

The Change of sign function returns the inverse input value at the
output:

y = -x

Inputs: x:

(Numerical)

Outputs: y: (Numerical)
Parameters: -


9.3.8 Rounding

The Rounding function returns the rounded input value at the output.
With this function, it is possible not only to round to whole decimal
places, but also to whole-number multiples of a step.

The size of the step is specified in the Step parameter.

If the step size is 20, for example, then all values between -10 and
10 will be rounded off to 0, all values between 10 and 30 to 20, and
so on.

Inputs: x:

(Numerical)

Outputs: y: (Numerical)
Parameters: p

1

:

Step

(Numerical)

Advertising