Communicating With A Printer - Mitsubishi QD51 Programming Manual

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

7 COMMUNICATION WITH EXTERNAL DEVICES

7.3.3 Communicating with a printer

7 - 10
The following explains how to send data to a printer connected to the RS-232Cor RS-
422/RS-485 parallel interface of the communication module, as well as precautions
when carrying out the transmissions.
Items described in this section do not apply to a printer connected to an interface that
is designated as a console by the DIP switch of the communication module.
(1) Output to the printer connected to the console
1) Switch the output destination to the printer connected to the console using the ZLDV instruction.
ZLDV 0
Always 0 for the printer
connected to the A7PHP.
IBM/AT compatible
personal computer
2) Use the following instructions to print on the printer:
LPRINT
LPRINT USING
LLIST
Note that the TAB and SPC functions can also be used with the LPRINT
instruction.
(2) Output to the printer connected to an interface of the
communication module
1) Open the interface and specify the communication parameters as well as
the Kanji code conversion according to the printer to be used.
ZOPEN # <channel number>, <control table>
ZCNTL # <channel number>, 0, <control table>
KMODE # <conversion specification>
ZLDV 0
Prints data on the specified printer.
Prints data on the specified printer. (Format can be specified.)
Prints a program list on the specified printer.
It is not necessary to specify communication
parameters when the parallel interface is used.
MELSEC-Q
Use ZLDV 0 in order to print to
the printer connected
to the console.
7 - 10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents