Function block library lenzeelectricalshaft.lib, Special functions 2.1.4 homing function (l_ref), Important for modes 0, 1, 8 and 9 – Lenze DDS Global Drive PLC Developer Studio User Manual
Page 37

Function block library LenzeElectricalShaft.lib
Special functions
2.1.4
Homing function (L_REF)
2−27
L
LenzeElectricalShaft.lib EN 1.2
2.1.4.6
Linking the function block for zero−pulse/zero position or TP
·
Important for Modes 0, 1, 8 and 9.
·
dnPosOut supplies the set phase−angle for nNSet_a (contouring error) for the phase−angle
controller in SB MCTRL.
– For correct homing, both signals ( dnPosOut_p and nNSet_a ) must be processed.
·
The homing function must be linked to the FB L_DFSET.
(see, for example, signal flow diagram for the template
DFMasterInternal24VSupply_CFG5010FUP.lpc").
– Otherwise, cumulative phase errors may occur.
M C T R L _ b A c t T P R e c e i v e d _ b
M C T R L _ d n A c t I n c L a s t S c a n _ p
M C T R L _ n N A c t _ v
L _ R E F
d n A c t P o s _ I n _ p
C T R L
b P o s L o a d _ b
b M a r k _ b
b O n _ b
n N I n _ a
d n P o s I n _ p
b R e f O k _ b
b R e f B u s y _ b
n N S e t _ a
b y H o m i n g M o d e
d n R e f O f f s e t
d n H o m i n g S p e e d
w T i T i m e H o m i n g
d n T a r g e t P o s
b A c t T P R e c e i v e d _ b
d n A c t T P L a s t S c a n _ p
T P / M P
C T R L
n N A c t _ v
d n A c t P o s
d n P o s O u t _ p
d n P o w D o w n A c t I n t e R e t a i n
Abb. 2−21
Programming the FB L_REF for a precise phase−angle
The FB L_REF reads in the momentary speed signal at nNAct_v Using TP/MP−CTRL, the actual
phase−angle difference between a TouchProbe in SB MCTRL_MotorControl and the call of the FB
L_REF is determined. In this way, a phase−angle deviation is acquired, corrected, and stored in FB
L_REF.
After reading in the phase−angle difference at dnActTPLastScan_p , bEnableTPAct_b is set = TRUE,
to start a new measurement in the SB. MCTRL_MotorControl.
Further information:
(
^ 2−20 ff)