
Function block library LenzeElectricalShaft.lib
Special functions
2.1.1 Digital frequency ramp generator (L_DFRFG)
2−2
L
LenzeElectricalShaft.lib EN 1.2
Parameter codes of the instances
VariableName L_DFRFG1 SettingRange Lenze
dwTir C0751 0.001 ... 999.900 s 1.000
nMaxSpeed C0752 1 ... 16000 rpm 3000
dwTifForQSP C0753 0.000 ... 999.900 s 0.000
dwThreshold
FollowingError
C0754 10 ... 2000000000 incr. 2000000000
wSynWindow C0755 0 ... 65535 incr. 100
dnOffset C0756 −2147483647 ... 2147483647 incr. 0
byFunction C0757 0, 1 0
bySpeedDirection C0766 1 ... 3 1
Range of functions
· Profile generator
· Quickstop
· Ramp generator stop
· RESET
· Detect phase difference
· Set offset
· Connection of the function block
Note!
This FB operates with remainder handling.
2.1.1.1 Profile generator
t
n I n _ v
n M a x S p e e d
d w T i r d w T i r
w S y n W i n d o w
b S y n c _ b
t
n O u t _ v
Abb. 2−2 Diagram of the synchronization of L_DFRFG
The profile generator generates ramps which lead the setpoint phase to its target.
· Use dwTir to set the ramp−up and ramp−down times (1000 º 1 s).
· Use nMaxSpeed to set the maximum speed (17476 º 16000 rpm).
· If the distance and the speed reach their setpoints, the output switches bSync_b = TRUE. At
the same time, the FB switches the profile generator inactive and nIn_v is output to nOut_v.
· Use wSynWindow to set the changeover point for bSync_b (1 º 1 incr.).
Stop!
Do not operate the drive at the torque limit with this function
max
, I
max
.
Comentarios a estos manuales