Technical Manual Multimedia Gateway SCN‐MMG01.01 2 Introduction The MDT Multimedia Gateway offers possibilities for connecting Multimedia devices to the KNX‐Bus. Connection between Multimedia Gateway and Multimedia device is established by a RS232 interface, which is included in delivery. The Gateway offers prepared settings for devices of the Companies Russound, Löwe TV and the T+A K8 series. Via the setting Universal Plaintext and Universal Hex other devices with the appropriate data format can be controlled. 2.1 Connector pin assignment Figure 1: Connector pin assignment MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
120‐129 RS232 => KNX The received telegram of the Multimedia Device causes sending a byte‐ Status value via this communication object. 130‐134 RS23 => KNX The received telegram of the Multimedia Device causes sending a string Status Text as 14Byte telegram to the bus. 135‐140 Macro As soon as the adjusted value is received at this communication objet, the adjusted sequence of commands is preceded. 141‐147 RS232 => KNX The adjusted Byte‐Object is converted in to single Bit status objects. Bit Status Table 1: Communication objects MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
RS232 => KNX Bit Status 1 Bit Low X X 149 Error Failure message 1 Bit Alarm X X Table 2: Default settings of the communication objects You can see the default values for the communication objects from the upper chart. According to requirements the priority of the particular communication objects as well as the flags can be adjusted by the user. The flags allocates the function of the objects in the programming thereby stands C for communication, R for Read, W for write, T for transmit and U for update. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Technical Manual Multimedia Gateway SCN‐MMG01.01 4 Reference‐ETS‐Parameter 4.1 General The following figure shows the general settings: Figure 2: General settings At this menu the general settings of the device must be recorded. If one of the predefined producers is in use, this producer can be adjusted at this menu. There are predefined commands available for this producer, which can be used directly. The settings for the transfer should be made form the manual of the device. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Technical Manual Multimedia Gateway SCN‐MMG01.01 4.2 Header/Footer The following figure shows the settings for the Header and the Footer of the telegram: Figure 3: Header and Footer Because most of the producer use a fixed device identification at the begin and the end of the device as well as a Checksum at the end, up to three header and footer can be adjusted. The Header is put in front of the telegram and the footer is put at the end of the telegram. Which Header and Footer shall be used can be adjusted for each group of telegrams. There are two predefined settings for calculating the checksum: T+A/Metz and Russound. The checksum of T+A/Metz devices is calculated as follows: (Sum Byte 1‐5)/0xFF. The checksum of Russound devices is calculated as follows: (Sum of all command bytes + decimal value 6) masked with 0xF7. If other checksums shall be used, the checksum at the Header Footer menu must be deactivated and must be calculated for every command individually. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Figure 4: KNX => RS232 (1 Bit) The Group of the objects from 0 to 39 can transmit telegrams to the multimedia device as well at a 0‐ command as at a 1‐command. The Group of the objects from 40 to 79 can transmit telegrams to the multimedia device only at a 1‐command. The transmitted telegram contains of the adjusted Header (here H1) + the adjusted telegram + the adjusted Footer (here F1). 4.4 KNX => RS232 (1 Byte) The following figure shows the available settings for 1 Byte communication objects: Figure 5: KNX => RS232 (1 Byte) Received byte values from the KNX‐Bus can be transmitted to the multimedia device via the objects 80‐99. The character string “%1” in the telegram indicates that the Byte value is calculated into a relative value from 0 to 100% and transmitted as this to the device. The character string “#1” in the telegram indicates that the Byte value is transmitted directly as absolute value to the device. At this setting the KNX value is limited to 100. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
4.5 RS232 => Bit‐value The following figure shows the available settings for the sending of 1 Bit KNX‐status objects at defined telegrams: Figure 6: RS232 = > Bit‐value At the objects 100 to 109 telegrams can be adjusted as well for sending a logical 0 and a logical 1. At the objects 110 to 119 telegrams can only be adjusted for sending a logical 1. The whole telegram, with Header and Footer, must be adjusted for the status objects. The Header and Footer functions are not used at this group. Hex values which should not be evaluated must be entered with “##”. 4.6 RS232 => Byte‐value The following figure shows the available settings for the sending of 1 Byte KNX‐status objects at defined telegrams: Figure 7: RS232 = > Byte‐value MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Page 10
Because as well at the options as at the settings possibilities for forwarding telegrams are available, it must be kept in mid which objects are already in use. The adjusted command 01$L64#0#1$0 refers to T+A K8 and has the following meaning: 01 ‐‐> Header of the command $L means that the telegram transmit the length of the string at this place 64 ‐‐> according to T+A documentation the Status 1 is evaluated #0 means that the status byte 1 is transmitted to object 120 #1 means that the status byte 2 is transmitted to object 121 $0 means that the string is transmitted to object 130 Comprehensive examples for T+A are available at 5.1 Settings for T+A K8 series Multiroom Receiver. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Text option indicates if strings, which are longer than 14 Byte shall be shortened or transmitted to the next objects Because as well at the options as at the settings possibilities for forwarding telegrams are available, it must be kept in mid which objects are already in use. Also from the fuction RS232 => Byte‐value, values can be transmitted to this group. The adjusted command 01$L64#0#1$0 refers to T+A K8 and has the following meaning: 01 ‐‐> Header of the command $L means that the telegram transmit the length of the string at this place 64 ‐‐> according to T+A documentation the Status 3 is evaluated $1 means that the string is transmitted to object 131 Comprehensive examples for T+A are available at 5.1 Settings for T+A K8 series Multiroom Receiver. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Technical Manual Multimedia Gateway SCN‐MMG01.01 4.8 Macro functions The following figure shows the available settings for the macro functions: Figure 9: Macro functions The Macro functions enable the sequential sending of multiple commands via activating one object. Up to 7 commands can be selected for each macro. For selecting the commands, the objects 0‐99 are available. Each object can be called with an individual adjusted value. The byte values are transmitted 1:1 and will not be calculated into a relative value. Additional can be selected which value (0/1) activates the macro function. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
End of the telegram via the telegram: Figure 11: Example 1, general settings At this example, the length of the telegram is transmitted at the second byte, so the position of length specification is assigned to 2. To the end of the telegram (without checksum) are 3 bytes remaining (Offset of length specification = 3). So the whole length of the telegram is defined. The data end (timeout) can be adjusted to the minimum value, because the baud rate of the RS232 is 115200, which makes crossovers of telegrams impossible. The telegram example contains start values before the command and end values after the command. These values are adjusted for the Header and Footer. Figure 12: Example 1 ‐ Settings for Header At first the length of the Header must be adjusted. Now a value for the Header can be assigned, here 0103C4. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Page 15
Wert Flag Byte Checksum telegram 0x01 0x04 0xC4 0x00 0x19 0x02 0xE4 Table 4: Telegram Example ‐‐> Byte value For executing this command, the Hex value 0x00 must be signed in for the parameter “Byte Object 80‐99: KNX=>RS232”. As option for this parameter the character %1 is set behind the value 0x00. So the value 00%1 must be signed in for this object. The option in combination with the telegram affects that the Byte value is calculated into a percental value and transmitted as this to the multimedia device. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Page 16
0xXX 0xXX 0xXX Table 5: Example 1, Receiving status telegrams Byte 1 and 3: At the settings for the objects 120‐129, this telegram must be signed in the line for telegram 120. The Header and the address (Byte 1 and 3) are inscribed 1:1 for the parameter. Byte 2: The length of the telegram (Byte 2) shall be taken from the RS232 telegram. So the Code $L is signed in, which indicates that the value for the length of the string is transmitted here. Byte 4 and 5: For taking the byte values for Status 1 and 2 (Byte 4 and 5) the codes #0 and #1 is used. So the values are transmitted 1:1 to the objects 120 and 121. Byte 6 – 22: The Clear text is transmitted with the bytes 6 to 22 with the maximum of 16 signs. The code $0 is signed in to transmit the character string to object 130.If a RS232 telegram with character string is send from the device, the Multimedia Gateway sends this content via the object 130 to the KNX Bus. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Page 17
By using the Macro function, it is possible to perform several commands. The object numbers and values can be assigned user defined. Example for the Macro function 1: 3 Commands are performed with the object 135. 1) Switch the device on via the object 0 with the value 1: Figure 14: Example Macro 1, Function 1 2) Set the mode to Stereo: Figure 15: Example Macro 1, Function 2 3) Set the loudness of area 1 to 50%: Figure 16: Example Macro 1, Function 3 MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Figure 17: Example 2, general functions For performing a command with a 1 Bit value, the Clear text values with the appropriate commands must be signed in: Figure 18: Example 2, 1‐Bit command So the TV is switched off by sending a “0” to object 0 and switched on by sending a “1” to this object. At this example the Multimedia Gateway can transmit a value for the loudness: Figure 19: Example 2, 1 Byte value With the Code %1, the Byte value is calculated to 0‐100%. So if you send the value 0x128 to the Byte object, the Gateway transmits the value 50% to the TV. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
X 7 Table 6: Example 3, Telegram Russound Byte 22 is the end of the telegram: Figure 20: Example 3, general settings The first 5 Bytes are at every RS232‐Russound telegram the same. So these are signed in for the Header: Figure 21: Example 3, Header settings At the Footer settings, the checksum is predefined for Russound. The End mark is 0xF7; Figure 22: Example 3, Footer settings MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Page 20
Technical Manual Multimedia Gateway SCN‐MMG01.01 Bytes 6 to 20 are the command of this telegram. So these values are signed into the parameter: Figure 23: Example 3, 1 Bit command At this example the Bit‐value 0 switches the area 1 off and the Bit‐value 1 switches the area on. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
The above‐described devices must not be used with devices, which serve directly or indirectly the purpose of human, health‐ or lifesaving. Further the devices must not be used if their usage can occur danger for humans, animals or material assets. Do not let the packaging lying around careless, plastic foil/ ‐bags etc. can be a dangerous toy for kids. 7.2 Routine disposal Do not throw the waste equipment in the household rubbish. The device contains electrical devices, which must be disposed as electronic scrap. The casing contains of recyclable synthetic material. 7.3 Assemblage Risk for life of electrical power! All activities on the device should only be done by an electrical specialist. The county specific regulations and the applicable EIB‐directives have to be observed. MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1 Tel.: +49-2263-880 • Fax: +49-2263-4588 • knx@mdt.de • www.mdt.de...
Page 23
• General purpose for plain text and HEX data • Bidirectionally data transfer • 1,5m connection cable • Integrated bus coupling unit • 3 years warranty DIN EN ISO 9001 MDT technologies GmbH 51766 Engelskirchen Papiermühle 1 • • TAW Cert Tel.: + 49 - 2263 - 880...
Page 24
Power consumption KNX bus typ. < 0,3W 0 to + 45°C Operation temperature range Enclosure IP 20 Dimensions MDRC (Space Units) Examplary circuit diagram SCN-MMG01.01 DIN EN ISO 9001 MDT technologies GmbH 51766 Engelskirchen Papiermühle 1 • • TAW Cert Tel.: + 49 - 2263 - 880...