11 - 408 11 - 408
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
• Specify which of the communication ports of the communication module is to be used in
<channel number>. The channel numbers correspond to the communication ports as
follows:
Channel number
Communication port
1
2
3
4
• • • •
• • • •
• • • •
• • • •
CH1 (RS-232C)
CH2 (RS-232C)
CH3 (RS-422)
CH4 (PARALLEL)
Note that a communication port that is to be set or whose status is to be read using the
ZCNTL instruction must be opened by the ZOPEN instruction in advance. If it is not
opened, an error occurs.
• Specify the processing code that corresponds to the processing to be performed and the
parameters required in the processing in <control table>, which must be an integer array
variable. Different <control table> configurations are used depending on the processing;
specify the elements according to the specifications of the individual processing code.
An array used for <control table> must always be defined using the DIM instruction, even if the
number of elements used is 10 or less.
If an array is not defined using the DIM instruction, an error occurs at the execution of the ZCNTL
instruction (usually, an array with 10 or fewer elements can be used without defining it).
Содержание 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...