beautypg.com

11 l_compare_2, L_compare_2, 17 function library – Lenze E84DSxxx User Manual

Page 726

background image

17

Function library

17.1

Function blocks | L_Compare_2

726

Lenze · 8400 protec StateLine · Reference manual · DMS 4.2 EN · 03/2013 · TD05

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

17.1.11

L_Compare_2

This FB compares two analog signals and can be used e.g. to implement a trigger.

• Comparison operation, hysteresis and window size can be parameterised.

Inputs

Outputs

Parameter

Identifier

Data type

Information/possible settings

nIn1_a

INT

Input signal 1

nIn2_a

INT

Input signal 2

Identifier

Data type

Value/meaning

bOut

BOOL

Status signal "Comparison statement is true"

TRUE The statement of the selected comparison mode is true.

Parameter

Possible settings

Info

C00685

Function selection

1 nIn1 = nIn2
2 nIn1 > nIn2
3 nIn1 < nIn2
4 |nIn1| = |nIn2|
5 |nIn1| > |nIn2|
6 |nIn1| < |nIn2|

C00686

0.00

%

100.00 Hysteresis

• Lenze setting: 0.50 %

C00687

0.00

%

100.00 Window

• Lenze setting: 2.00 %

For a detailed functional description see

L_Compare_1

.

/B&RPSDUHB

Q,QBD

E2XW

Q,QBD

& )XQFWLRQ

&

&