You are on page 1of 15

Technical Documentation

Serial Protocol RS-232 & Ethernet TGP-5 Processor

Version 1.3, 28 August 2006

Contact Information: 1920 Bickford Avenue Snohomish, WA 98290 (425) 335-4748

support@sunfire.com

Copyright 2006 Sunfire Corporation

1 / 15

Revision History: Version Date 1.0 17 November 2005 1.1 17 July 2006 1.2 11 August 2006 1.3 28 August 2006

Contents internal release first public release for software version 5.22 updated to include Ethernet control minor bug fixes to document

Notes: Model

Date

Contents

Version Check: To check the version on the unit, please follow the procedure below. 1. Turn on the unit 2. Using the remote control, press "MENU" to enter the setup menu 3. Navigate to the "Settings/Software/Rev List" menu 4. Scroll to "SW-x.xx" (front panel readout) or "Main Code x.xx" (OSD readout) The software version number is x.xx. Please have this ready when contacing technical support.

support@sunfire.com

Copyright 2006 Sunfire Corporation

2 / 15

SUNFIRE

RS-232 OVERVIEW

RS-232 Protocol

1 Hardware Overview
3 wire RS-232C connection 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-through cable to connect to your control system or PC

9600 baud 8 data bits No parity No flow control

GND 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

[CR] End Character* [CR] = "0x0D" hex or "13" decimal

Command Start Character

Parameter (of variable length)

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 systems 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@sunfire.com

Copyright 2006 Sunfire Corporation

3 / 15

SUNFIRE

ETHERNET OVERVIEW

RS-232 Protocol

1 Hardware Overview
4-wire Ethernet connection 19200 or 9600 baud / 8 data bits / 1 stop bits / no parity / no flow control (baud is selectable via OSD) * Baud rate must match the setting in the RS-232 setup 8 pin RJ-45 connector A straight-through cable is used to connect to your network router or switch (recommended) A cross-over (null modem) cable is needed to connect directly to a PC (not recommended)

2 Protocol Overview
Sunfire's Ethernet protocol is a very sophisticated, yet simple to use interface to 3rd party Ethernet control systems such as ELAN, Crestron, AMX, and others. Each command is structured as outlined below:
1st 2nd-4th 6th-Nth

Command Start Character

Parameter (of variable length)

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 once the full string is sent. * Note that unlike when using RS-232, a carriage return is not needed for Ethernet control. Sending it will not cause any problems - the unit will still respond as expected.

3 Unit Configuration
1. Prepare the unit for Ethernet control by navigating to the setup menu at SETTINGS/CONTROL/DIG CONTROL = LAN (not SERIAL). The Ethernet jack defaults to 9600 baud so make sure the baud rate on the CONTROL page is still 9600 (factory setting). 2. Power down the unit and connect the Ethernet cable to your LAN. Power up the unit. The Ethernet port will use DHCP by default to allow the router to dynamically assign it an IP address.

(continued on next page)

support@sunfire.com

Copyright 2006 Sunfire Corporation

4 / 15

SUNFIRE

ETHERNET OVERVIEW

RS-232 Protocol

4 PC Configuration
1. Download the latest version of the Device Installer application from: http://ltxfaq.custhelp.com/cgi-bin/ltxfaq.cfg/php/enduser/std_adp.php?p_faqid=644 Download the file for the Xport product. 2. After installing, run the Device Installer program to discover the IP address assigned to the unit. Write this down. A typical assignment would be something like 192.168.0.xxx or 10.1.1.xxx. 3. Open Hyperterminal on a PC connected to the LAN. If you open the main program (not a previously saved profile) it will prompt you with configuration questions. For "CONNECT USING" use TCP/IP (Winsock). It will give you a second configuration screen. Here you will enter the host address that you wrote down previously. For the Port Number type in 10001. 4. Hyperterminal will now connect to the unit. By default Hyperterminal does not echo the local keystrokes so you will only see the unit's return acknowledgement. Please refer to the codes in this document for sample command strings. Of course, the Ethernet control method is designed to be used by a 3rd party control system. The procedure outlined above should be used for test purposes only.

support@sunfire.com

Copyright 2006 Sunfire Corporation

5 / 15

SUNFIRE

MAIN ZONE

RS-232 Protocol, v1.3

General Commands
Category - Code Ack Echo "*PWROF" "*PWRON" "*PWRTG" "*PWRST" "*VOLABnnnn" "*VOLUP" "*VOLDN" "*VOLST" Second Return if changed then "*PWROF" if changed then "*PWRON" "*PWRON", "PWROF" *PWRON, "PWROF" "*VOLnnnn" "*VOLnnnn" "*VOLnnnn" "*VOLnnnn" Description Power Off (standby) Power On Power Toggle Gets Power Status
TGP-5

Power
"*PWROF" "*PWRON" "*PWRTG" "*PWRST"
yes yes yes yes yes yes yes yes

Volume*
Sets Volume Level (0-100) Volume Level Up Volume Level Down Gets Volume Level "nnnn" is decimal value * Limited by Main Zone Max Volume Setting in Menu, send VOLAB sequence rapidly, not hand typed. "*VOLABnnn" "*VOLUP" "*VOLDN" "*VOLST"

Muting
"*MUTOF" "*MUTON" "*MUTTG" "*MUTST" "*AUXSB" "*AUXSD" "*AUXZ2" "*AUXST" "*AMPON" "*AMPOF" "*AMPTG" "*AMPST" "*MUTOF" "*MUTON" "*MUTTG" "*MUTST" "*AUXSB" "*AUXSD" "*AUXZ2" "*AUXST" "*AMPON" "*AMPOF" "*AMPTG" "*AMPST" "*SETM2" "*SETV2" "*KEY00" "*KEY01" "*KEY02" "*KEY03" "*KEY04" "*KEY05" "*KEY06" "*KEY07" "*KEY08" "*KEY09" "*KEY10" "*OSDMN" if changed then "*MUTOF" if changed then "*MUTON" "*MUTON", "MUTOF" "*MUTON", "MUTOF" if changed then "*AUXSB" if changed then "*AUXSD" if changed then "*AUXZ2" "*AUXSB","AUXSD","AUXZ2" if changed then "*AMPON" if changed then "*AMPOF" if changed then "*AMPON","*AMPOF" "*AMPON","*AMPOF" if changed returns "*SETM2" if changed returns "*SETV2" no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return Audio Muting Off Audio Muting On Audio Muting Toggle Gets Muting Status Receiver Amplifier CH 6-7 to side backs Receiver Amplifier CH 6-7 to side axis Receiver Amplifier CH 6-7 to Zone2 out Receiver Amplifier CH 6-7 Status Receiver Amplifier On Receiver Amplifier Off Receiver Amplifier Toggle Gets Receiver Amplifier Status SETS VID2 OUT as Mon2 SETS VID2 OUT as Vid2 rec out Use with KEY10 to select 10,20,30,40 Selects Tuner Preset 1 if Input is Tuner Selects Tuner Preset 2 if Input is Tuner Selects Tuner Preset 3 if Input is Tuner Selects Tuner Preset 4 if Input is Tuner Selects Tuner Preset 5 if Input is Tuner Selects Tuner Preset 6 if Input is Tuner Selects Tuner Preset 7 if Input is Tuner Selects Tuner Preset 8 if Input is Tuner Selects Tuner Preset 9 if Input is Tuner Sends Key +10 to use with keys above Enter Setup menu
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

Amp On/Off (Receivers Only)

OSD Operation
"*SETM2" "*SETV2" "*KEY00" "*KEY01" "*KEY02" "*KEY03" "*KEY04" "*KEY05" "*KEY06" "*KEY07" "*KEY08" "*KEY09" "*KEY10" "*OSDMN"

support@sunfire.com

Copyright 2006 Sunfire Corporation

6 / 15

SUNFIRE
"*OSDUP" "*OSDDN" "*OSDRT" "*OSDLT" "*OSDEN" "*OSDEX" "*OSDST" "*OSDUP" "*OSDDN" "*OSDRT" "*OSDLT" "*OSDEN" "*OSDEX" "*OSDST" "*DIMAB" "*DIMST"

MAIN ZONE
no second return no second return no second return no second return no second return no second return "*OSDON","*OSDOF" "*DIMABn" "*DIMSTn" UP, navigation in Setup menu DOWN, navigation in Setup menu RIGHT, navigation in Setup menu LEFT, navigation in Setup menu ENTER, navigation in Setup menu EXIT, leaves Setup menu Gets OSD Status (is OSD currently displayed?)

