![inout RePlay 01 User Manual Download Page 36](http://html1.mh-extra.com/html/inout/replay-01/replay-01_user-manual_2064562036.webp)
Replay User Manual v.
1.2
Page 35
a)
The data area
A
indicates the transmission of data from the master to Replay
b)
The data area
B
indicates the transmission of data from Replay to the master.
c)
The programme of the Master is structured so as to manage the data in the manner
shown on the figure from left to right. Therefore, the data management sequence is
A
,
B
.
Example :
In area
A,
the character
ENQ
(05
H
) is transmitted, followed by all the other data
indicated as "
Data
" in the figure to the right of the character
ENQ.
10.7 Basic format of the dedicated protocols
Replay manages up to four dedicated protocols.
The definition of which of these four protocols must be used by the serial connection, is set
in the configuration file
config.txt.
The difference among these four formats is due to the presence or absence of CheckSum
and/or of the characters
CR
(
C
arriage
R
eturn, character
0D
H
) and
LF
(
L
ine
F
eed,
character
0A
H
).
10.8 Basic set-up of the data transmission.
IMPORTANT!
•
The introduction of
CheckSum
at the end of the block of data and characters of
CR
+
LF
is defined in the configuration file (par. 10.2).
•
The character at the beginning of the string ENQ (0x05) may be replaced by the
character '
#
'. This makes the command string perfectly legible.
•
The address is not managed on RS232, set it at 00.
Control code
Replay address
Command code
Command data
CheckSum
CR/LF control codes