Show/Hide Bookmarks
Function library
Conversion
In the example, the conversion is made at FB FEVAN1.
•
The data format of the target code is important for the conversion (see attribute table,
chapter 7.9.2).
•
Adapt the input signal to the data format of the target code:
– C1093 (numerator).
– C1094 (denominator).
•
C1094 also fixes the decimal positions of the target code:
– Set C1094 according to the existing decimal positions of the target code. The number of
decimal positions can be obtained from the code table.
– 0.0001 ≙ no decimal positions.
– 0.001 ≙ one decimal position.
– 0.01 ≙ two decimal positions.
– 0.1 ≙ three decimal positions.
– 1 ≙ four decimal positions.
•
For target codes with % scaling the formula for conversion must include scaling factor (see
example 1).
7-208
EDSVS9332P-D21 EN 3.0
L