Basic Format Of The Dedicated Protocols; Basic Set-Up Of The Data Transmission - inout RePlay 01 User Manual

Table of Contents

Advertisement

The data area A indicates the transmission of data from the master to Replay
a)
The data area B indicates the transmission of data from Replay to the master.
b)
The programme of the Master is structured so as to manage the data in the manner
c)
shown on the figure from left to right. Therefore, the data management sequence is A, B.
In area A, the character ENQ (05
Example :
indicated as "
Data

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 (Carriage Return, character 0D
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.
Replay User Manual v.
" in the figure to the right of the character ENQ.
Replay address
Command code
Command data
CR/LF control codes
1.2
) is transmitted, followed by all the other data
H
Control code
CheckSum
Page 35
) and LF (Line Feed,
H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents