7. 
INITIAL  SETTING  OF  TRANSMISSION CONTROL DATA TO 
BUFFER MEMORY 
MELSEC-A 
7.4 
Settings In the  No-Protocol  Mode 
This  section describes  setting  methods and gives  no-protocol mode ex- 
amples. 
7.4.1 
Setting 
the 
no-protocol 
mod. 
receivecompleted 
code 
(for 
recdvo 
wtth vrrkbbkngth data) 
How to set  and  modify the  receive-completed  code  and  the  sequence 
program for the  receive processing  with  variable-length  data  are shown 
below. 
ietting  Method 
I 
bl5 
to 
b8 b7 
to 
bo 
[POINTS 
I 
(1) The completed code can be set to any value which makes 1 byte 
in 
the range of OOH  to FFH.  Since the default value setting  is ODOAH, 
when the 
CR 
and LF codes are received during  the  data receive, the 
read request is transmitted to the sequence program 
(Xnl 
is 
ON). 
If 
the default setting has been changed, when a  modified  completed 
code  is received during  the data receive, the  read  request is trans- 
mitted to  the sequence program. 
(2) 
If 
the  length  of  data to complete data receive is  also  set, the read 
request for  the  received data  is  transmitted  when the completed 
code or the set length of  data (whichever comes first)  is  received. 
(Xnl  is 
ON) 
(3) 
If the completed code is not set,  set buffer memory address 100H to 
FFFFH.  This enables 
only 
the  setting  of  data  length  to complete 
receive,  and  the  read 
of 
received  data  by  fixed  data  length  is 
enabled. 
To 
set the  end  code  to 
ETX 
(03H) 
(AJ71C24 
I/O 
addresses 
80 
to 9F) 
(Sequence Program) 
TOP 
I 
HE 
I 
H100 
] 
H0003 
I 
K1 
Write 
tho 
ASCII 
code 
for 
ElX 
(03H) 
to 
buffer memoy  addrew 
1 
OOH 
I 
4 
d 
i 
d 
1 
1 
J 
1 
1 
..A 
1 
Ci 
1 
Y 
7-9 
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com