
21
6677
201
2-
05
54
ODT-MAC400-* / ODT-MAC401-* / ODT-MAC403-*
Appendix
9
Appendix
9.1
Command format
Commands
Each command consists of 4 ASCII-coded hexadecimal digits (CD
2
D
1
D
0
) without
<CR>
or
<LF>
.
Meaning of the individual digits
Each sent hexadecimal character is echoed by the device. A
<LF><CR>
is sent
after the 4 valid characters are received. Other characters are interpreted as the
next command.
V1 prompt
A command code such as
0123
would cause the following echo:
C:0123<LF><CR>
.
V1 command termination
Press the
“ESC”
button to terminate a command at any point in the 4 ASCII
character string. In this case, the device does not wait for the next character. If
ESC is pressed for the first character, the device responds with
C:<ESC><LF><CR>
.
Timeout
A V1 command character must be input within one second. If no characters are
input within this time,
<LF><CR>
is sent and the device waits for the first
character again.
V1 data information
All D commands trigger an output. Characters 2 and 3 of the sent command are
always echoed at the start of this operation.
Syntax:
<C> <D
2
> <D
1
> <D
0
>
Meaning
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!
Characters 2 and 3 are always echoed as uppercase letters, regardless of
whether they were lowercase or uppercase beforehand.
Example: Input:
D100
=> Output:
D100<LF><CR>10Decoder
Ver.4.01.0T<LF><CR>
.