Mitsubishi Electric AJ71C24-S6 User Manual page 115

Melsec-4 computer link module
Table of Contents

Advertisement

7.
INITIAL SETTING OF TRANSMISSION CONTROL DATA TO
BUFFER MEMORY
MELSEC-A
7.4.5
Setting a buffer memory area for no-protocol receive
This section shows how to set the AJ71C24 buffer memory area to store data
the PC CPU received from the external device in the no-protocol mode. An
example is also given.
When the bidirectional mode settina area (address 112H) is set to "1". this
-
memory area is set for bidirectional mode transmission.
etting method
1
1
Write the head address in hexadecimal
b15
to
bO
l 0 6 H (Head address setting)
(Default : 80H)
107H (Buffer size setting)
(Default: 80H)
Write the memory size (number of
addresses) in hexadecimal.
.xample
/
To set the head address to 300H and the memory size to 120H (AJ71C24 I10 addresses
8
to
9F)
4
(1) Buffer memory addresses 100H to 11 FH are for the special application
area and should not be set.
(2)
Make sure that the specified range does not overlap the no-protocol
mode send area or the on-demand data area.
(3) Buffer memory address 107H should include the storage area of the
no-protocol receive data length.
(4) If any range except the user area is set, the AJ71C24 will execute
operations with defaults including the areas mentioned in (2) above.
(Sequence Program)
I
TOP
I
H8
/
HI06
Write H300 to buffer memory address 106H
TOP
H8
H I 0 7
I
H I 2 0
I
K1
Write H I 2 0 to buffer memory address 107H
Shows that the leading address is 300H
Shows that the memory length is 120H
Area for no-protocol send (1ZOH addresses)

Advertisement

Table of Contents
loading

Table of Contents