EasyManua.ls Logo

Mitsubishi MELSEC-A series - Page 312

Mitsubishi MELSEC-A series
508 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Related product manuals