5.
HALF-DUPLEX COMMUNICATIONS USING THE
RS232C
INTERFACE
5.4.2
Data
transmission timing
from
an
AJ7lC24
When doing half-duplex communications, data transmission timing from an
AJ71C24 is shown by using the CD signal and
RS
signal of the AJ71C24.
Control the CD signal of the AJ71C24 by setting the buffer memory of the
AJ71 C24 to "priotity/non-priority at simultaneous transmission" for data trans-
mission.
(1) AJ71C24 is set to
'I
priority
'I.
-
SD
(send
dam)
RS
(send
request)
-
CD
(redved
carrier
-
RD(receiveddata)
The following steps describe the operation at every timing mentioned by (1)
to
(6)
in
the above figure.
The signal names are
of
the signals of the AJ71C24.
As described in (l), turn ON/OFF the
RS
signal of the AJ71C24 with the
external device and transmit data to the AJ71C24.
1) When
not
transmitting data from the external device
to
the
AJ71C24, turn the
RS
signal OFF.
2) When doing a data send, check the CD signal.
If
the CD signal is
OFF, turn the CD signal ON.
When the CD signal is ON, wait until
it
turns
OFF.
After the CD
is
turned OFF, turn the
RS
signal ON.
3)
After turning the
RS
signal ON, transmit data.
4)
After completing the data send, turn OFF the
RS
signal.
5)
If
the CD signal turns ON during the data send, continue transmit-
ting data send to the AJ71C24.
(This
occurs when the AJ71C24
and the external device start data transmission simultaneously.)
6)
Transmit all interrupted data from the external device to
the
AJ71
C24
after data send from the AJ71 C24 is completed.
i
5-7
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com