RS-232 Protocol, v1.3


yes yes yes yes yes yes yes v5.24 and up v5.24 and up

Dimmer Operation
"*DIMAB" "*DIMST"
Sets front panel brightness(0-3) 0=dimmest, 3=brightest

Where "n" is 0 to 3 (0=dimmest)

Source Commands
Category - Code Ack Echo "*SRC00" "*SRC01" "*SRC02" "*SRC03" "*SRC04" "*SRC05" "*SRC06" "*SRC07" "*SRC08" "*SRC09" "*SRC10" "*SRC11" "*SRCUP" "*SRCDN" "*SRCST" Second Return if changed then "*SRC00" if changed then "*SRC01" if changed then "*SRC02" if changed then "*SRC03" if changed then "*SRC04" if changed then "*SRC05" if changed then "*SRC06" if changed then "*SRC07" if changed then "*SRC08" if changed then "*SRC09" if changed then "*SRC10" if changed then "*SRC11" "*SRCnn" "*SRCnn" "*SRCnn" Description CD TAPE TUNER - LAST BAND PHONO 8CH VCR VID2 VID1 SAT DVD TUNER - DIRECT AM TUNER - DIRECT FM Next Input Previous Input Gets Current Input Source
TGP-5

Input Source Selection


"*SRC00" "*SRC01" "*SRC02" "*SRC03" "*SRC04" "*SRC05" "*SRC06" "*SRC07" "*SRC08" "*SRC09" "*SRC10" "*SRC11" "*SRCUP" "*SRCDN" "*SRCST"
yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes

DSP Listening Mode Commands


Category - Code Ack Echo "*DSP00" "*DSP01" "*DSP02" "*DSP03" "*DSP04" "*DSP05" "*DSP06" Second Return if changed then "*DSP00" if changed then "*DSP01" if changed then "*DSP02" if changed then "*DSP03" if changed then "*DSP04" if changed then "*DSP05" if changed then "*DSP06" Description STEREO SOURCE DIRECT PRO LOGIC LEGACY JAZZ CLUB PARTY DTS ES On DTS ES Off
TGP-5

DSP Listening Modes


"*DSP00" "*DSP01" "*DSP02" "*DSP03" "*DSP04" "*DSP05" "*DSP06"
yes yes yes yes yes yes yes

support@sunfire.com

Copyright 2006 Sunfire Corporation

7 / 15

SUNFIRE
"*DSP07" "*DSP08" "*DTSLM" "*DTSLC" "*DTSLS" "*DSP11" "*DSP12" "*DSP13" "*DSP14" "*DSP16" "*DSP17" "*DSP18" "*HOLON" "*HOLOF" "*HOLTG" "*HOLST" "DSP22" "DSP23" "*DSPUP" "*DSPDN" "*DSPST" "*DTSST" "*DDSST" "*DSP07" "*DSP08" "*DTSLM" "*DTSLC" "*DTSLS" "*DSP11" "*DSP12" "*DSP13" "*DSP14" "*DSP16" "*DSP17" "*DSP18" "*HOLON" "*HOLOF" "*HOLTG" "*HOLST" "DSP22" "DSP23" "*DSPUP" "*DSPDN" "*DSPST" "*DTSST" "*DDSST"

MAIN ZONE
if changed then "*DSP07" if changed then "*DSP08" if changed then "*DTSLM" if changed then "*DTSLC" "*DTSLM", "*DTSLC" if changed then "*DSP11" if changed then "*DSP12" if changed then "*DSP13" if changed then "*DSP14" if changed then "*DSP16" if changed then "*DSP17" if changed then "*DSP18" if changed then "*HOLON" if changed then "*HOLOF" "*HOLON","*HOLOF" "*HOLON","*HOLOF" if changed then "*DSP22" if changed then "*DSP23" "*DSPnn" "*DSPnn" "*DSPnn" "*DTSnn" "*DSPnn" DTS NEO:6 MUSIC DTS NEO:6 CINEMA DTS LFE MUSIC DTS LFE CINEMA DTS LFE STATUS DOLBY DIGITAL EX On DOLBY DIGITAL EX Off DOLBY/DTS SUB MODE Up DOLBY/DTS SUB MODE Down PLII2x MUSIC PLII2x CINEMA PLII2 MATRIX HOLOGRAPHIC On HOLOGRAPHIC Off HOLOGRAPHIC Toggle HOLOGRAPHIC Status PLII MUSIC PLII CINEMA DSP MODE Up DSP MODE Down Gets Current DSP Listening Mode See *GMZST for DSP codes Gets DTS SUB MODE Returns "*NEO6M", "NEO6C" Gets DOLBY SUB MODE See above for Dolby DSP codes

