122 l_sdgetspeed - speed conversion, L_sdgetspeed, 5function blocks – Lenze E94A User Manual

Page 459

Advertising
background image

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

459

5

Function blocks

5.122

L_SdGetSpeed - speed conversion

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

5.122

L_SdGetSpeed - speed conversion

This FB uses the transmitted machine parameters and converts a speed into a velocity. The conver-

ted value is displayed in C04283.

Inputs

Outputs

Parameter

Function library:

LenzeServoDrive

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

dnSpeedIn_s

DINT

Speed in [rpm]

• Scaling: 15000 rpm ≡ 2

26

≡ 67108864

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

0 Ok - no error

-1 No machine parameters are applied to the input AxisData.

-12 Counter overflow of ±214748.3647 in the display parameter

C04283.

bError

BOOL

"Error" status signal

TRUE The conversion was incorrect.

Parameter

Possible settings

Information

C04281

-2147483647

2147483647 Status

• Display of the bit-coded output si-

gnal dnState.

C04282

As of library V02.02.xx.xx

String of digits

Speed unit

• Read only

C04283

-214748.3647

Unit/t

214748.3647 Speed value

• Read only

• Calculated from the speed signal

dnSpeedIn_s.

/B6G*HW6SHHG

GQ6WDWH

E(UURU

GQ

BV

6SHHG,Q

$[LV'DWD

&

&

& 6SHHGXQLW

Advertising