Mitsubishi MELSEC-A Series Programming Manual page 312

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents