beautypg.com

16 l_lcb_speed_stonorm_n - signal converter, L_lcb_speed_stonorm_n - signal converter ( 135), The l_lcb_logiccontrolbasic library – Lenze PLC Designer R3-x User Manual

Page 135

background image

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

135

The L_LCB_LogicControlBasic library

L_LCB_Speed_sToNorm_n - signal converter

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

13.16

L_LCB_Speed_sToNorm_n - signal converter

This FB converts a 32 bit speed signal to a scaled 32 bit signal on the basis of the machine

parameters transmitted.

Inputs

Outputs

Function library:

L_LCB_LogicControlBasic

Runtime software licence:

LPC 1x00

MPC 1x00

MPC 2xx0

MPC 3x00

L_LCB_Speed_sToNorm_n

DINT ⎯ diIn_s

diOut_n ⎯ DINT

L_LCB_SetAxisData -

machine parameters

⎯ scAxisData

xError ⎯ BOOL

eError ⎯

L_LCB_Error

Identifier/data type

Information/possible settings

diIn_s

DINT

Input signal in [rpm] 15000 rpm ≡ 2

26

= 67108864

scAxisData

L_LCB_SetAxisData -

machine parameters

Machine parameters

Identifier/data type

Information/possible settings

diOut_n

DINT

Output signal in [%] 100 % ≡ 2

30

= 1073741824

xError

BOOL

"Error" status signal at the function block

FALSE Conversion carried out without errors

TRUE Error during the conversion

eError

L_LCB_Error

Error number, error code