11 - 435 11 - 435
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
ZLDV
Instruction
Z Line printer DeVice
• Selects a communication port for a printer.
ZLDV <channel number>
Syntax
channel number
• • • •
Specify the communication port to which the printer
is connected.
Examples
ZLDV 4
• • • •
Selects the printer connected to the parallel interface
to be the target printer with the printer output
instructions.
Description
• The ZLDV instruction specifies to which communication port the printer is connected when
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
Communication port
0
1
2
3
4
• • • •
• • • •
• • • •
• • • •
• • • •
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.
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...