97 l_gainoffsetphip_2, 97 l_gainoffsetphip_2 5, L_gainoffsetphip_2 – Lenze 8400 TopLine User Manual

Page 1535: 19 function library

Advertising
background image

Lenze · 8400 TopLine · Reference manual · DMS 6.0 EN · 06/2014 · TD05/TD14

1535

19

Function library

19.1

Function blocks

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

19.1.97

L_GainOffsetPhiP_2

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

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

overflow/underflow. Division is not remainder considered.

• Gain and offset 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

C00678/3

-2147483647

Incr.

2147483647 Offset

• Lenze setting: 0 incr.

C00678/4

-2147483647

2147483647 Gain factor

• Lenze setting: 65536

/B*DLQ2IIVHW3KL3B

GQ,QBS

GQ2XWBS

2IIVHW

*DLQ

&

&



r



dnOut_p

dnIn_p Gain factor

(

) Offset

+

=

Advertising