Function block library lenzeelectricalshaft.lib – Lenze DDS Global Drive PLC Developer Studio User Manual
Page 14

Function block library LenzeElectricalShaft.lib
Special functions
2.1.1
Digital frequency ramp generator (L_DFRFG)
2−4
L
LenzeElectricalShaft.lib EN 1.2
2.1.1.3
Ramp generator stop
Maintains the state of the profile generator during operation.
·
Select the constant FIXED0% (selection number 1000) using bStop_b = TRUE, the function
ramp generator stop" is activated.
·
The latest state is output at nOut_v (16384
º 15000 rpm).
·
The set phase−angle detected at nIn_v is stored.
·
After reset of the Quickstop request, the set phase−angle is approached via the profile
generator.
t
n I n _ v
n M a x S p e e d
b S t o p _ b
t
n O u t _ v
Abb. 2−5
Diagram of the function ramp generator stop"
2.1.1.4
RESET
bReset_b= TRUE:
·
Resets the setpoint phase which has been internally summed up.
·
Activates the profile generator.
A TRUE−FALSE edge at bReset_b detects the set phase−angle.
2.1.1.5
Detect phase difference
Monitoring the phase−angle difference between nIn_v and nOut_v.
·
Select the constant FIXED0% (selection number 1000) using dwThresholdFollowingError to
adjust the limit for the monitoring (1
º 1 incr.).
·
If the monitoring is triggered, then bFail_b is set = TRUE.
·
Select the constant FIXED0% (selection number 1000) using bReset_b = TRUE to store the
signal.
·
The profile generator can accept a phase−angle difference of up to ±2140000000 incr.
(
» 32000 turns) (65536 º 1 turn).