RS-232 Protocol, v1.3


yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes

Audio Signal Type


"*ASTST" "*ASTST" "*ASTxx" Gets Detected Audio Signal Type nn=00=Analog,01=Digital,02=DD Lock,03=DTS Lock, 04=PCM Auto Signal Switch On Auto Signal Switch Off Auto Signal Switch Status Side Axis On Side Axis Off Side Axis Toggle Gets Side Axis State
yes

"*AUTON" "*AUTOF" "*AUTST"

"*AUTON" "*AUTOF" "*AUTST" "*SASON" "*SASOF" "*SASTG" "*SASST"

if changed then "*AUTON" if changed then "*AUTOF" "*AUTON","*AUTOF" if changed then "*SASON" if changed then "*SASOF" "*SASON","*SASOF" "*SASON","*SASOF"

yes yes yes yes yes yes yes

Side Axis Speakers


"*SASON" "*SASOF" "*SASTG" "*SASST"

support@sunfire.com

Copyright 2006 Sunfire Corporation

8 / 15

SUNFIRE

MAIN ZONE

RS-232 Protocol, v1.3

Tuner Commands
Category - Code Ack Echo "*TUNABnnnnn" "*TUNUP" "*TUNDN" "*TUNAM" "*TUNFM" "*SCNUP" "*SCNDN" "*TUNST" Second Return "*TUNbbnnnnn" "*TUNbbnnnnn" "*TUNbbnnnnn" if changed then "*TUNAM" if changed then "*TUNAM" no second return no second return "*TUNbbnnnnn" Description DIRECT TUNE (must be 5 digits) ** Tune Step Up Tune Step Down Change to AM band Change to FM band Scan Up (start/stop) Scan Down (start/stop) Gets Current Tuning Frequency bb=AM,FM nnnnn = frequency
TGP-5

Tuning*
"*TUNABnnnnn" "*TUNUP" "*TUNDN" "*TUNAM" "*TUNFM" "*SCNUP" "*SCNDN" "*TUNST"
yes yes yes yes yes yes yes yes

* TUNER function is shared by both MAIN and ZONE 2 ** Must select AM/FM band first using source command or direct command listed above, send TUNAB sequence rapidly, not hand typed.

Preset*
"*PRSRCnn" "*PRSUP" "*PRSDN" "*PRSABnn" "*PRSDSxxnnnnnm" "*PRSST" "*PRSRCnn" "*PRSUP" "*PRSDN" "*PRSABnn" "*PRSDSxxnnnnnm" "*PRSST" "*PRSnn" "*PRSnn" "*PRSnn" "*PRSnn" no second return "*PRSnn" Recall Preset "nn" (decimal) Next Preset Previous Preset Assign Current Station to Preset "nn" ** Direct Store Preset *** Gets Current Preset No. If no preset then returns "*PRS00"
yes yes yes yes yes yes

* TUNER function is shared by both MAIN and ZONE 2 ** Also stores band and noise reduction mode. *** Direct Store Preset: direct storing of any station to any preset "xx"=preset #, "nnnnn"=freq., "m"=mode (0=mono, 1=stereo, 2=stereo w/ NR) Ex: "*PRSDS12107502" stores FM107.5 into preset 12 as stereo + NR Ex: "*PRSDS05008000" stores AM800 into preset 5 as mono (mode ignored for AM)

support@sunfire.com

Copyright 2006 Sunfire Corporation

9 / 15

SUNFIRE

MAIN ZONE

RS-232 Protocol, v1.3

Advanced System Commands


Category - Code Ack Echo Second Return Description CENTER Up CENTER Down CENTER Zeroed (reset to 0dB) Set CENTER (00=-20dB, 40=0dB, 60=+10dB)** SUB Trim Up SUB Trim Down SUB Zeroed (reset to 0dB) Set SUB (00=-20dB, 40=0dB, 60=+10dB)** SUR Up SUR Down SUR Zeroed (reset to 0dB) Set SUR (00=-20dB, 40=0dB, 60=+10dB)** SUR BACK Up SUR BACK Down SUR BACK Zeroed (reset to 0dB) Set SUR BACK (00=-20dB, 40=0dB, 60=+10dB)** REAR GROUP Up (Surround+SurrBack) REAR GROUP Down (Surround+SurrBack) REAR GROUP Zeroed (reset to 0dB) Gets CENTER Trim Value Gets SUB Trim Value Gets SUR Trim Value Gets SUR BACK Trim Value Gets REAR GROUP Trim Value
TGP-5

Speaker Level Trims*


"*CNTUP" "*CNTUP" Returns "*CNTST-n.n" "*CNTDN" "*CNTDN" Returns "*CNTST-n.n" "*CNTRS" "*CNTRS" Returns "*CNTST-n.n" "*CNTABnn" "*CNTABnn" Returns "*CNTST-n.n" "*SUBUP" "*SUBUP" Returns "*SUBST-n.n" "*SUBDN" "*SUBDN" Returns "*SUBST-n.n" "*SUBRS" "*SUBRS" Returns "*SUBST-n.n" "*SUBABnn" "*SUBABnn" Returns "*SUBST-n.n" "*SURUP" "*SURUP" Returns "*SURST-n.n" "*SURDN" "*SURDN" Returns "*SURST-n.n" "*SURRS" "*SURRS" Returns "*SURST-n.n" "*SURABnn" "*SURABnn" Returns "*SURST-n.n" "*SBKUP" "*SBKUP" Returns "*SBKST-n.n" "*SBKDN" "*SBKDN" Returns "*SBKST-n.n" "*SBKRS" "*SBKRS" Returns "*SBKST-n.n" "*SBKABnn" "*SBKABnn" Returns "*SBKST-n.n" "*RGPUP" "*RGPUP" Returns "*SBKST-n.n" "*RGPDN" "*RGPDN" Returns "*SBKST-n.n" "*RGPRS" "*RGPRS" Returns "*SBKST-n.n" "*CNTST" "*CNTST" Returns "*CNTST-n.n" "*SUBST" "*SUBST" Returns "*SUBST-n.n" "*SURST" "*SURST" Returns "*SURST-n.n" "*SBKST" "*SBKST" Returns "*SBKST-n.n" "*RGPST" "*RGPST" Returns "*SBKST-n.n" * Trim memory may be assigned in setup menu to be reset to zero when unit is shut down. ** Half dB steps
yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes

Tone Controls
"*BASUP" "*BASDN" "*BASRS" "*BASABnn" "*TRBUP" "*TRBDN" "*TRBRS" "*TRBABnn" "*BASST" "*TRBST" "*BASUP" "*BASDN" "*BASRS" "*BASABnn" "*TRBUP" "*TRBDN" "*TRBRS" "*TRBABnn" "*BASST" "*TRBST" Returns "*BASnn" Returns "*BASnn" Returns "*BASnn" Returns "*BASnn" Returns "*TRBnn" Returns "*TRBnn" Returns "*TRBnn" Returns "*TRBnn" Returns "*BASnn" Returns "*TRBnn" BASS Up BASS Down BASS Zeroed (reset to 0dB) Set BASS (00=-10dB, 10=0dB, 20=+10dB) TREBLE Up TREBLE Down TREBLE Zeroed (reset to 0db) Set TREBLE (00=-10dB, 10=0dB, 20=+10dB) Gets BASS Value Gets TREBLE Value
yes yes yes yes yes yes yes yes yes yes

support@sunfire.com

Copyright 2006 Sunfire Corporation

10 / 15

SUNFIRE Subwoofer Mode


"*SMDNM" "*SMDEN" "*SMDST" "*DDSUP" "*DDSDN" "*DDSRS" "*DTSUP" "*DTSDN" "*DTSRS" "*SMDNM" "*SMDEN" "*SMDST" "*DDSUP" "*DDSDN" "*DDSRS" "*DTSUP" "*DTSDN" "*DTSRS" "*SLRLG" "*SLRSM" "*SCNLG" "*SCNSM" "*SCNOF" "*SSRLG" "*SSRSM" "*SSROF" "*SSBL1" "*SSBL2" "*SSBS1" "*SSBS2" "*SSBOF" "*SUBON" "*SUBOF" "*SPKST"

MAIN ZONE

RS-232 Protocol, v1.3

If changed, returns "*SMDNM" If changed, returns "*SMDEN" Returns "*SMDNM" or "*SMDEN" no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return no second return Returns "SPKSTMnCnSnBnLn"

SUBWOOFER MODE Normal SUBWOOFER MODE Enhanced Gets SUBWOOFER MODE Status DOLBY SUB TRIM Up DOLBY SUB TRIM Down DOLBY SUB TRIM Zeroed DTS SUB TRIM Up DTS SUB TRIM Down DTS SUB TRIM Zeroed MAIN SPEAKERS Set to Large MAIN SPEAKERS Set to Small CENTER SPEAKER Set to Large CENTER SPEAKER Set to Small CENTER SPEAKER Set to Off SURROUND SPEAKERS Set to Large SURROUND SPEAKERS Set to Small SURROUND SPEAKERS Set to Off SURR BACK SPEAKERS Set to 1 Large SURR BACK SPEAKERS Set to 2 Large SURR BACK SPEAKERS Set to 1 Small SURR BACK SPEAKERS Set to 2 Small SURR BACK SPEAKERS Set to Off SUB Set to On SUB Set to Off Gets Speaker Config Settings M=Mains: n=0=Small,1=Large C=Center: n=0=Small,1=Large,2=Off S=Surrounds: n=0=Small,1=Large,2=Off B=SurrBacks: n=0=2 Small,1=2 Large,2=Off, 3=1 Small,4=1 Large L=Sub (LFE): n=0=Off,1=On

yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes

Speaker Setup
"*SLRLG" "*SLRSM" "*SCNLG" "*SCNSM" "*SCNOF" "*SSRLG" "*SSRSM" "*SSROF" "*SSBL1" "*SSBL2" "*SSBS1" "*SSBS2" "*SSBOF" "*SUBON" "*SUBOF" "*SPKST"

support@sunfire.com

Copyright 2006 Sunfire Corporation

11 / 15

SUNFIRE System Resets


"*RST00321" "*RST01123" "SWFDL" "*RST00321" "*RST01123" "SWFDL" "*FBKON" "*FBKOF" "*FBKST" "*BCANA" "*BCDIG" "*BCDBY" "*BCDTS" "*BCPCM" "*GSWRV" "*GFPST" "*GMZST"

MAIN ZONE

RS-232 Protocol, v1.3

no second return no second return no second return if changed then "*FBKON" if changed then "*FBKOF" "*FBKON","*FBKOF" no second return no second return no second return no second return no second return returns n.nn returns 9 characters Returns "*GMZPnSnnDnPnnMnVnnnnInnOnn"

System Reset (does not reset to factory default) Restore to Factory (ALL SETTINGS WILL BE LOST!) Software Firmware Download Initiate (RS232) Turn On Unsolicited Feedback (default) Turn Off Unsolicited Feedback Feedback Status Returns FBON, FBKOF Return after DSP change - analog content Return after DSP change - digital content Return after DSP change - Dolby content Return after DSP change - DTS content Return after DSP change - PCM digital content Get current firmware revision for main Flash Gets current front panel display text (9 char) Gets Main Zone System Status P=Power State: n=0=Off,1=On S=Source: n=00=CD,01=TAPE,02=TUNER, 03=PHONO,04=8CH,05=VCR,06=VID2, 07=VID1,08=SAT,09=DVD, 10=TUNER-AM,11=TUNER-FM D=Decoder: n=0=Direct,1=Analog,2=PCM, 3=Dolby Digital,4=DTS P=DSP Mode: n=00=Source,01=Mono,02-Stereo 04=ProLogic,05=Party,06=Jazz Club, 07=Neo6Music,08=Neo6Cinema, 09=Dolby5.1,10=DolbyEX,11=DTS5.1, 12=DTS ES Matrix,13=DTS ES Discrete, 14=ProLogicII Music,15= ProLogicII Movie, 16= ProLogicII Matrix,17= ProLogicIIx Music, 18= ProLogicIIx Movie,19=Dolby5.1+PLIIx Mov, 20= Dolby5.1+PLIIx Music M=Muting: n=0=Unmuted,1=Muted V=Volume: nnnn=0000 to 1000 I=# channels in source material, nn=20=2.0,21=2.1, 41=4.1,50=5.0,51=5.1 O=# output channels, nn=20=2.0,21=2.1, 41=4.1,50=5.0,51=5.1

yes yes yes yes yes yes yes yes yes yes yes yes yes yes

Unsolicited Feedback
"*FBKON" "*FBKOF" "*FBKST"

System Status
unsolicited unsolicited unsolicited unsolicited unsolicited "*GSWRV" "*GFPST" "*GMZST"

support@sunfire.com

Copyright 2006 Sunfire Corporation

12 / 15

SUNFIRE

ZONE 2

RS-232 Protocol, v1.3

General Commands
Category - Code Ack Echo "*ZPWOF" "*ZPWON" "*ZPWTG" "*ZPWST" Second Return if changed, returns "*PWROF" if changed, returns "*PWRON" Returns "*PWROF" or "*PWRON" Returns "*PWROF" or "*PWRON" Returns "*ZVLnnnn" Returns "*ZVLnnnn" Returns "*ZVLnnnn" Returns "*ZVLnnnn" Description Power Off (standby) Power On Power Toggle Gets Power Status Sets Volume Level (0-100) Volume Level Up Volume Level Down Gets Volume Level
TGP-5

Zone2 Power
"*ZPWOF" "*ZPWON" "*ZPWTG" "*ZPWST"
yes yes yes yes yes yes yes yes

Zone2 Volume*
"*ZVLABnnnn" "*ZVLABnnnn" "*ZVLUP" "*ZVLUP" "*ZVLDN" "*ZVLDN" "*ZVLST" "*ZVLST" * Limited by Zone2 Max Volume Setting in Menu

Zone2 Muting
"*ZMTOF" "*ZMTON" "*ZMTTG" "*ZMTST" "*ZMTOF" "*ZMTON" "*ZMTTG" "*ZMTST" if changed, returns "*ZMTOF" if changed, returns "*ZMTON" Returns "*ZMTOF" or "*ZMTON" Returns "*ZMTOF" or "*ZMTON" Audio Muting Off Audio Muting On Audio Muting Toggle Gets Muting Status
yes yes yes yes

Source Commands
Category - Code Ack Echo Second Return if changed, returns "*ZSR00" if changed, returns "*ZSR01" if changed, returns "*ZSR02","TUNbbnnnnn" if changed, returns "*ZSR03" if changed, returns "*ZSR04" if changed, returns "*ZSR05" if changed, returns "*ZSR06" if changed, returns "*ZSR07" if changed, returns "*ZSR08" if changed, returns "*ZSR09" if changed, returns "*ZSR10","TUNbbnnnnn" if changed, returns "*ZSR11","TUNbbnnnnn" Returns "*ZSRnn" Returns "*ZSRnn" Returns "*ZSRnn" Description CD TAPE TUNER - LAST BAND PHONO MAIN COPY (match main zone source) VCR VID2 VID1 SAT DVD TUNER - DIRECT AM TUNER - DIRECT FM Next Input Previous Input Gets Current Input Source
TGP-5

Zone2 Input Source Selection


"*ZSR00" "*ZSR00" "*ZSR01" "*ZSR01" "*ZSR02" "*ZSR02" "*ZSR03" "*ZSR03" "*ZSR04" "*ZSR04" "*ZSR05" "*ZSR05" "*ZSR06" "*ZSR06" "*ZSR07" "*ZSR07" "*ZSR08" "*ZSR08" "*ZSR09" "*ZSR09" "*ZSR10" "*ZSR10" "*ZSR11" "*ZSR11" "*ZSRUP" "*ZSRUP" "*ZSRDN" "*ZSRDN" "*ZSRST" "*ZSRST" * Tuner function is shared w/ main zone
yes yes yes yes yes yes yes yes yes yes

support@sunfire.com

Copyright 2006 Sunfire Corporation

13 / 15

SUNFIRE

ZONE 2

RS-232 Protocol, v1.3

