11 - 453 11 - 453
MELSEC-Q
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.
%(2)=&H
Indicates the lower byte as
a 2-digit hexadecimal number.
Indicates the higher byte as
a 2-digit hexadecimal number.
• 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.
REMARK
See the ZCLOSE instruction and Chapter 7.
Содержание 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...