11 - 409 11 - 409
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Specifying communication parameters
Control table format definition
Element position
Item
Description
%(0)
Processing code
Specify the processing code.
%(1)
Baud rate
Specify the baud rate.
%(2)
Character length,
parity bit
Specify the character length and parity bit in the
lower and higher bytes, respectively.
Processing Code 16
%(3)
Stop bit
Specify the stop bit in the lower byte. The higher
byte is ignored.
Reading communication parameters
Control table format definition
Element position
Item
Description
%(0)
Processing code
Specify the processing code.
%(1)
Baud rate
Read the status of the baud rate.
%(2)
Character length,
parity bit
Read the statuses of the character length and
the parity bit into the lower and higher bytes,
respectively.
Processing Code 17
%(3)
Stop bit
Read the status of the stop bit into the lower
byte.
• It is possible to set or read communication parameters of an open
communication channel using these codes.
• Specify 16 for the processing code in order to set communication parameters.
Specify 17 for the processing code in order to read communication parameters.
Specify other items as follows:
When changing setting
values
• • •
Sets all the items including values to be
changed, in the same way as when
specifying parameters in the control table
for the ZOPEN instruction. See the ZOPEN
instruction for details (it is not possible to
set only a part of the items).
When reading set data
• • •
The currently set parameter data is stored
in element positions (1) to (3) of the control
table. See the ZOPEN instruction for the
meaning of each data item.
When the communication parameters are set, all receive buffer memory
is cleared and all control signal statuses are initialized.
Содержание 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...