xLadder user manual-V2.0.0.6

6.4.4 Real number comparison

Operand

Input / output

Data type

Input

ID, QD, MD, SD, SMD, VD, LD, AC, constant, *VD, *LD, *AC

Real number

Comparison real number instructions are used for

comparing two values : IN1 and IN2.

Comparison includes : IN1 = IN2 、 IN1 >= IN2 、 IN1 <= IN2 、 IN1 >

IN2 、 IN1 < IN2 or IN1 <> IN2.Real number comparison with

symbol.

In LAD, when the comparison result is true, the contact

will be open.

Attention:The following conditions are serious errors .

These errors will cause the PLC to immediately stop the

execution of the program:

1.Enter illegal indirect address.

2.Enter the illegal real number.

Example:

89

Made with FlippingBook - Online magazine maker