7 - 6 7 - 6
MELSEC-Q
7 COMMUNICATION WITH EXTERNAL DEVICES
7.3 Communication Procedure with External Devices
This section explains how to communicate with a console, terminal, printer, other
external devices.
7.3.1 Communication with a console
The following explains how to communicate with a console connected to either the RS-
232C or the RS-422/RS-485 interface of the communication module, as well as
precautions when carrying out the communication.
The console setting for the communication module are set using the DIP switch of
the communication module. See the user’s manual of each communication module
for the details.
(1) To display data on the console screen
Always 0 when the console is specified.
1) Switch the output destination to the console using the ZODV instruction.
ZODV 0
2) Use the following instructions to output to the console screen or to control the screen:
Displays data on the screen of the specified console.
PRINT USING
Displays data on the screen of the specified console. (Format can be specified.)
LOCATE
Specifies the data display location at the specified console screen.
CLS
Clears the screen of the specified console.
Note that the TAB and SPC functions can also be used with the PRINT
instruction.
A
D51H
ZODV O • • • • • • • • •
PRINT • • • • • • • • •
Console