Function library
7-209
L
EDSVS9332P-D21 EN 3.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. 7-165 Example of a circuit for FIX32 format with % scaling
Ta s k :
•
C0472/1 = 1.05 %. Write this value to C0141.
Configuration:
•
Connect FEVAN1-IN (C1096) with FCODE-472/1 (19521).
•
Connect FEVAN1-LOAD (C1097/1) with FCODE-471.B0 (19521).
Parameter setting:
•
Set C1091 = 141 (≙ C0141)
•
Set C1092 = 0 (no subcode available)
•
C1093 = calculate numerator
•
Set C1094 = 0.01 (two decimal positions)
•
Set C1095 = 0 (no offset).
Calculation:
FEVAN1–IN [% ] ⋅
1
10000
⋅
16384
100
⋅
C1093
C1094
+ C1095 = C0141 [%]
Scaling factor
Scaling factor
Control:
•
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:
•
C0141 = 1.00 %