Try a PLC free — no signup
Comparison OperationsBeginnerIEC 61131-3

GE (Greater Than or Equal)

Returns TRUE when first input is greater than or equal to second input.

The GE (Greater Than or Equal) comparison function returns TRUE when the first input is greater than or equal to the second input. It is commonly used for setpoint comparisons, minimum threshold checks, and range validation in PLC programs.

Parameters

Inputs

NameTypeDescription
IN1ANY_NUMFirst value
IN2ANY_NUMSecond value

Outputs

NameTypeDescription
OUTBOOLTRUE when IN1 >= IN2

Ladder Logic Example

// Ladder Logic - GE Comparison
//
// |----[GE]---( Level_OK )----|
// | IN1: Tank_Level            |
// | IN2: Min_Level (20.0)      |

Structured Text Example

Level_OK := (Tank_Level >= Min_Level);

Free · no signup to try

Run this block in your browser

Try the instruction on a live rung before you copy it into a project — nothing to install.

Try it in your browser — no signup

Opens plcsimulationsoftware.com — same team

Prefer ready-made code? Ladder Logic Pack — $29 on Gumroad

Platform-Specific Implementation

S

Siemens (TIA Portal)

Use CMP >= instruction in TIA Portal.

AB

Allen-Bradley (Studio 5000)

Use GEQ (Greater Than or Equal) instruction.

C

CODESYS

Use >= operator in ST or GE function block.

Common Applications

  • Minimum level/threshold checks
  • Setpoint reached detection
  • Permit conditions
  • Batch quantity verification

Frequently Asked Questions

What is GE (Greater Than or Equal) in PLC programming?

Returns TRUE when first input is greater than or equal to second input. The GE (Greater Than or Equal) comparison function returns TRUE when the first input is greater than or equal to the second input. It is commonly used for setpoint comparisons, minimum threshold checks, and range validation in PLC programs.

What are common applications of GE (Greater Than or Equal)?

GE (Greater Than or Equal) is commonly used for: Minimum level/threshold checks, Setpoint reached detection, Permit conditions, Batch quantity verification.

How do I use GE (Greater Than or Equal) in different PLC platforms?

Siemens: Use CMP >= instruction in TIA Portal. Allen-Bradley: Use GEQ (Greater Than or Equal) instruction. CODESYS: Use >= operator in ST or GE function block.

Free · no signup to try

Wire this block up and run it

Drop the instruction into a rung, press Run and watch it execute in your browser — then adapt it to your vendor tool.

Try it in your browser — no signup

Opens plcsimulationsoftware.com — same team

Prefer ready-made code? Ladder Logic Pack — $29 on Gumroad