11 - 414 11 - 414
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Specifying break characters
Control table format definition
Element position
Item
Description
%(0)
Processing code
Specify the processing code.
%(1)
Number of
characters
Specify the number of break characters.
%(2)
Break characters 1
and 2
Specify the code for break character 1 in the
lower byte and the code for break character 2 in
the higher byte.
Processing Code 22
%(3)
Break characters 3
and 4
Specify the code for break character 3 in the
lower byte and the code for break character 4 in
the higher byte.
%(4)
Break character 5
Specify break character 5 in the lower byte. The
higher byte is ignored.
Reading break characters
Control table format definition
Element position
Item
Description
%(0)
Processing code
Specify the processing code.
%(1)
Number of
characters
Read the number of break characters.
%(2)
Break characters 1
and 2
Read the code for break character 1 into the
lower byte and the code for break character 2
into the higher byte.
Processing Code 23
%(3)
Break characters 3
and 4
Read the code for break character 3 into the
lower byte and the code for break character 4
into the higher byte.
%(4)
Break character 5
Read break character 5 into the lower byte. The
higher byte is ignored.
• It is possible to set or read break characters of an open communication channel
using these codes.
• Specify 22 for the processing code in order to set break characters.
Specify 23 for the processing code in order to read break characters.
• Specify the number of break characters that ends the execution of a receive
request in the <number of characters>.
0 • • • • • • No break character
1 to 5 • • • Use the specified number of break characters
• Specify a number of break characters equal to the number set in <number of
characters> in <break characters 1 and 2> to <break characters 5>. Break
characters exceeding the number set are invalid. Any code from 00
H
to FF
H
can
be set as break characters.