25 l_lcb_setspeed - speed value conversion, L_lcb_setspeed - speed value conversion ( 143), The l_lcb_logiccontrolbasic library – Lenze PLC Designer R3-x User Manual
Page 143

Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014
143
The L_LCB_LogicControlBasic library
L_LCB_SetSpeed - speed value conversion
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
13.25
L_LCB_SetSpeed - speed value conversion
This FB converts a velocity to a speed on the basis of the machine parameters transmitted and
provides them at the output dnSpeedOut_s for further processing within the function block
interconnection.
Inputs
Outputs
Function library:
L_LCB_LogicControlBasic
Runtime software licence:
LPC 1x00
MPC 1x00
MPC 2xx0
MPC 3x00
L_LCB_SetSpeed
REAL ⎯ rSpeedInUnits
diSpeedOut_s ⎯ DINT
⎯ scAxisData
xLimit ⎯ BOOL
xError ⎯ BOOL
eError ⎯
Identifier/data type
Information/possible settings
rSpeedInUnits
REAL
Speed value in units
scAxisData
Machine parameters
Identifier/data type
Information/possible settings
diSpeedOut_s
DINT
Output of the 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
±214748.3647.
xError
BOOL
"Error" status signal
FALSE Conversion carried out without errors
TRUE Error during the conversion
eError
Error number, error code