Mitsubishi QD51 Programming Manual page 578

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

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
1
2
3
4
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.
11 - 408
Communication port
• • • •
CH1 (RS-232C)
• • • •
CH2 (RS-232C)
• • • •
CH3 (RS-422)
• • • •
CH4 (PARALLEL)
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).
MELSEC-Q
11 - 408

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents