Programmable Logic Controllers
Pico Controllers
Comparator for Pico GFX

Symbol in the function
block diagram
The devices provide 32 comparators CP01...CP32.
A comparator enables you to compare variables and constants with each other.
The following scans are possible:
- Determine whether the value at function block input I1 is
- Greater than,
- equal to or
- Less than
The Function Block and its Parameters
| Description | Note | |
|---|---|---|
| Function block input (DWord) | ||
| I1 | Comparison value 1 | The function block processes comparison values in the integer range from -2147483648...+2147483647. |
| I2 | Comparison value 2 | |
| Function block output | ||
| - | - | - |
| Contact (bit output) | ||
| LT | Status 1 if the value at I1 is less than the value at I2 (I1 < I2) | LT = less than |
| EQ | Status 1 if the value at I1 is equal to the value at I2 (I1 = I2) | EQ = equal |
| GT | Status 1 if the value at I1 is greater than the value at I2 (I1 > I2) | GT = greater than |
| Coil function (bit input) | ||
| - | - | - |
| Parameter set | ||
| Call enabled | Function block parameters can be viewed on the device. | - |
| Simulation | ||
| Possible |
Memory Requirement
The function block requires 32 bytes of memory plus 4 bytes per function block input configured with an NU constant.
