![Omron SYSMAC C200H Скачать руководство пользователя страница 174](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423174.webp)
161
5-16-10 ASCII CONVERT – ASC(86)
S: Source word
IR, SR, AR, DM, HR, TC, LR
Di: Digit designator
IR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
D: First destination word
IR, AR, DM, HR, LR
ASC(86)
S
Di
D
@ASC(86)
S
Di
D
Di must be within the values given below
All destination words must be in the same data area.
When the execution condition is OFF, ASC(86) is not executed. When the
execution condition is ON, ASC(86) converts the designated digit(s) of S into
the equivalent 8-bit ASCII code and places it into the destination word(s) be-
ginning with D.
Any or all of the digits in S may be converted in order from the designated
first digit. The first digit, the number of digits to be converted, and the half of
D to receive the first ASCII code (rightmost or leftmost 8 bits) are designated
in Di. If multiple digits are designated, they will be placed in order starting
from the designated half of D, each requiring two digits. If more digits are
designated than remain in S (counting from the designated first digit), further
digits will be used starting back at the beginning of S.
Refer to Appendix I for a table of extended ASCII characters.
The digits of Di are set as shown below.
Specifies the first digit to be converted (0 to 3).
Number of digits to be converted (0 to 3)
0: 1 digit
1: 2 digits
2: 3 digits
3: 4 digits
First half of D to be used.
0: Rightmost 8 bits (1st half)
1: Leftmost 8 bits (2nd half)
Parity
0: none,
1: even,
2: odd
Digit number:
3 2 1 0
Limitations
Description
Digit Designator
Data Conversion
Section 5-16
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...