11 INSTRUCTIONS AND FUNCTIONS
ZLDV
Instruction
• Selects a communication port for a printer.
ZLDV <channel number>
Syntax
channel number
ZLDV 4
Examples
• The ZLDV instruction specifies to which communication port the printer is connected when
Description
the LLIST, LPRINT, and LFILES instructions are executed.
• Specify the communication port to which the printer is connected in <channel number> in
the following manner.
Channel number
0
1
2
3
4
11 - 435
• • • •
A printer connected to a peripheral device (the printer set by the basic
utility of the peripheral device is selected.)
• • • •
CH1 (RS-232C)
• • • •
CH2 (RS-232C)
• • • •
CH3 (RS-422/485)
• • • •
CH4 (PARALLEL)
The communication channel specified by the ZLDV instruction must be opened by the ZOPEN
instruction in advance.
This is not required when 0 is specified for <channel number>, however.
Note that if an output destination channel specified by the ZLDV is closed via the ZCLOSE instruction,
the output destination for the print output instructions will automatically change to the printer set by
the basic utility of the peripheral device.
REMARK
See the ZIDV, ZODV and ZOPEN instructions, and Section 7.3.
Z Line printer DeVice
• • • •
Specify the communication port to which the printer
is connected.
• • • •
Selects the printer connected to the parallel interface
to be the target printer with the printer output
instructions.
Communication port
MELSEC-Q
11 - 435