11 - 434 11 - 434
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
ZIDV
Instruction
Z Input DeVice
• Specifies the data input device for the INPUT instruction, etc.
ZIDV <channel number>
Syntax
channel number
• • • •
Specify the channel number of the communication
port to which a console or terminal is connected.
Examples
ZIDV 1
• • • •
Performs data input using the INPUT instruction, etc.
from the terminal connected to CH1 (RS-232C).
Description
• The ZIDV instruction is used to specify the device from which data for the INPUT
instruction, etc. is input.
• The input device specified by the ZIDV instruction is valid only for the following instructions
and functions.
INPUT INKEY$
INPUT$ LINE INPUT
• Specify the communication port to which the device used for data input is connected in
<channel number>.
Channel number
Communication port
0
1
2
3
• • • •
• • • •
• • • •
• • • •
The console specified by the dip switch of the communication module
CH1 (RS-232C)
CH2 (RS-232C)
CH3 (RS-422/485)
The communication channel specified by the ZIDV 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 input destination channel specified by the ZIDV instruction is closed with
the ZCLOSE instruction, the input device used by the INPUT instruction, etc. will automatically
change to the console specified by the dip switch of the communication module (channel number 0).
REMARK
See the ZLDV, 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...