Mitsubishi Electric AJ71C24-S6 User Manual page 111

Melsec-4 computer link module
Table of Contents

Advertisement

7.
INITIAL SETTING OF TRANSMISSION CONTROL DATA TO
BUFFER MEMORY
MELSEC-A
7 . 4
Settings i n the No-Protocol Mode
This section describes setting methods and gives no-protocol mode ex-
amples.
7.4.1 Setting the no-protocol mode receive-completed code (for receive with variable-length data)
How to set and modify the receive-completed code and the sequence Droqram
.
-
for the receive proce&ng with variabl&length data are shown below.
ietting method
I
Buffer memory address lOOH
Default ODOAH (CR, LF)
Enter the required completed code
complete
Always write O O H to the higher 8 bits
(1)
The completed code can be set to any value which makes 1 byte in
the range of O O H 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 lOOH 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.
ixarnplel
To set the end code to ETX (03H) (AJ71 C24 I10 addresses 80 to 9F)
(Sequence Program)
TOP
I
H8
I
HlOO
(
H0003
K1
Write the ASCII code for
ETX
(03H) t o
buffer memory address lOOH

Advertisement

Table of Contents
loading

Table of Contents