21 l_ssc_unittopos - conversion block, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual

Page 331

Advertising
background image

1.3 EN - 07/2012

L

331

PLC Designer V2.x| Lenze Application Samples

The L_SSC_Scaling.lib library

L_SSC_UnitToPos - conversion block

20.21

L_SSC_UnitToPos - conversion block

This FB converts a position value specified in the real unit of the machine to an internal

position value on the basis of the machine parameters transmitted.

Inputs

Outputs

Identifier/data type

Information/possible settings

diPosIn_e4

DINT

Position in [unit]

Selection in "e4" view (fixed point with four decimal positions)

scAxisData

SSC_Axis_logic

Machine parameters

Identifier/data type

Information/possible settings

diPosOut_p

DINT

Position in [increments]

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

Advertising