7. APPLICATION INSTRUCTIONS
7
−
58
MELSEC-A
Program Example ASC
Program which converts "ABCDEFGHIJKLMNOP" into the ASCII code and stores
the result to the D88 to 95 when X8 turns on, and displays the ASCII data of D88 to
95 at the LED indicator on the front face of CPU when X16 turns on.
X008
0
ASC
ABCDEFGH
D88
ASC
IJKLMNOP
D92
Eight characters, A to H, are converted into ASCII
code and stored into the D88 to 91.
Eight characters, I to P, are converted into ASCII code
and stored into the D92 to 95.
•
Coding
0 LD
X008
1 ASC
ABCDEFGH
D88
14
ASC
IJKLMNOP
D92
27
END
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......