GE >=

PLCopen motion icon

Operator - Tests if first input is greater than or equal to second input.

Inputs

Input

Data Type

Range

Unit

Default

Description

IN1

ANY_NUM

 

 

 

First input.

IN2

ANY_NUM

 

 

 

Second input.

Outputs

Output

Data Type

Range

Unit

Description

Q

BOOL

 

 

TRUE if IN1 >= IN2.

Remarks

  • Both inputs must have the same type.
  • Comparisons can be used with strings.
    • In this case, the lexical order is used for comparing the input strings.
    • Example: ABC is less than ZX; ABCD is greater than ABC.

FBD Language

GeFbd.gif (1221 octets)

FFLD Language

  • In the FFLD language, the input rung (EN) enables the operation.
    • The output rung is the result of the comparison.
    • The comparison is executed only if EN is TRUE.

GeLd.gif (1446 octets)

IL Language

Op1: FFLD  IN1
     GE  IN2
     ST  Q    (* Q is true if IN1 >= IN2 *)

ST Language

Q := IN1 >= IN2;

See Also