Control Codes; Address (Add); Command (Cmd) - inout RePlay 01 User Manual

Table of Contents

Advertisement

10.9 Control codes

The control codes are characters (they belong to the first 32 ASCII characters and cannot
be printed out) which define the kind of information contained in the pack following them.
The control codes used are those which appear on the following table.
Replay initialises the transmission sequence when it receives the character ENQ.
Mnemonic
Code
STX
02H
ETX
03H
ENQ
05H
ACK
06H
LF
0AH
CR
0DH
NAK
15H
N.B. The codes are expressed in hexadecimal.

10.10 Address (ADD)

Not used for RS232, set value "00".

10.11 Command (CMD)

This is used to define the operation to be carried out (for example PLAY, reading the state
or setting of the volume). The commands are defined in ASCII characters and consist of
2 characters.
In the following sections of this chapter, we provide the list of commands and every detail
about each command.
Replay User Manual v.
Description
Start TeXt. Beginning of transmission of reply pack.
End TeXt. End of reply pack.
EnQuiry. Beginning of pack addressed to Replay ( or # for RS232).
ACKnowledge. Beginning of reply pack: all OK!
Line Feed. End of line code.
Carriage Return.
Not AcKnowledge. Beginning of pack with error code.
1.2
Page 36

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents