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

Page 34

Advertising
background image

Function block library LenzeElectricalShaft.lib

Special functions

2.1.4

Homing function (L_REF)

2−24

L

LenzeElectricalShaft.lib EN 1.2

Direct homing

The home position is on the home position offset.

·

Mode 20 ( byHomingMode = 20):
– The drive moves immediately after activation ( bOn_b = TRUE) from the present position to

the reference point.

– You can load the actual position value before, with the input value dnActPosIn_p

(

^ 2−24)

– The distance and direction results from the actual position and the set reference point offset.

dnRefOffset .

0 = M C T R L _ d n P o s _ p

L _ R E F . d n A c t P o s _ I n _ p

R

S

Q

L _ R E F . d n R e f O f f s e t

T

Q

Abb. 2−18

Direct homing; move to the home position in CW rotation

 Distance
‚ Start position
ƒ Direction
„ Home position

·

Mode 21 ( byHomingMode = 21), as mode 20, but also:
– The actual position is saved during power disconnection, and is loaded again at power−on

(set C2104 = 1).

Note!

One turn = 2

16

2.1.4.3

Control via input signals

·

bOn_b = FALSE−TRUE edge starts the homing:
– The input must remain TRUE until homing is completed. Homing is canceled if the input is

set to LOW before the reference point is reached. bOn_b is set = FALSE.

·

bOn_b = FALSE interrupts the homing:
– The drive is decelerated to zero speed along the preset ramp. dwTiTimeHoming
– The inputs nNIn_a and dnPosIn_p are connected through to the outputs nNSet_a and

dnPosOut_p

– The state has no effect if homing is already completed ( bBusy_b = FALSE).

·

bPosLoad_b = FALSE−TRUE edge:
– The profile generator accepts the phase applied at input dnActPosIn_p as a start value for

the actual position value.

– The function is effective only if bOn_b is set = FALSE
– The function is effective only in modes 20 and 21.

Advertising