GEEUGEQUSGEGEQ Greater or equal
Also called: greater than or equal, GEQ (Greater Than or Equal), >=
Passes power when IN1 ≥ IN2.
What it does
The GE / GEQ comparison passes power when the first value is greater than or equal to the second.The GE comparison passes power when the first value is greater than or equal to the second.The GEQ comparison passes power when the first value is greater than or equal to the second.
When to use it
For a threshold reached: enough quantity, minimum pressure reached.
Operands
| European mnemonic | American mnemonic | Name | Data type | Direction | Required | Meaning |
|---|---|---|---|---|---|---|
| IN1 | IN1 | Source A | INT, DINT, REAL, TIME / DINT | Input | Yes | First value (variable or constant). |
| IN2 | IN2 | Source B | INT, DINT, REAL, TIME / DINT | Input | Yes | Second value (variable or constant). |
| Mnemonic | Name | Data type | Direction | Required | Meaning |
|---|---|---|---|---|---|
| IN1 | Source A | INT, DINT, REAL, TIME | Input | Yes | First value (variable or constant). |
| IN2 | Source B | INT, DINT, REAL, TIME | Input | Yes | Second value (variable or constant). |
| Mnemonic | Name | Data type | Direction | Required | Meaning |
|---|---|---|---|---|---|
| IN1 | Source A | INT, DINT, REAL | Input | Yes | First value (variable or constant). |
| IN2 | Source B | INT, DINT, REAL | Input | Yes | Second value (variable or constant). |
Timing diagram
Timing diagram checked against the simulator (the same engine as the editor).
Example
H1 turns on when V1 is 10 or more.
Try it in the simulatorThe example opens in the free simulator; your own program stays as it was.
Behaviour in detail
- Types: INT, DINT, REAL, TIME (not BOOL).
- When equal, power passes.