Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual
Page 328

PLC Designer V2.x| Lenze Application Samples
The L_SSC_Scaling.lib library
L_SSC_SetSpeed - speed conversion (for 9400 device series)
328
L
1.3 EN - 07/2012
20.17
L_SSC_SetSpeed - speed conversion (for 9400 device series)
This FB converts a velocity of the 9400 controller 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
Identifier/data type
Information/possible settings
rSpeedInUnits
REAL
Speed value in units
scAxisData
SSC_Axis_logic
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