![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030679.webp)
639
Floating-point Math Instructions
Section 3-15
Flags
Precautions
Input comparison instructions cannot be used as right-hand instructions, i.e.,
another instruction must be used between them and the right bus bar.
Example
AND FLOATING LESS THAN: AND<F(331)
When CIO 000000 is ON in the following example, the floating point data in
D00101, D00100 is compared to the floating point data in D00201, D00200. If
the content of D00101, D00100 is less than that of D00201, D00200, execu-
tion proceeds to the next line and CIO 005000 is turned ON. If the content of
D00101, D00100 is not less than that of D00201, D00200, execution does not
proceed to the next instruction line.
330
LD<>F
LOAD FLOATING NOT EQUAL
True if
C1
≠
C2
AND<>F
AND FLOATING NOT EQUAL
OR<>F
OR FLOATING NOT EQUAL
331
LD<F
LOAD FLOATING LESS THAN
True if
C1 < C2
AND<F
AND FLOATING LESS THAN
OR<F
OR FLOATING LESS THAN
332
LD<=F
LOAD FLOATING LESS THAN OR EQUAL
True if
C1
≤
C2
AND<=F
AND FLOATING LESS THAN OR EQUAL
OR<=F
OR FLOATING LESS THAN OR EQUAL
333
LD>F
LOAD FLOATING GREATER THAN
True if
C1 > C2
AND>F
AND FLOATING GREATER THAN
OR>F
OR FLOATING GREATER THAN
325
LD>=F
LOAD FLOATING GREATER THAN OR EQUAL
True if
C1
≥
C2
AND>=F
AND FLOATING GREATER THAN OR EQUAL
OR>=F
OR FLOATING GREATER THAN OR EQUAL
Code
Mnemonic
Name
Function
Name
Label
Operation
Error Flag
ER
OFF
Greater Than
Flag
>
ON if S
1
+1, S
1
> S
2
+1, S
2
.
OFF in all other cases.
Greater Than or
Equal Flag
> =
ON if S
1
+1, S
1
≥
S
2
+1, S
2
.
OFF in all other cases.
Equal Flag
=
ON if S
1
+1, S
1
= S
2
+1, S
2
.
OFF in all other cases.
Not Equal Flag
=
ON if S
1
+1, S
1
≠
S
2
+1, S
2
.
OFF in all other cases.
Less Than Flag
<
ON if S
1
+1, S
1
< S
2
+1, S
2
.
OFF in all other cases.
Less Than or
Equal Flag
< =
ON if S
1
+1, S
1
≤
S
2
+1, S
2
.
OFF in all other cases.
Negative Flag
N
Unchanged
<F
D00100
D00200
000000
005000
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...