7. 
INITIAL 
SETTING 
OF 
TRANSMISSION 
CONTROL 
DATA 
TO 
BUFFER 
MEMORY 
MELSEC-A 
7.4.2 
Spectfylng  no-protocol 
recehre 
completion 
data 
kngth 
(ftxed 
kngth) 
How to complete the  data receive and set the data  length are given below 
along with a sequence program example. 
iettlng 
Method] 
b15  to 
bO 
Buffer  memory  address 108H 
Write 
the 
amount 
of 
received 
data 
(default 
121 
wds) 
'OINTS] 
(1) 
Set the  length of data to complete the  data receive 
in 
the following 
ranges: 
Length of data received 
s 
no-protocol mode buffer size (when word 
units are set) 
Length of data received 
s 
no-protocol  mode buffer size 
x 
2 
(when 
byte units are  set) 
If the received data  length  is larger than  the  no-protocol  mode buffer 
size, then it is automatically set equal to the  no-protocol  mode buffer 
size. 
(2) 
Section 
7.4.3 
describes  the  selection of  a word or byte  unit  for  the 
data  length to complete data receive. 
(3) 
If 
the receive-completed code is set, the  read request for the received 
data is transmitted when the  completed  code or the set data  length 
(whichever  comes first) is received. 
(xnl 
is 
ON) 
(4) 
To 
read the received data by fixed length without setting  the com- 
pleted code, do the  following setting: 
Write  FFFFH. 
I)(: 
to 
b8' 
to 
FbO, 
Write 
the 
length 
of 
received  data 
Buffer memory  address  1 
OOH 
Buffer  memory  address 
108H 
(default 
: 
121 
words) 
ixrmple 
I 
To 
set the fixed  length at which data receive 
is 
complete to 
15 
words 
in 
the case 
of 
the 
read of received data only by fixed length 
(AJ71C24 
I/O 
addresses 
80 
to 
9F) 
(Sequence Program) 
1- 
TOP 
I 
H8  HI00  HFFFF 
K1 
To 
specify 
the 
fixed length, write  HFFFF 
to 
buffer  memory  address 
1 
WH. 
I 
TOP 
H8  H108 
K15 
K1 
~ 
Write 
'15' 
to 
buffer  memory  address 108H. 
7- 
10 
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com