5 l_compare_1, L_compare_1, 12 function library – Lenze 8400 motec User Manual
Page 459

Lenze · 8400 motec · Reference manual · DMS 4.1 EN · 08/2013 · TD05
459
12
Function library
12.5
L_Compare_1
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
12.5
L_Compare_1
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.
Tip!
The FB is freely available as "GeneralPurpose" function.
• The inputs can be linked to other output signals via the given configuration parameters.
• The output, in turn, can be selected in the configuration parameters of other inputs.
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
Function selection
1 nIn1 = nIn2
2 nIn1 > nIn2
3 nIn1 < nIn2
4 |nIn1| = |nIn2|
5 |nIn1| > |nIn2|
6 |nIn1| < |nIn2|
0.0
%
100.0 Hysteresis
• Lenze setting: 0.5 %
0.0
%
100.0 Window
• Lenze setting: 2.0 %
/B&RPSDUHB
Q,QBD
E2XW
Q,QBD
& )XQFWLRQ
&
&
&
&
&RQILJXUDWLRQSDUDPHWHUV
/B&RPSDUHBBE2XW
(QWU\LQVHOHFWOLVW