7. APPLICATION INSTRUCTIONS
7
−
111
MELSEC-A
PRC
Program which turns on Y35, and at the same time, outputs the comment of Y35 to
the Y60 to 69 when X0 turns on.
•
Coding
0 LD
X000
1 ASC
ABCDEFGH
D0
14
ASC
IJKLMNOP
D4
27
MOVP
K0
D8
32
LD
X001
33
PR
DO
Y014
40
END
*: When a CPU other than An
or A3V is used and M9049 is
OFF,
00
H
must be specified
in D8 in this example as an
error will result without the
NUL
(00
H
) code.
Not necessary for the An
and
A3V.
ASCII code of "A to
H" is stored
into D0 to 3.
ASCII code of "I to P" is
stored into D4 to 7.
ASCII code
PR instruction
Strobe signal Y1C
PR instruction
execution flag Y1D
PR instruction execution 480 ms
When X0 turns on, Y35 is turned on and
comment of Y35 is output to the Y60 to 69.
X000
X003
SET
Y035
PRC Y035
Y060
RST
Y035
0
9
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: ......