25.01.2015 Views

Generator, Reader, Inserter AV-TC 300 - Alpermann + Velte

Generator, Reader, Inserter AV-TC 300 - Alpermann + Velte

Generator, Reader, Inserter AV-TC 300 - Alpermann + Velte

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

User Manual <strong>AV</strong>-<strong>TC</strong> <strong>300</strong><br />

Page 39<br />

C3 Communication Protocol<br />

This chapter describes the communication between the <strong>AV</strong>-<strong>TC</strong> <strong>300</strong> and any<br />

computer and controlling device. In general the controlling device transmits<br />

messages first and receives a response in return of <strong>AV</strong>-<strong>TC</strong> <strong>300</strong>.<br />

Another command may be sent, if the response to previous command has been<br />

received. Some commands require a back-up. For that the response may last up<br />

to 200ms.<br />

A sent data string must be coherent, i.e. no time gap >about 100 times of bit’s<br />

length (depends on the baud rate) resp. >10ms with baud rates >= 9600 baud is<br />

allowed.<br />

The received or sent data string looks as follows:<br />

Byte 1 Byte 2 Byte 3 Byte 4 Byte n+2 Byte n+3 Byte n+4<br />

Sony CMD1/DC CMD2 Data1 Data2 ... Data n Check<br />

Sony+ID CMD1/DC CMD2 ID Data1 ... Data n-1 Data n Check<br />

CMD 1<br />

Data Count<br />

CMD 2<br />

Data 1 ...<br />

Check<br />

ID<br />

First command, specifies the command group.<br />

Number of data bytes, $0-$F.<br />

Second command, specifies the command group.<br />

Data bytes, as many bytes as defined in DC.<br />

Hexadecimal sum of bytes 1 to (n+2) without carryover.<br />

The protocol Sony+ID broadens the standard protocol<br />

with one byte, which contain the device address.<br />

CMD 1 Function Shorthand Direction<br />

0 general control c controller <strong>AV</strong>-<strong>TC</strong> <strong>300</strong><br />

2 general control return controller <strong>AV</strong>-<strong>TC</strong> <strong>300</strong><br />

4 preset and select w controller <strong>AV</strong>-<strong>TC</strong> <strong>300</strong><br />

6 request r controller <strong>AV</strong>-<strong>TC</strong> <strong>300</strong><br />

7 request returns controller <strong>AV</strong>-<strong>TC</strong> <strong>300</strong><br />

r = read, w = write, c = control (see chapter M4.5)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!