Mitsubishi Electric AJ71C24-S6 User Manual page 107

Melsec-4 computer link module
Table of Contents

Advertisement

7.
INITIAL SETTING OF TRANSMISSION CONTROL DATA TO
BUFFER MEMORY
7.2.2
Setting non-priority of transmission to the AJ71C24 with the half-duplex transmission
The following shows how to set the AJ71 C24 t o discontinue transmission when
the AJ71C24 and an external device (using half-duplex transmission) have
begun transmitting data to each other sim&aneousiy
(1) Setting "half-duplex transmission", "non-priority", and "not resend":
rocedure
(1) Transmission method
b l bO
Write
1.
0: Fullduplextransmission
[
1: Half-duplex transmission
.Set
bits b l to b15 of address 1OFH to either 0 or 1. (The AJ71C24 will
ignore the settings.)
(2) Priority setting when transmission has begun simultaneously
b 1 5
to
bO
lloH
+
(Default:
0)
Write
1
to
255.
This data
sets
the send wait time when data
transmission is started
or
restarted. (Unit: 100 msec)
(3)
Transmission method when data transmission is restarted
b15
to
b l bO
-
1 1
(Default: 0)
Write
0.
(This can be omitted since the default is 0.)
[
0: Not resend
1: Resend
Set bits b l to b15 of address 11 1 H either to 0 or 1. (The AJ71 C24 will
ignore the settings.)
xampleI
The CD terminal check is set to "Enabled".
Half-duplex transmission is used and the
non-priority of transmission and "not resend" are set. (Send wait time: 300 msec) (AJ71C24
I10 addresses: 80 to
9F)
(Sequence Program)
Write "1" to buffer memory address 10FH.
Write "3" to buffer memory address 110H.
Leave the setting of buffer memory
addresses lOBH and 111H for defaults.

Advertisement

Table of Contents
loading

Table of Contents