![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030576.webp)
536
Conversion Instructions
Section 3-12
Note If the source data is 0, the Equals Flag will turn ON.
If the leftmost bit of the source data is 1, the Negative Flag will turn ON.
Restrictions
The following restrictions apply to STR4(601).
■
Restrictions on the CPU Unit
STR4(601) can be used in CPU Units with unit version 4.0 or later only.
■
Restrictions on the CX-Programmer
STR4(601) can be used in CX-Programmer version 7 or higher only.
Flags
Examples
■
Example 1: Converting 3 Words of Numerical Data to ASCII Data
When CIO 000000 is ON in the following example, the 3 words of numerical
data starting at D00010 are converted, one word at a time, to ASCII data. The
converted ASCII data is stored in the DM Area starting at D00100.
1
2
4
3
31
32
33
34
15
8 7
0
15 8
7 0
11
12 3
4
D+1
D
ASCII
Hexadecimal: #1234
S
Name
Label
Operation
Error Flag
ER
OFF
Equals Flag
=
ON if the result is 0.
OFF in all other cases.
Negative Flag
N
ON when the leftmost bit of the source data is 1.
OFF in all other cases.
Содержание 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 ...