22 l_lcb_getspeed - conversion block, L_lcb_getspeed - conversion block ( 140), The l_lcb_logiccontrolbasic library – Lenze PLC Designer R3-x User Manual

Page 140

Advertising
background image

The L_LCB_LogicControlBasic library

L_LCB_GetSpeed - conversion block

140

Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014

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

13.22

L_LCB_GetSpeed - conversion block

This FB converts the input speed transmitted to a speed value.

Inputs

Outputs

Function library:

L_LCB_LogicControlBasic

Runtime software licence:

LPC 1x00

MPC 1x00

MPC 2xx0

MPC 3x00

L_LCB_GetSpeed

DINT ⎯ diSpeedIn_s

rSpeedOutUnits ⎯ REAL

L_LCB_SetAxisData -

machine parameters

⎯ scAxisData

xError ⎯ BOOL

eError ⎯

L_LCB_Error

Identifier/data type

Information/possible settings

diSpeedIn_s

DINT

Speed in [rpm] Scaling: 15000 rpm ≡ 2

26

= 67108864

scAxisData

L_LCB_SetAxisData -

machine parameters

Machine parameters

Identifier/data type

Information/possible settings

rSpeedOutUnits

REAL

Speed value

xError

BOOL

"Error" status signal

FALSE Conversion carried out without errors

TRUE Error during the conversion

eError

L_LCB_Error

Error number, error code

Advertising