19 l_ssc_taskcycle - read in task time, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual
Page 329
1.3 EN - 07/2012
L
329
PLC Designer V2.x| Lenze Application Samples
The L_SSC_Scaling.lib library
L_SSC_SpeedToUnit - conversion block (for 9400 device series)
20.18
L_SSC_SpeedToUnit - conversion block (for 9400 device series)
This FB converts a speed value specified in the internal unit [rpm] to a speed value in the
real unit of the machine on the basis of the machine parameters transmitted.
Inputs
Outputs
20.19
L_SSC_TaskCycle - read in task time
This function determines the cycle time of the task.
Output signal
Identifier/data type
Information/possible settings
diSpeedIn_s
DINT
Velocity as speed in [rpm] 15000 rpm ≡ 2
26
= 67108864
scAxisData
SSC_Axis_logic
Machine parameters
Identifier/data type
Value/meaning
diSpeedOut_e4
DINT
Speed in [unit/s]
• Display in "e4" view (fixed point with four decimal positions)
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
Identifier/data type
Value/meaning
diOut_s
TIME
Task time in [ms]