12 l_compare_2, L_compare_2, 17 function library – Lenze 8400 StateLine User Manual

Page 926

Advertising
background image

17

Function library

17.1

Function blocks

926

Lenze · 8400 StateLine · Reference manual · DMS 12.0 EN · 06/2014 · TD05/TD14

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

17.1.12

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

&

&

Advertising