Mitsubishi QD51 Programming Manual page 577

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
ZCNTL
Instruction
• Set communication parameter data for an open communication port and read the status of
a communication port.
ZCNTL #<channel number>,0,<control table>
Syntax
channel number
control table
ZCNTL #1,0,A%( )
Examples
• The ZCNTL instruction is used to perform the following settings and status reading for an
Description
open communication channel.
• The content of the processing is specified by the processing code in the control table as
follows.
Processing
code
16
17
18
19
22
23
24
25
32
33
64
80
96
100
128
136
11 - 407
Z • CoNTroL
• • • •
• • • •
• • • •
Description
Setting communication parameters
Reading communication parameters
Setting communication control parameters
Reading communication control parameters
Specifying break characters
Reading break characters
Specifying continuous break characters
Reading continuous break characters
Turning the RS (RTS) and DTR (ER)
control signals ON/OFF
Reading the ON/OFF status of the CS
(CTR), DSR (DR), RS (RTS), DTR (ER),
and CD control signals
Reading causes of reception errors
Reading the receive buffer size and the
number of characters
Specifying Kanji code conversion
Specifying Kanji shift in/out codes
Reading the printer status
Outputting an initialization signal to a printer
Specify the communication port that is to be set or
whose status is to be read.
Specify the data to be set or the information to be
read.
Sets the parameter data specified by the integer
array A% for CH1 (RS-232C) and reads the status of
the information specified by the array from CH1.
RS-232C
MELSEC-Q
RS-422
PARALLEL
11 - 407

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents