
ODT-MAC40*-*-RD
Appendix
2
012-
10
29
9
Appendix
9.1
Command Format
Commands
Each command consists of four ASCII coded hex digits (CD
2
D
1
D
0
) without
<CR>
or
<LF>
.
Meaning of the Individual Digits
Each hexadecimal character sent is echoed by the device. On receipt of the four
valid characters, an
<LF><CR>
is sent. Other characters are interpreted as the
next command.
V1 prompt
A command code, such as
0123
would create the following echo:
C:0123<LF><CR>
.
V1 aborted command
Using
"ESC"
, any command can be aborted at any point of the four ASCII
characters. In this case, the device does not wait for the next character. If an ESC
is sent as the first character, the device responds with
C:<ESC><LF><CR>
.
Timeout
Entering a V1 command character takes one second. If no character appears
within this time, then
<LF><CR>
is sent and the device waits again for the first
character.
V1 data information
All D commands trigger an output. At the beginning of this output, characters 2
and 3 of the sent command are always echoed.
Syntax:
<C> <D
2
> <D
1
> <D
0
>
Description
C
Command
D
2
Detail 2
D
1
Detail 1
D
0
Detail 0
Example
Command: Read (8)
Detail none (000)
Complete command:
8000
Caution!
The echoed characters 2 and 3 are always echoed as uppercase letters,
regardless of whether they were entered as lowercase or uppercase.
Example: Input:
D100
=> Output:
D100<LF><CR>10Decoder
Ver.4.01.0T<LF><CR>
.