Function block library lenzeelectricalshaft.lib, S | [ i n c – Lenze DDS Global Drive PLC Developer Studio User Manual

Page 31

Advertising
background image

Function block library LenzeElectricalShaft.lib

Special functions

2.1.4

Homing function (L_REF)

2−21

L

LenzeElectricalShaft.lib EN 1.2

·

Mode 1 ( byHomingMode = 1):
– Move to the home position in CCW rotation.
– Home position offset dnRefOffset is entered as negative.

R

S

n N A c t _ v

b M a r k _ b

Q

d n R e f O f f s e t

T

Abb. 2−14

Homing with zero−pulse/zero position or TouchProbe; moving to the reference mark in the ccw (left) direction of rotation

 Distance
‚ Start position
ƒ Direction
„ Home position

Function for homing with a reference switch to zero−pulse (MP)/zero position
via the TP/MP−CTRL interface

·

In this case, the reference offset is set to dnRefOffset =0.

·

If MP is known, the drive moves back to the last zero pulse after a negative edge of
L_REF.nMark_b.

·

If the drive starts from a position on an MP, after L_REF.nMark_b =TRUE, then it moves to the
next MP.

This applies to Modes 0 and 1, with homing to zero−pulse (MP)/zero position, using a reference
switch.

| s | [ i n c ]

M P

M P

M P

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

L _ R E F . b M a r k _ b

L _ R E F . n O n _ b

L _ R E F . n O n _ b

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

L _ R E F . b M a r k _ b

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

L _ R E F . b M a r k _ b

L _ R E F . n O n _ b

Abb. 2−15

Function for homing with a reference switch to zero−pulse /zero position

Advertising