background image

RS232 PROTOCOL 
 
The C-816 Controller has an RS-232 port that allows the system to be controlled with an external 
controller or become a sub-system in a whole-house control package. This allows the system installer to 
integrate the operations of the C-816 with other control systems in the home.
 
The C-816 Serial Port allows full control of all system functions. In addition to being able to control the 
C816/expansion Controllers   ‘on board’ functions (on/off, input select, etc) RS-232 control includes 
control of the Tuner and other source components, including any attached iPod/dock combinations. 
When the C-816 ‘sees’ a command for one of the on board functions, it responds accordingly. When it 
sees a command such as CD play, the incoming RS-232 command is interpreted in a similar manner to a 
keypad button press and the C-816 will output the appropriate corresponding IR command. 
 
The Serial Port on the C-816 uses a female DB9 connector wired in a  DTE configuration. Tx (transmit) 
= pin 2, Rx (receive) = pin 3, Ground = pin 5. Communication settings are 19200 baud, 8 bits, no parity, 
no handshake. 

 

Figure 1. RS-232 Port Pin Out 

Each command must be terminated with a carriage return: <cr>. If an invalid command is sent, the C-
816 will respond with ERR. If a valid command is sent, the C-816 will respond with OK unless it is a 
query type command, in which case the C-816 will respond with information. Every response from the 
C-816 is terminated with <cr>. 
 
The C-816 sends out unsolicited information whenever a keypad is operated. The syntax is the same as 
that used for controlling the C-816. For instance, if someone turns on Zone 1 via a keypad, the C-816 
will transmit Z011 out of the serial port. The string will be terminated with <cr>. 
  
Note: the symbol <cr> shown in the table below represents a carriage return control character who's 
value is hex 0x0d. This is what must be transmitted to the C-816 at the end of every command, not the 
characters <, c, r, >.

RS232 command table starts on next page.

1.0 03/23/2011

2

Содержание C-612

Страница 1: ...Nexus Audio Systems C 816 MULTI ROOM CONTROLLER RS232 Command Reference 1 0 03 23 2011 1...

Страница 2: ...rt on the C 816 uses a female DB9 connector wired in a DTE configuration Tx transmit pin 2 Rx receive pin 3 Ground pin 5 Communication settings are 19200 baud 8 bits no parity no handshake Figure 1 RS...

Страница 3: ...d with Sxxy where xx is the zone number queried and y the input it is set to Function Fxxyy cr xx zone valid range 01 16 yy function on keypad SU SD RW FW ST PS Additional on IR remote GU IN EX MN CU...

Страница 4: ...down the current band FM or AM and stop on the next station Slave tuner control SL_ Prepend to tuner commands above Allows control of tuner in slave chassis if one is attached Query tuner preset PRE...

Страница 5: ...r string describing the name of the queried source Set source name SNxxcccc cr xx source range 01 07 cccc a character string max 10 characters Sets the name of source xx to cccc Example to change the...

Страница 6: ...nt to the controller this timer will be reset If no iPod related commands are received for 32 seconds a reply of Slot1 timeout will be returned and the RS232 port loses control of the iPod Example I_S...

Страница 7: ...unt For example using a category type of two artist a starting index of zero and a record count of five the iPod will return the names of the first five artists in the database Example I_RETCATDBREC 0...

Страница 8: ...ample I_GETINDPLYTRTIT 12 cr Track1 Walking On Broken Glass CR I_GETINDPLYTRART Requests the currently play track artist The artist name will be returned Example I_GETINDPLYTRART 12 cr Artist1 Annie L...

Страница 9: ...ums Example I_GETSHUF cr Shuffle off CR I_SETSHUF Sets the shuffle state of the iPod Use 00 to turn shuffle off 01 to shuffle tracks or 02 to shuffle albums Example I_SETSHUF 01 cr Shuffle albums OK C...

Страница 10: ...mmand enables reporting of the artist album and track names out of the RS232 port This info will be reported every time the track changes without having to request it Each item is reported with a fiel...

Страница 11: ...DBREC 02 0 5 Category Artist start index 0 read count 5 AC DC Aerosmith Al Stewart Alannah Myles Alice Cooper I_RETCATDBREC 02 5 3 Category Artist start index 5 read count 3 Alison Krauss Annie Lennox...

Страница 12: ...va I_GETNUMCATDBREC 05 Category Tracks 4 matching records 4 I_RETCATDBREC 05 0 4 Category Tracks start index 0 read count 4 Why Walking On Broken Glass Precious Legend In My Livingroom I_SELDBREC 05 0...

Отзывы: