RS-232 Protocol
TGP-5
Technical Documentation
Version 1.1, 17 July 2006
Contact Information:
Support: 425.335.4748 Copyright © 2006 Sunfire Corporation 1 / 12
1920 Bickford Avenue • Snohomish, WA 98290 •
425) 335-4748
Revision History:
ersion Date Contents
1.0
1.1
Notes:
Version Check:
To check the version on the unit, please follow the procedure below.
1. Turn on the unit.
2. Press DISPLAY + STANDBY/ON buttons.
3. Two versions will be displayed sequentially. Check the first version "MSxxxxx".
17 November 2005 internal release
17 July 2006 first public release
Date ContentsModel
The version number shows the date (ymdd) in which the firmware was created. Here, X, Y
and Z in month mean Oct
Nov and Dec respectively.
Support: 425.335.4748 Copyright © 2006 Sunfire Corporation 2 / 12
SUNFIRE RS-232 Protocol, v1.1
1 Hardware Overview
3wire RS-232C protocol
19200 or 9600 baud / 8 data bits / 1 stop bits / no parity / no flow control (baud is selectable via OSD
9 pin female D type connector (pin 2 is transmit, pin 3 is receive, pin 5 is signal ground)
Use a straight-thru cable to connect to your control system or PC.
9600 baud
GND
8 data bits
No parity
No flow control
RX
TX
DB9 Male to plug
into Sunfire
2 Protocol Overview
Sunfire's RS-232 protocol is a very sophisticated, yet simple to use interface to 3rd party control
systems such as Elan, Crestron, AMX, and others. Each command is structured as outlined
below:
1st 2nd-4th 6th-Nth last
ONP W R [CR]*
End Character*
[CR] = "0x0D" hex or "13" decimal
Command Parameter
(of variable length)
Start Character
The start character ("*") tells the Sunfire unit that a command is about to follow. The command +
parameter instruct the unit to perform a certain operation. The unit will then execute that action
upon receiving the [CR] string.
* Some control s
stems use a special character (such as "\r" or "\n") to represent a carriage
return, [CR]. Please check with your control system provider if you are not sure what
character or string they use.
Support: 425.335.4748 Copyright © 2006 Sunfire Corporation 3 / 12
SUNFIRE
General Commands
MAIN ZONE
RS-232 Protocol, v1.1
Category - Code Description
Power
"*PWROF" Power Off (standby)
"*PWRON" Power On
"*PWRTG" Power Toggle
"*PWRST" Gets Power Status
Returns "*PWROF" or "*PWRON"
Volume*
"*VOLABnnn" Sets Volume Level (0-100)
"*VOLUP" Volume Level Up
"*VOLDN" Volume Level Down
"*VOLST" Gets Volume Level
Returns "*VOLnnnn", where "nnnn" is decimal value
* Limited by Main Zone Max Volume Setting in Menu
Muting
"*MUTOF" Audio Muting Off
"*MUTON" Audio Muting On
"*MUTTG" Audio Muting Toggle
"*MUTST" Gets Muting Status
Returns "*MUTOF" or "*MUTON"
Amp On/Off (Receivers Only)
"*AUXSB" Receiver Amplifier CH 6-7 to side backs
"*AUXSD" Receiver Amplifier CH 6-7 to side axis
"*AUXZ2" Receiver Amplifier CH 6-7 to Zone2 out
"*AUXST" Receiver Amplifier CH 6-7 Status
Returns "*AUXSB", etc.
"*AMPON" Receiver Amplifier On
"*AMPOF" Receiver Amplifier Off
"*AMPTG" Receiver Amplifier Toggle
"*AMPST" Gets Receiver Amplifier Status
Returns "*AMPON", etc.
OSD Operation
"*SETM2"
"*SETV2"
"*KEY00"
"*KEY01"
"*KEY02"
"*KEY03"
"*KEY04"
"*KEY05"
"*KEY06"
"*KEY07"
"*KEY08"
"*KEY09"
"*KEY10"
"*OSDMN"
"*OSDUP"
"*OSDDN"
"*OSDRT"
"*OSDLT"
"*OSDEN"
"*OSDEX"
"*OSDST"
SETS VID2 OUT as Mon2
SETS VID2 OUT as Vid2 rec out
Use with KEY10 to select 10,20,30,4
Selects Tuner Preset 1 if In
Selects Tuner Preset 2 if In
Selects Tuner Preset 3 if In
Selects Tuner Preset 4 if In
Selects Tuner Preset 5 if In
Selects Tuner Preset 6 if In
Selects Tuner Preset 7 if In
Selects Tuner Preset 8 if In
Selects Tuner Preset 9 if In
Sends Ke
Enter Setu
UP, navi
DOWN, navi
RIGHT, navi
LEFT, navi
ENTER, navi
EXIT, leaves Setu
Gets OSD Status
+10 to use with keys abov
menu
ation in Setup menu
ation in Setup menu
ation in Setup menu
ation in Setup menu
ation in Setup menu
menu
is OSD currently displayed?
ut is Tuner
ut is Tuner
ut is Tuner
ut is Tuner
ut is Tuner
ut is Tuner
ut is Tuner
ut is Tuner
ut is Tuner
TGP-5
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
no
no
no
no
no
no
no
no
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
Support: 425.335.4748 Copyright © 2006 Sunfire Corporation 4 / 12