Mitsubishi QD51 Programming Manual page 623

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Baud rate
• In case of A1SD51S and AD51H-S3
Select and set one of the following:
300, 600, 1200, 2400, 4800, 9600, or 19200 bps
• In case of QD51 (-R24)
Select and set one of the following:
300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, or 38400 (setting value: -384)
bps
Character length
• In case of A1SD51S and AD51H-S3
Select and set one of the following : 5, 6, 7, or 8
• In case of QD51 (-R24)
Select and set either 7 or 8.
Parity bit
Select and set one of the following:
No parity (setting value : 0), even parity (setting value : 1), or odd parity (setting value : 2)
Stop bit
Select and set one of the following:
1 bit (setting value: 1), 2 bits (setting value: 2), or 1.5 bits (setting value: 3)
Since the character length and parity bit are required to be specified using the lower
and higher bytes, it is convenient to use hexadecimal as shown below.
• It is always necessary to open the communication port with the ZOPEN instruction when
switching between input/output ports by the ZODV, ZIDV, and ZLDV instructions.
• An error occurs if the ZOPEN instruction is executed on the communication port specified
as a control or debug port by the dip switch of the communication module.
• If a value from 1 to 3 is specified for <channel number>, secure 1024 bytes of memory for
the communication buffer and clear any data in the buffer area.
Use the ZCNTL instruction to specify the communication control method and the
communication buffer size.
11 - 453
%(2)=&H
REMARK
See the ZCLOSE instruction and Chapter 7.
Indicates the lower byte as
a 2-digit hexadecimal number.
Indicates the higher byte as
a 2-digit hexadecimal number.
MELSEC-Q
11 - 453

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents