Serial communication command – Audio Enhancement TLD100 User Manual
Page 29
29
Preface
The volume of this unit and functions set by the DIP switch can be remotely controlled by an external device using the
serial communication command.
Note:
• The settings of the functions that can be set with the DIP switch can be overwritten by sending a serial command. The
serial command has the higher priority and will override the DIP switch settings. The unit will default back to the DIP
switch settings when the power is cycled. (Excluding DIP switches No. 7 and 8)
Basic format
The serial command employs a common format to the commands of both from a control device to this unit and from this
unit to a control device, and the format is categorized into 3 patterns as follows:
When no parameter:
"$" as a starting character, command, the control code,"CR" and "LF",
as the termination character.
When a single parameter:
"$" as a starting character, command, colon, 1st parameter, the control
code,"CR" and "LF", as the termination character.
When two parameters:
"$" as a starting character, command, colon, 1st parameter, colon,
parameter, the control code,"CR" and "LF", as the termination
character.
• All of $, CR, LF, : (colon) are fixed single byte, and the command part is fixed 3 bytes.
• The length of the parameter part is basically single byte. As an exception, only the 2nd parameter is 2 bytes for the
volume setting command.
• If a command containing a failure in the command part or format is transmitted to this unit, $ER1[CR][LF] is returned
from this unit.
• If a command containing a failure in the parameter part is transmitted to this unit, $ER2[CR][LF] is returned from
this unit.
• When a timeout error occurs on the receiving timer (30 seconds) between each byte, $ER3[CR][LF] is returned.
Note:
• When commands are successively transmitted, keep 300 ms or more between successive commands that are
transmitted to this unit.
Serial communication command
$
24H
$
24H
$
24H
CR
0DH
LF
0AH
CR
0DH
Param1
Param1
Param2
LF
0AH
CR
0DH
:(Colon)
3AH
:(Colon)
3AH
:(Colon)
3AH
LF
0AH
Command
Command
When no parameter
When a single parameter
When two parameters
Start
character
(1 byte)
Command
(fixed 3 bytes)
Termination character
(2 bytes)
Split
character
(1 byte)
Parameter 1
(1 byte)
Split
character
(1 byte)
Para-
meter 1
(1 byte)
Split
character
(1 byte)
Para-
meter 2
(1-2 bytes)
Command