126 l_offsetgainphip_2, 126 l_offsetgainphip_2 1, L_offsetgainphip_2 – Lenze 8400 User Manual

Page 1351: 18 function library

Advertising
background image

Lenze · 8400 protec HighLine · Reference manual · DMS 3.0 EN · 03/2013 · TD05

1351

18

Function library

18.1

Function blocks | L_OffsetGainPhiP_2

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

18.1.126

L_OffsetGainPhiP_2

This FB can add an offset to an angle signal and amplify it afterwards.

• The internal calculations (addition and subtraction) are carried out with 32 bits without

overflow/underflow. Division is not remainder considered.

• Offset and gain are selected via parameters.

• The value provided at the dnOut_p output is internally limited to ±2

31

-1.

Inputs

Outputs

Parameter

Function

Identifier

Data type

Information/possible settings

dnIn_p

DINT

Input signal

Identifier

Data type

Value/meaning

dnOut_p

DINT

Output signal

• Internal limitation to ±2

31

-1 (±2147483647)

Parameter

Possible settings

Info

C00673/2

-2147483647

Incr.

2147483647 Offset

• Lenze setting: 0 incr.

C00674/2

-2147483647

2147483647 Gain factor

• Scaling:

65535 ≡ gain factor 1

• Lenze setting: 65536

/B2IIVHW*DLQ3KL3B

GQ,QBS

GQ2XWBS



r



2IIVHW

*DLQ

&

&

dnOut_p

dnIn_p Offset

+

(

) Gain factor

=

Advertising