Function library
Function blocks
3.5.39 Freely assignable input variables (FEVAN)
3−199
l
EDSVS9332P−EXT DE 2.0
Cyclic data transmission
F E V A N 1 - I N
C 1 0 9 8
C 1 0 9 6
C 1 0 9 3
C 1 0 9 4
C T R L
+
+
C 1 0 9 5
S & H
C 1 0 9 9
F E V A N 1 - L O A D
C 1 0 9 7
C 1 0 9 0
C o d e / S u b c o d e
( C x x x x / y y y )
C 1 0 9 2
C 1 0 9 1
F E V A N 1 - B U S Y
F E V A N 1 - F A I L
F E V A N 1
N O T 1
1
N O T 1 - O U T
N O T 1 - I N
C 0 8 4 1
C 0 8 4 0
Fig. 3−152 Example for a cyclic data transmission to a target code
Conversion
In the example, the conversion is made at FB FEVAN1.
l The data format of the target code is important for the conversion (see attribute table).
l Adapt the input signal to the data format of the target code:
– C1093 (numerator).
– C1094 (denominator).
l 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.
l For target codes with % scaling the formula for conversion must include a scaling factor (see
example 1).