Technical Information 19.08.2005
RS232
The DVD-Surround-Receiver K6 with Crestron compatible software (see appendix 2) is compatible to
be controlled by a connected control-system having a RS232 serial output port (PC, CRESTRON
home automation system etc.) through the RS232/R-Link interface adapter.
For details about connecting and operating the adapter see the user manual of the adapter
“UM_RS232_Adapt.doc”.
Settings for the RS232 interface of the control device are as follows:
Baud rate: 115.200
Data bits: 8
Stop bits: 1
Parity: none
Flow Control: none
control of K6.
T+A RS_232 Protocol
The R-series devices use the standard T+A RS232 command protocol as described in detail in the
documents “TA_RS232_protocol.doc” and “RS_232_Command_Codes.doc”.
Format of the command telegrams
A command telegram to the R-system master device consists of 6 bytes. The complete telegram
should be sent without pauses between the bytes.
Example: SYSTEM_ON command
Byte 1
RS232 adapter
address
(always 0x01) (R-Link address +
0x01 0x03 0xC8 0x57 0x02 0x25
Byte 1, 2, 3, 5
Byte 4
Byte 6
Note:
The R-Link address
There exist a few additional commands (system commands) for some special functions. For these
commands the address
information which is normally not necessary due to the fact that the status is automatically pushed
after changing.
: these bytes have the fixed values as shown in the table above for all R-system
: R-Link command according to the table of RCII commands
(see “RS_232_Command_Codes.doc”)
: check sum == (byte1+byte2+byte3+byte4+byte5) modulo 0xFF
Byte 2
Telegram length
R-Link command +
R-Link flag byte =
0x03)
master devices
0xC8
is used for all standard amplifier commands.
0xC4
has to be used. Currently this is only needed for requesting the status
Byte 3
R-Link address
(0xC8=Amplifier /
Master device
see also note
Æ
below)
Byte 4
R-Link command
(here: SystemON =
0x57)
see command
Æ
table “Appendix 1”
Byte 5
R-Link flag byte
(always 0x02) = sum of
Byte 6
Check sum
bytes 1..5
mod. 0xFF
Format of the acknowledge (ACK) telegrams
The R-System master device will process each received command telegram and it will send an
acknowledge telegram approx. 25...35 ms after receiving the command.
The ACK telegram consists of 2 bytes:
Byte 1
telegram = 0x01).
Byte 2
(byte_6 of the command) then the command was received correctly. If byte_2 has a value different
from the check sum of the command, an error has occurred (see table below).
Format of the ACK telegram:
After the ACK telegram, the master device is ready for the next command.
is the RS232 address of the command telegram received before (=byte 1 of the command
is the acknowledge byte. If this byte is equal to the check sum of the command telegram
Byte 1 Byte 2
RS232 address ACK byte
0x01
= check sum of command: command correctly received
= check sum –1: command ignored (system busy)
= check sum –2: command not executed
Note:
If no ACK telegram is received within 35 milli-seconds after sending a command, there is either a
hardware problem (cable etc.) or the telegram is erroneous (wrong address, wrong check sum ....)
Special System Commands
The software versions that include the “extended control” feature (see Appendix 2) will automatically ‘push’ status
information about the K6 status. Additionally this status can be requested by sending the
(Status_1) or 0x43 (Status_2) to the RLink-address 0xC4
. Responses are as follows:
Status 1:
The STATUS_1 command to the master is answered by a 8 byte long status telegram having the
following format:
command 0x64
0x01, 0x05, 0xC4, 0x64,
Status_Byte_1, Status_Byte_2, Status_Byte_3
Checksum
-----------------------------------|---------------------------------------------------------------------------|----------------HEADER (4) STATUS BYTES (3) CHK-SUM (1)
The 4 header bytes (0x01/0x05/0xC4/0x64) are constant.
The 3 status bytes are defined as follows:
Status_Byte_1
b0 unused
b1 Speaker_A 1:= speaker A output is ON
b2 Speaker_B 1:= speaker B output is ON
b3 unused
b4 unused
b5 unused
b6 unused
b7 unused
Status_Byte_2
Listen Source
b0
(0...14)
b1
b2
b3
Recording Source
b4
(0...14)
b5
b6
b7
0:= not defined
1:= CD
2:= TUNER
3:= TAPE 1
4:= TAPE 2
5:= TV/Video
6:= AUX 1
7:= AUX 2
8:= AUX 3
9:= DVD
10:= STB
11:= VCR
12:= AUX/AV 1
13:= AUX/AV 2
14:= DBR (Digital Radio)
15:= not def. / future use
Status_Byte_3
b0 Loudness 1:= Loudness ON
b1 Flat 1:= Tone control OFF
b2 unused
b3 unused
b4 unused
b5 unused
b6 Standby 1:= K6 in Standby
b7 On 1:= K6 is ON