
6F3B0253
7. Instructions
FUN 102
D>
Double-word greater than
Expression
Input − [ A+1⋅A D> B+1⋅B ]− Output
Function
When the input is ON, the
Execution condition
Input |
| Operation | Output | |
OFF | No execution |
|
| OFF |
ON | Execution | A+1⋅A > | B+1⋅B | ON |
|
| A+1⋅A ≤ | B+1⋅B | OFF |
Operand
| Name |
|
| Device |
|
|
|
|
|
|
| Register |
|
| Constant | Index | ||||
|
| X | Y | R | S | T. | C. | XW | YW | RW | SW | T | C | D | I | J | K |
|
| |
A | Compared |
|
|
|
|
|
| √ | √ | √ | √ | √ | √ | √ |
|
|
|
| √ |
|
| data |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
B | Reference |
|
|
|
|
|
| √ | √ | √ | √ | √ | √ | √ |
|
|
|
| √ |
|
| data |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
When R010 is ON, the data of D0101⋅D0100 is compared with the constant data 200000, and if the data of D0101⋅D0100 is greater than 200000, R014 is turned ON.
If the data of D0101⋅D0100 is 250000, the comparison result is true. Consequently, R014 is turned ON.
D0101⋅D0100
250000
>Constant
200000
R014 is ON
If the data of D0101⋅D0100 is
D0101⋅D0100
≤Constant
200000
R014 is OFF
Note
•This instruction deals with the data as
184