7. APPLICATION INSTRUCTIONS
7
−
110
MELSEC-A
Execution conditions
Program Examples PR
Program which converts “ABCDEFGHIJKLMNOP” into an ASCII code and stores the
code into the D0 to 7 when X0 turns on, and outputs the ASCII code of D0 to 7 into
the Y14 to 1D when X1 turns on.
Executed only once
PR
PRC
ON
OFF
ASCII print command
32
X00
X000
When X0 turns on, "ABCDEFGHIJKLMNOP" is
converted into ASCII code and stored into the
D0 to 7.
When X1 turns on, ASCII code of D0 to 7 is
output to the Y14 to 1D.
ASC ABCDEFGH D0
ASC IJKLMNOP
D4
P
K
MOV
0
D8
PR D0
Y014
0
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: ......