beautypg.com

138 l_sdsetspeed - speed conversion, L_sdsetspeed, 5function blocks – Lenze E94A User Manual

Page 520

background image

5

Function blocks

5.138

L_SdSetSpeed - speed conversion

520

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

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

5.138

L_SdSetSpeed - speed conversion

This FB uses the transmitted machine parameters and converts a velocity which has been selected

via C04286 in the real machine units into a speed and outputs it at dn'SpeedOut_s

for further pro-

cessing in the FB interconnection.

Inputs

Outputs

Parameter

Function library:

LenzeServoDrive

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

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

-12 Counter overflow of ±214748.3647 with speed value (C04286).

Monitoring for counter overflow ( 521)

dnSpeedOut_s

DINT

Speed output in [rpm]

• 15000 rpm ≡ 2

26

≡ 67108864

bError

BOOL

"Error" status signal

TRUE The conversion was incorrect.

Parameter

Possible settings

Information

C04286

-214748.3647

Unit/t

214748.3647 Speed value

• Initialisation: 0 unit/t

C04287

As of library V02.02.xx.xx

String of digits

Speed unit

• Read only

C04288

-2147483647

2147483647 Status

• Display of the bit-coded output si-

gnal dnState.

/B6G6HW6SHHG

GQ6WDWH

E(UURU

$[LV'DWD

GQ6SHHG2XWBV

&

6SHHGYDOXH

&

& 6SHHGXQLW