![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030547.webp)
507
Conversion Instructions
Section 3-12
Flags
Example
When CIO 000000 is ON in the following example, ASC(086) converts three
hexadecimal digits in D00100 (beginning with digit 1) into their ASCII equiva-
lents and writes this data to D00200 and D00201 beginning with the leftmost
byte in D00200. In this case, a digit designator of #0121 specifies no parity,
the starting byte (when writing) = leftmost byte, the number of digits to read =
3, and the starting digit (when reading) = digit 1.
With CPU Units with unit version 4.0 of later, there are instructions to convert
4, 8, and 16 digits of numeric data to ASCII (STR4(524), STR8(527), and
STR16(528)).
Di: #0011
Di: #0112
Di: #0030
Di: #0130
Digit 3 Digit 2 Digit 1 Digit 0
Leftmost
Rightmost
Digit 3 Digit 2 Digit 1 Digit 0
Digit 3 Digit 2 Digit 1 Digit 0
Leftmost
Rightmost
Leftmost
Rightmost
Leftmost
Rightmost
Digit 3 Digit 2 Digit 1 Digit 0
Leftmost
Rightmost
Rightmost
Leftmost
Name
Label
Operation
Error Flag
ER
ON if the content of Di is not within the specified ranges.
OFF in all other cases.
D:
S
D
S: D00100
Di: #
Number of digits
Digits
Di
Starting digit
Starting byte
(leftmost byte)
Содержание 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 ...