Tuner Commands
Category - Code Ack Echo "*TUNABnnnnn" "*TUNUP" "*TUNDN" "*TUNAM" "*TUNFM" "*SCNUP" "*SCNDN" "*TUNST" Second Return "*TUNbbnnnnn" "*TUNbbnnnnn" "*TUNbbnnnnn" if changed then "*TUNAM" if changed then "*TUNAM" no return no return "*TUNbbnnnnn" Description DIRECT TUNE (must be 5 digits) ** Tune Step Up Tune Step Down Change to AM band Change to FM band Scan Up (start/stop) Scan Down (start/stop) Gets Current Tuning Frequency bb= AM, FM nnnnn = frequency
TGP-5

Tuning*
"*TUNABnnnnn" "*TUNUP" "*TUNDN" "*TUNAM" "*TUNFM" "*SCNUP" "*SCNDN" "*TUNST"
yes yes yes yes yes yes yes yes

* TUNER function is shared w/ main zone ** Must select AM/FM band first using source command or direct command listed above

Preset*
"*PRSRCnn" "*PRSUP" "*PRSDN" "*PRSABnn" "*PRSDSxxnnnnnm" "*PRSST" "*PRSRCnn" "*PRSUP" "*PRSDN" "*PRSABnn" "*PRSDSxxnnnnnm" "*PRSST" "*PRSnn" "*PRSnn" "*PRSnn" "*PRSnn" no return "*PRSnn" Recall Preset "nn" (decimal) Next Preset Previous Preset Assign Current Station to Preset "nn" ** Direct Store Preset *** Gets Current Preset No. If no preset then returns "*PRS00"
yes yes yes yes yes yes

* TUNER function is shared w/ main zone ** Also stores band and noise reduction mode. *** Direct Store Preset: direct storing of any station to any preset "xx"=preset #, "nnnnn"=freq., "m"=mode (0=mono, 1=stereo, 2=stereo w/ NR) Ex: "*PRSDS12107502" stores FM107.5 into preset 12 as stereo + NR Ex: "*PRSDS05008000" stores AM800 into preset 5 as mono (mode ignored for AM)

support@sunfire.com

Copyright 2006 Sunfire Corporation

14 / 15

SUNFIRE

ZONE 2

RS-232 Protocol, v1.3

Advanced Setup Commands


Category - Code Ack Echo Second Return Returns "*ZBLnnnn" Returns "*ZBLnnnn" Returns "*ZBLnnnn" Returns "*ZBLnnnn" Returns "*ZBLnnnn" Description BALANCE Left One Increment BALANCE Right One Increment BALANCE Zeroed (reset to center) Set BALANCE (000=-100 left, 0=0, 100=+100 right) Gets BALANCE
TGP-5

Zone2 Balance*
"*ZBLLT" "*ZBLLT" "*ZBLRT" "*ZBLRT" "*ZBLRS" "*ZBLRS" "*ZBLABnnn" "*ZBLABnnn" "*ZBLST" "*ZBLST" * Zone 2 balance: 0=full left, 25=center, 50=full right
yes yes yes yes yes

Zone2 System Status


"*GZ2ST" "*GZ2ST" Returns "*GZ2PnSnnDnPnnMnVnnnnInnOnn" Gets Zone2 System Status Returns "*GZ2PnSnnDnPnnMnVnnnnInnOnn" P=Power State: n=0=Off,1=On S=Source: n=00=CD,01=TAPE,02=TUNER, 03=PHONO,04=8CH,05=VCR,06=VID2, 07=VID1,08=SAT,09=DVD, 10=TUNER-AM,11=TUNER-FM D=Decoder: n=0=Direct,1=Analog,2=PCM, 3=Dolby Digital,4=DTS P=DSP Mode: n=00=Source,01=Mono,02-Stereo 04=ProLogic,05=Party,06=Jazz Club, 07=Neo6Music,09=Dolby5.1,10=DolbyEX, 11=DTS5.1,12=DTS ES Matrix, 13=DTS ES Discrete M=Muting: n=0=Unmuted,1=Muted V=Volume: nnnn=0000 to 1000 I=# channels in source material, nn=20=2.0,21=2.1, 41=4.1,50=5.0,51=5.1 O=# output channels, nn=20=2.0
yes

support@sunfire.com

Copyright 2006 Sunfire Corporation

15 / 15

You might also like