11 - 451 11 - 451
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
ZODV
Instruction
Z Output DeVice
• Specifies the data output destination for the PRINT instruction, etc.
ZODV <channel number>
Syntax
channel number
• • • •
Specify the channel number of the communication
port to which a console or terminal is connected.
Examples
ZODV 1
• • • •
Outputs data of the PRINT instruction, etc. to the
terminal connected to CH1 (RS-232C).
Description
• The ZODV instruction specifies the data output destination for the PRINT instruction, etc.
The output destination of a printer can be
specified by the ZLDV instruction.
• The output destination specified by the ZODV instruction is valid only for the following
instructions/functions:
CLS PRINT USING
LOCATE SPC
PRINT TAB
• Specify the communication port to which the device used for data output is connected in
<channel number> using the values below:
Channel number
Communication port
0
1
2
3
4
• • • •
• • • •
• • • •
• • • •
• • • •
The console specified by the dip switch of the communication module
CH1 (RS-232C)
CH2 (RS-232C)
CH3 (RS-422/485)
CH4 (PARALLEL)
The communication channel specified by the ZODV instruction must be opened by the ZOPEN
instruction in advance.
This is not required if 0 is specified for <channel number>, however.
Note that if an output destination channel specified by the ZODV instruction is closed with
the ZCLOSE instruction, the output device for the PRINT instruction, etc. will automatically
change to the console specified by the dip switch of the communication module
(channel number 0).
REMARK
See the ZIDV, ZLDV 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...