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
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......