Function library
Function blocks
9.2.17 Comparator (CMP)
9-80
L
EDSVS9332S-D11 EN 3.0
9.2.17.2 Function 2: CMP1-IN1 > CMP1-IN2
z If the value at input CMP1-IN1 exceeds the value at input CMP1-IN2, the output CMP1-OUT
changes from LOW to HIGH.
z Only if the signal at input CMP1-IN1 falls below the value of CMP1-IN2 - C0681 again, the
output changes from HIGH to LOW.
CMP1--OUT
CMP1--IN1
CMP1--IN2
1
0
C0681
CMP1--IN2
C0681
t
CMP1--IN1
t
CMP1--OUT
Fig. 9-40 Exceeding signal values (CMP1-IN1 > CMP1-IN2)
Example:
This function is used to obtain the comparison ”Actual speed is higher than a limit value (n
act
>n
x
)”
for a direction of rotation.
9.2.17.3 Function 3: CMP1-IN1 < CMP1-IN2
z If the value at input CMP1-IN1 falls below the value at input CMP1-IN2, the output CMP1-OUT
changes from LOW to HIGH.
z Only if the signal at input CMP1-IN1 exceeds the value of CMP1-IN2 - C0681 again, the
output changes from HIGH to LOW.
CMP1--OUT
CMP1--IN1
CMP1--IN2
1
0
C0681
CMP1--IN2
C0681
t
CMP1--IN1
t
CMP1--OUT
Fig. 9-41 Values falling below signal values (CMP1-IN1 CMP1-IN2)
Example:
This function is used to obtain the comparison ”Actual speed is higher than a limit value (n
act
<n
x
)”
for a direction of rotation.