9 l_ssc_postounit - conversion block, 10 l_ssc_speed_ntonorm_r - signal converter, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual

Page 323

Advertising
background image

1.3 EN - 07/2012

L

323

PLC Designer V2.x| Lenze Application Samples

The L_SSC_Scaling.lib library

L_SSC_PosToUnit - conversion block

20.9

L_SSC_PosToUnit - conversion block

This FB converts a position value specified in the internal unit [increments] to a position

value in the real unit of the machine on the basis of the machine parameters transmitted.

Inputs

Outputs

20.10

L_SSC_Speed_nToNorm_r - signal converter

This function converts a 32 bit input signal to a 32 bit percentage signal.

Inputs

Output signal
L_SSC_Speed_nToNorm_r
REAL 0- 100.0 %

Identifier/data type

Information/possible settings

diPosIn_p

DINT

Position in [increments]

scAxisData

SSC_Axis_logic

Machine parameters

Identifier/data type

Information/possible settings

diPosOut_e4

DINT

Position in [unit]

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

Information/possible settings

diIn_n

DINT

Input signal in [%] 100 % ≡ 2

30

= 1073741824

Advertising