Precautions For Using Rs-232-C Control Signal Read/Write Function - Mitsubishi MELSEC AJ65BT-R2 User Manual

Rs-232c interface module type
Hide thumbs Also See for MELSEC AJ65BT-R2:
Table of Contents

Advertisement

8 OTHER FUNCTIONS

8.9.2 Precautions for using RS-232-C control signal read/write function

R2 buffer memory
address
Flow control
100
R 2
H
designation
RS (RTS) signal
101
R 2
H
status designation
The precautions for reading the control signal status and controlling the output are
given below.
(1) Controlling the RS (RTS) signal with RYn9
Designate the RS (RTS) signal status designation ( R 2 101
When "0" is designated for the RS (RTS) signal status designation ( R 2 101
the RS (RTS) signal will constantly remain ON even if RYn9 is turned ON and
OFF.
(Follows the buffer memory side settings.)
(2) Controlling the ER (DTR) signal with RYnA
Designate "0" or "2" for the flow control designation ( R 2 100
When "1" is designated, the RYnA ON/OFF will be ignored.
(3) Setting the buffer memory
When controlling the RS-232-C signal, designate in the R2 buffer memory shown
below.
Name
Designate whether to carry out flow control with the DTR/DSR control or
DC code control when exchanging data between the R2 and external
device.
0 : Do not carry out flow control.
1 : Carry out flow control with DTR/DSR control. (Default value)
2 : Carry out flow control with DC code control.
Designate whether to leave the RS signal status constantly ON or to
follow the RYn9 ON/OFF state.
When the RS signal follows the RYn9 ON/OFF state, the RS signal will be
output as follows.
RYn9 = ON
0 : Always ON (RYn9 ON/OFF is invalid)
1 : Follow RYn9 ON/OFF
POINT
When the above buffer memory setting values have been changed, initialize the R2
with the process given in section 8.6.
Details
RS signal = ON, RYn9 = OFF
8 - 23
MELSEC-A
) to "1".
H
),
H
).
H
RS signal = OFF

Advertisement

Table of Contents
loading

Table of Contents