beautypg.com

L_sdintegrate, 5function blocks – Lenze E94A User Manual

Page 460

background image

5

Function blocks

5.123

L_SdIntegrate - integration of speed to position

460

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

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

5.123

L_SdIntegrate - integration of speed to position

This FB integrates a speed to a position.

• The calculation is made with remainder handling.
• The bLoadStartPos input serves to load the starting position pending at the dnStartPos_p input

into the integrator.

Inputs

Outputs

Function library:

LenzeServoDrive

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Note!

The FB is not suitable for modulo measuring systems!

(No clocked (Modulo) positions are provided.)

Identifier/data type

Information/possible settings

dnSpeedIn_s

DINT

Speed in [rpm]

• 15000 rpm ≡ 2

26

≡ 67108864

bLoadStartPos

BOOL

Load integrator with starting position and reset overflow signal.

TRUE Load the integrator with the value applied to input dnStartPos_p and

reset bError to FALSE.

dnStartPos_p

DINT

Starting position in [inc] with which the integrator is loaded by setting

bLoadStartPos to TRUE.

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)

• If this input is released, the following scaling applies:

1 motor revolution ≡ 2

16

Identifier/data type

Value/meaning

dnPosOut_p

DINT

Position in [inc]

• Overflow is possible (display via bError)

bError

BOOL

Status signal "Overflow occurs"

• Status signal can be reset via bLoadStartPos.

TRUE Overflow has occurred.

GQ3RV2XWBS

E(UURU

GQ6SHHG,QBV

E/RDG6WDUW3RV

GQ6WDUW3RVBS

$[LV'DWD

/B6G,QWHJUDWH