![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030826.webp)
786
Data Control Instructions
Section 3-18
Flags
Precautions
If the upper limit is less than the lower limit, an error will occur and the Error
Flag will turn ON.
If the input data (S) is greater than the upper limit, the Greater Than Flag will
turn ON.
If the output word D is 0000 hex, the Equals Flag will turn ON.
If the input data (S) is less than the lower limit, the Less Than Flag will turn
ON.
If the status of the leftmost bit of the output word D is “1,” the Negative Flag
will turn ON.
Example
When CIO 000000 is ON, a bias of –100 will be applied to the value of
D00100 if that value is less than 0, and the resulting value will be stored in
D00300.
If the value of D00100 is 0, then 0000 hex will be stored in D00300.
If the value of D00100 is greater than 0, then a bias of +100 will be applied
and the resulting value will be stored in D00300.
Name
Label
Operation
Error Flag
ER
ON if the upper limit is less than the lower limit.
OFF in all other cases.
Greater Than
Flag
>
ON if the input data (S) is greater than the upper limit.
OFF in all other cases.
Equals Flag
=
ON if the result is 0.
OFF in all other cases.
Less Than Flag
<
ON if the input data (S) is less than the lower limit.
OFF in all other cases.
Negative Flag
N
ON if the leftmost bit of the result is “1.”
OFF in all other cases.
–100
C:
Decimal values
Negative bias
Positive bias
Contents of D00300
Contents of D00200
Содержание 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 ...