User guide
5 Function blocks
5.161 L_TbCompare_n - scaled comparison
558
Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.161 L_TbCompare_n - scaled comparison
This function block compares two scaled signals and can be used e.g. for implementing a trigger.
• The comparison function is selected via C04080.
• In contrast to the FB L_TbCompare
, the window and hysteresis of this FB can be adjusted via pa-
rameters instead of inputs.
Inputs
Outputs
Parameter
Function library: LenzeToolbox
Runtime software licence: Motion Control HighLevel Motion Control TopLevel
Identifier/data type Information/possible settings
dnIn1_n
DINT
Input signal 1
• Scaling: 100 % ≡ 2
30
≡ 1073741824
dnIn2_n
DINT
Input signal 2
• Scaling: 100 % ≡ 2
30
≡ 1073741824
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 Information
C04080 Comparison operation
0 dnIn1_n = dnIn2_n Lenze setting
1 dnIn1_n > dnIn2_n
2 dnIn1_n < dnIn2_n
3 |dnIn1_n| = |dnIn2_n|
4 |dnIn1_n| > |dnIn2_n|
5 |dnIn1_n| < |dnIn2_n|
C04081 0.00 % 100.00 Tolerance
• Initialisation: 1.00 %
C04082 0.00 % 100.00 Hysteresis
• Initialisation: 1.00 %
E2XW
GQ,QBQ
GQ,QBQ
/B7E&RPSDUHBQ
&
!
!
&
7ROHUDQFH
&
+\VWHUHVLV










