beautypg.com

101 l_ldzerodetect - zero crossing detection, L_ldzerodetect, 5function blocks – Lenze E94A User Manual

Page 384

background image

5

Function blocks

5.101

L_LdZeroDetect - zero crossing detection

384

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

5.101

L_LdZeroDetect - zero crossing detection

This FB observes a clocked position and detects zero crossings.

• The cycle and shift factor for the position resolution are read out of the machine parameters

(AxisData).

Inputs

Outputs

Function library:

LenzeLineDrive

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

dnPosIn_p

DINT

Clocked position in [inc]

AxisData

Machine parameters

• 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)

Identifier/data type

Value/meaning

dnState

DINT

Status (bit coded)

bits10 Zero crossing active

Bit15 Error

bits18 No cycle available
bits21 Input error (e.g. impermissible position jump or inverse direction of

motion)

bits23 No valid axis data structure

bZero

BOOL

Status signal "Zero crossing"

TRUE Zero crossing detected or position = "0"

E=HUR

/B/G=HUR'HWHFW

GQ3RV,QBS

GQ6WDWH

$[LV'DWD