11 l_ssc_speed_rtonorm_n - signal converter, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual

Page 324

Advertising
background image

PLC Designer V2.x| Lenze Application Samples

The L_SSC_Scaling.lib library

L_SSC_Speed_rToNorm_n - signal converter

324

L

1.3 EN - 07/2012

20.11

L_SSC_Speed_rToNorm_n - signal converter

This function converts the input signal transferred to a 32 bit signal of the REAL data type.

Inputs

Output signal

L_SSC_Speed_rToNorm_n 0 -2

30

= 1073741824

20.12

L_SSC_Speed_sToNorm_n - signal converter (for 9400 device series)

This FB converts a 32 bit speed signal of a 9400 controller to a scaled 32 bit signal on the

basis of the machine parameters transmitted.

Inputs

Outputs

20.13

L_SSC_Speed_sToSpeed_v - signal converter (for 9400 device series)

This FB converts a 3 bit speed signal of a 9400 controller to a 16 bit speed signal.

Identifier/data type

Information/possible settings

rIn_r

REAL

Input signal 0-100.0 %

Identifier/data type

Information/possible settings

diIn_s

DINT

Input signal in [rpm] 15000 rpm ≡ 2

26

= 67108864

scAxisData

SSC_Axis_logic

Machine parameters

Identifier/data type

Information/possible settings

diOut_n

DINT

Output signal in [%] 100 % ≡ 2

30

= 1073741824

xError

BOOL

"Error" status signal

FALSE Conversion carried out without errors.

TRUE Error during the conversion

Advertising