11 - 418 11 - 418
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Turning ON/OFF the RS (RTS) and DTR (ER) control signals
Control table format definition
Element position
Item
Description
%(0)
Processing code
Specify the processing code.
Processing Code 32
%(1)
RS (RTS) and DTR
(ER) control signals
Specify ON/OFF of the RS (RTS) and DTR
(ER) control signals to the lower and higher
bytes, respectively.
• This processing code is used to forcefully turn ON/OFF the RS (RTS) and DTR
(ER) control signals of the open communication channel.
Note that the RS-422 interface cannot be controlled by the DTR (ER) control
signal.
• Specify 32 for the processing code.
• The ON/OFF status of each control signal is specified in the following manner,
using the higher and lower 8 bits of %(1).
1:ON
0:OFF
Status of
control signal
(Ignore these bits.)
Since the ON/OFF settings of the RS (RTS) and DTR (ER) control signals require
specification using the lower and higher bytes, it is convenient to use hexadecimal
as shown below.
%(1)=&H
Express the lower byte as
a 2-digit hexadecimal number.
Express the higher byte as
a 2-digit hexadecimal number.
It is not allowed to turn ON/OFF the RS (RTS) and DTR (ER) control signals if control by
signals is enabled in the control parameter setting of a communication channel.