Function library
Function blocks
3.5.39 Freely assignable input variables (FEVAN)
3−201
l
EDSVS9332P−EXT DE 2.0
Example 2 (only for FIX32 format without % scaling):
Task:
l C0473/1 = 1000. Write this value to C0011.
Configuration:
l Connect FEVAN1−IN (C1096) with FCODE−473/1 (19551).
l Connect FEVAN1−LOAD (C1097/1) with FCODE−471.B0 (19521).
Parameter setting:
l Set C1091 = 11 (¢ C0011)
l Set C1092 = 0 (no subcode available)
l Set C1093 = 1.0
l Set C1094 = 0.0001 (no decimal position)
l Set C1095 = 0 (no offset).
The source code has no unit. The scaling factor is dropped.
Calculation:
FEVAN1–IN @
1
10000
@
C1093
C1094
) C1095 + C0011[rpm]
Scaling factor
1000 @
1
10000
@
1, 0
0.0001
)0+ 1000rpm
Control:
l Set C0471.B0 = 1 (¢ 00000001h) so that the data are transmitted to the target code.
Display:
l C0011 displays the value 1000 rpm.
The other formats are calculated with the following formula:
FEVAN1–IN @
C1093
C1094
) C1095 +x