beautypg.com

31 l_lcb_unittospeed - speed value conversion, 32 l_lcb_axismode, L_lcb_axismode ( 149) – Lenze PLC Designer R3-x User Manual

Page 149: L_lcb_unittospeed - speed value conversion ( 149), L_lcb_axismode, The l_lcb_logiccontrolbasic library

background image

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

149

The L_LCB_LogicControlBasic library

L_LCB_UnitToSpeed - speed value conversion

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

13.31

L_LCB_UnitToSpeed - speed value conversion

This FB converts the transferred speed parameters of the real machine into an internal speed value.

Inputs

Outputs

13.32

L_LCB_AXISMODE

The L_LCB_AXISMODE type describes the traversing range of the inverter in the machine

parameters. All inputs are from the L_LCB_AXISMODE data type

Function library:

L_LCB_LogicControlBasic

Runtime software licence:

LPC 1x00

MPC 1x00

MPC 2xx0

MPC 3x00

L_LCB_UnitToSpeed

DINT ⎯ diSpeedIn_e4

diSpeedOut_s ⎯ DINT

L_LCB_SetAxisData -

machine parameters

⎯ scAxisData

xLimit ⎯ BOOL

xError ⎯ BOOL
eError ⎯

L_LCB_Error

Identifier/data type

Information/possible settings

diSpeedIn_e4

DINT

Speed in [unit/s]

Selection in "e4" view (fixed point with four decimal positions)

scAxisData

L_LCB_SetAxisData -

machine parameters

Machine parameters

Identifier/data type

Information/possible settings

diSpeedOut_s

DINT

Velocity as speed in [rpm] 15000 rpm ≡ 2

26

= 67108864

xLimit

BOOL

"Output signal is limited" status

• TRUE: The output signal is limited to the representable value range.

xError

BOOL

"Error" status signal

FALSE No error

TRUE The conversion could not be carried out without errors.

eError

L_LCB_Error

Error number, error code

Identifier

Initial value

Description

L_LCB_AM_UNLIMITED

0

Traversing range unlimited

L_LCB_AM_LIMITED

1

Traversing range limited

L_LCB_AM_MODULO

2

Traversing range modulo