6.4.3 Double integer comparison
Input / output Operand
Data type
Input
ID, QD, MD, SD, SMD, VD, LD, HC, AC, constant, *VD, *LD, *AC
Double integer
Comparison double integer 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.
Double integer comparison with symbol ( 16#7FFFFFFF >
16#80000000).
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:
88
Made with FlippingBook - Online magazine maker