Function library, Function blocks – Lenze EVS9332xS User Manual
Page 145

Function library
Function blocks
3.2.34
Freely assignable input variables (FEVAN)
3−93
l
EDSVS9332S−EXT EN 2.0
Example 1 (only for FIX32 format with % scaling):
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
C 0 4 7 2 / 1
C 0 4 7 1 . B 0
Fig. 3−88
Example of a circuit for FIX32 format with % scaling
Task:
l
C0472/1 = 1.05 %. Write this value to C0141.
Configuration:
l
Connect FEVAN1−IN (C1096) with FCODE−472/1 (19521).
l
Connect FEVAN1−LOAD (C1097/1) with FCODE−471.B0 (19521).
Parameter setting:
l
Set C1091 = 141 (
¢ C0141)
l
Set C1092 = 0 (no subcode available)
l
C1093 = calculate numerator
l
Set C1094 = 0.01 (two decimal positions)
l
Set C1095 = 0 (no offset).
Calculation:
FEVAN1–IN [%]
@
1
10000
@ 16384
100
@ C1093
C1094
) C1095 + C0141 [%]
Scaling factor
Scaling factor
Control:
l
Set C0471.B0 = 1 (
¢ 00000001h) so that the data are transmitted to the target code.
Example for converting to C1093:
1.05 %
@ 10000 @ 100
16384
@ C1094 @
1
1.05 %
+ C1093 + 0.6103
FEVAN1−IN
Setpoint in C0141
Display:
l
C0141 = 1.00 %