Function library
7-210
L
EDSVS9332P-D21 EN 3.0
Example 2 (only for FIX32 format without % scaling):
Ta s k :
•
C0473/1 = 1000. Write this value to C0011.
Configuration:
•
Connect FEVAN1-IN (C1096) with FCODE-473/1 (19551).
•
Connect FEVAN1-LOAD (C1097/1) with FCODE-471.B0 (19521).
Parameter setting:
•
Set C1091 = 11 (≙ C0011)
•
Set C1092 = 0 (no subcode available)
•
Set C1093 = 1.0
•
Set C1094 = 0.0001 (no decimal position)
•
Set C1095 = 0 (no offset).
Thesourcecodehasnounit.Thescalingfactorisdropped.
Calculation:
FEVAN1–IN ⋅
1
10000
⋅
C1093
C1094
+ C1095 = C0011 [rpm]
Scaling factor
1000 ⋅
1
10000
⋅
1, 0
0.0001
+ 0 = 1000 rpm
Control:
•
Set C0471.B0 = 1 (≙ 00000001h) so that the data are transmitted to the target code.
Display:
•
C0011 displays the value 1000 rpm.
The other formats are calculated with the following formula:
FEVAN1–IN ⋅
C1093
C1094
+ C1095 = x