5 l_ssc_getversion - transfer of the version, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual

Page 319

Advertising
background image

1.3 EN - 07/2012

L

319

PLC Designer V2.x| Lenze Application Samples

The L_SSC_Scaling.lib library

L_SSC_GetSpeed - conversion block (for 9400 device series)

20.4

L_SSC_GetSpeed - conversion block (for 9400 device series)

This FB converts the transmitted input speed of a 9400 controller to a speed value.

Inputs

Outputs

20.5

L_SSC_GetVersion - transfer of the version

Outputs

Identifier/data type

Information/possible settings

diSpeedIn_s

DINT

Speed in [rpm] Scaling: 15000 rpm ≡ 2

26

= 67108864

scAxisData

SSC_Axis_logic

Machine parameters

Identifier/data type

Information/possible settings

rSpeedOutUnits

REAL

Speed value

xError

BOOL

"Error" status signal

FALSE Conversion carried out without errors

TRUE Error during the conversion

Identifier/data type

Value/meaning

dwVersion

DWORD

Output version

Advertising