Preparation For The Communication; Communication Parameter Setting - Mitsubishi QD51 Programming Manual

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

Advertisement

7 COMMUNICATION WITH EXTERNAL DEVICES

7.2 Preparation for the Communication

7.2.1 Communication parameter setting

7
7 - 2
Various settings are necessary in order to communicate with external devices and
terminals. The preparations required to perform the communication are described
below.
In order to communicate through the RS-232C (CH1, CH2) or RS-422 (CH3) interface,
the following parameters have to be set using the ZOPEN and ZCNIL instructions prior
to the actual communication. These parameters on the communication module side
and the target device side must correspond correctly.
If they do not correspond correctly, the communication may not be possible or
communication errors may occur.
• The communication parameter settings are not necessary for the parallel
interface (CH4).
• Setting ranges for the communication parameters
(baud rate, character length, etc.) are different for each communication module.
See the user's manual of each communication module.
• Baud rate • • • Specify this parameter when using the ZOPEN instruction.
Specify the speed of the data communication. The following values can be set in
BASIC: 300 bps, 600 bps, 1200 bps, 2400 bps, 4800 bps, 9600 bps, 19200 bps,
38400 bps.
• Character length • • • Specify this parameter when using the ZOPEN instruction.
Specify the number of bits in the codes that represent each character used in the
communication. The following values can be set in BASIC:
• 5 bits • • • 32 characters from 0 through 1F
• 6 bits • • • 64 characters from 0 through 3F
• 7 bits • • • 128 characters from 0 through 7F
• 8 bits • • • 256 characters from 0 through FF
• Parity bit • • • Specify this parameter when using the ZOPEN instruction.
Specify how the data is during the communication checked (parity check). The
following can be specified in BASIC:
• No parity check is performed.
• Parity check is performed and even parity bit is used.
• Parity check is performed and odd parity bit is used.
REMARK
Parameter • • • Parameters refer to data that must be specified for the
communication.
MELSEC-Q
can be represented.
H
can be represented.
H
can be represented.
H
can be represented.
H
7 - 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents