User guide

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05 507
5 Function blocks
5.134 L_SdRampGeneratorAny - ramp function generator - S-ramp
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.134 L_SdRampGeneratorAny - ramp function generator - S-ramp
This FB is a ramp function generator with S-shaped ramps for limiting the increase of analog signals
over time. The S-shape of the ramps results from a trapezoidal acceleration.
This FB is an advanced version of the L_SdRampGenerator
FB:
Depending on the interconnection of AxisData, setpoints can be defined as scaled signals
(_n) or speeds (_s).
Separate acceleration and deceleration times can be set via C04332/1 and C04332/2.
Separate S-ramp times for acceleration and deceleration to achieve jerk-free acceleration can
be set in C04333/1 and C04333/2.
The ramp function generator has a setting function for directly loading the value into the inter-
nal ramp generator.
•At the dnDeltaOut output, gradient dy/dt of the dnOutput output signal is provided. This signal
can e.g. be used for torque feedforward control after being amplified via the L_TbGainLim
FB.
Inputs
Function library: LenzeServoDrive FB available from library V02.09.xx.xx!
Runtime software licence: Motion Control HighLevel Motion Control TopLevel
Identifier/data type Information/possible settings
dnInput
DINT
Input signal (scaled signal or speed)
Scaling:
100 % 2
30
1073741824 (without AxisData)
15000 min
-1
2
26
67108864 (with AxisData)
bLoadStartValue
BOOL
Initialising ramp function generator
FALSE The ramp function generator runs with the Ti times set from the va-
lue loaded via dnStartValue to the value at dnInput.
TRUE At the dnOutput output, dnStartValue is provided. dnDeltaOut re-
mains at 0 % or 0 min
-1
, respectively.
dnStartValue
DINT
Starting value for the ramp function generator (scaled signal or speed)
Acceptance when bLoadStartValue = TRUE
Scaling:
100 % 2
30
1073741824 (without AxisData)
15000 min
-1
2
26
67108864 (with AxisData)
AxisData Machine parameters
If this input is not interconnected, the FB uses scaled signals.
If the FB receives machine parameters via this input, the FB uses speed signals in-
stead.
For accepting the machine parameters of the drive/motor, connect this input
with the output DI_AxisData of the SB LS_DriveInterface.
• The machine parameters of a master drive can be displayed with the
FB L_SdSetAxisData
. In this case, the FB output AxisData must be connected to
this input. ( 510)
GQ2XWSXW
GQ'HOWD2XW
/B6G5DPS*HQHUDWRU$Q\
GQ6WDUW9DOXH
E/RDG6WDUW9DOXH
GQ,QSXW
& &
& 'HFHOHUDWLRQWLPH
&
$FFHOHUDWLRQWLPH
& 6UDPSWLPHGHFHOHUDWLRQ
&
6UDPSWLPHDFFHOHUDWLRQ
& 6LJQDOXQLW
& 5HIHUHQFHYDOXH
$[LV'DWD