Function library
Function blocks
9.2.51 Phase comparator (PHCMP)
9-180
L
EDSVS9332S-D11 EN 3.0
Function
Function block Code Function Note
PHCMP1 C0695 = 0
• If PHCMPx-IN1 < PHCMPx-IN2, PHCMPx-OUT = HIGH
PHCMP2 C1207 = 0
• If PHCMPx-IN1 ≥ PHCMPx-IN2, PHCMPx-OUT = LOW
PHCMP3 C1272 = 0
PHCMP1 C0695 = 1
• If | PHCMPx-IN1 | < | PHCMPx-IN2 |, PHCMPx-OUT = HIGH Compares the amount of
PHCMP2 C1207 = 1
• If | PHCMPx-IN1 | ≥ | PHCMPx-IN2 |, PHCMPx-OUT = LOW
the inputs
PHCMP3 C1272 = 1
9300STD004
PHCMPx-IN1
t
PHCMPx-IN2
t
PHCMPx-OUT
Fig. 9-135 Function diagram