Mitsubishi Melsec A User Manual page 53

Table of Contents

Advertisement

6. AD51 PROGRAMMING NOTES
/MELSEC
(3)
Note that with printers that use the CR code (ODH) t o initiate
printing (KGPR, K6PR-K, K7PR, A7PR etc.), writing a comma
(,) after the statement in the PRINT or LPRINT command, stops
the AD51 from sending the CR code.
Printing i s therefore n o t initiated.
(4) Notes on the use o f the KD51 PR
The KD51PR may be connected t o either o f the t w o AD51
RS-232C ports. When using the KD51PR note the following:
The KD51PR will print "?"
if data is sent from the AD51
while it is printing or during paper feed. This may be avoided
b y using the program shown in Example 2.
0
Example 1 shows a program which repeatedly prints the
letters "ABCDE"
and the resultant KD51PR print out.
Print
data and contrai
codes (CR cade,
LF
codel
are sent from
AD51.
Print control cade
03H
is rent
from
A051.
,.-----
Upon execution
of line 120,execution
Print result
returns to
line
100.
Data ir continuour-
ly written
to
the
K051PR
while
it
8s
s t i l l
printing.

Advertisement

Table of Contents
loading

Table of Contents