7. APPLICATION INSTRUCTIONS
Execution conditions
Program Examples
ASCII print command
PR
PRC
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.
X000
ASC
0
ASC
MOV
X00
PR
32
ON
OFF
ABCDEFGH
D0
IJKLMNOP
D4
P
K
0
D8
D0
Y014
7 − 110
Executed only once
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.
MELSEC-A