MDT Technologies SCN-MMG01.01 User manual

MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
1
11/2013
Technical Manual
MDT Multimedia Gateway
SCN-MMG01.01

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
2
1Content
1Content.................................................................................................................................................2
2Introduction..........................................................................................................................................3
2.1Connectorpinassignment.............................................................................................................3
3CommunicationObjects.......................................................................................................................4
3.1Overview........................................................................................................................................4
3.2Defaultsettingsofthecommunicationobjects............................................................................5
4Reference‐ETS‐Parameter....................................................................................................................6
4.1General..........................................................................................................................................6
4.2Header/Footer...............................................................................................................................7
4.3KNX=>RS232(1Bit)......................................................................................................................8
4.4KNX=>RS232(1Byte)...................................................................................................................8
4.5RS232=>Bit‐value.........................................................................................................................9
4.6RS232=>Byte‐value......................................................................................................................9
4.7RS232=>TextString....................................................................................................................11
4.8Macrofunctions..........................................................................................................................12
4.9ConvertRS232BytestatusintoKNXBitvalues...........................................................................13
5Examples.............................................................................................................................................14
5.1SettingsforT+AK8seriesMultiroomReceiver...........................................................................14
5.2SettingsforLöweTV....................................................................................................................18
5.3SettingsforRussound..................................................................................................................19
6Index...................................................................................................................................................21
6.1Listoffigures...............................................................................................................................21
6.2Listoftables.................................................................................................................................21
7Attachment.........................................................................................................................................22
7.1Statutoryrequirements...............................................................................................................22
7.2Routinedisposal..........................................................................................................................22
7.3Assemblage..................................................................................................................................22
7.4Datasheet....................................................................................................................................23

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
3
2Introduction
TheMDTMultimediaGatewayofferspossibilitiesforconnectingMultimediadevicestotheKNX‐Bus.
ConnectionbetweenMultimediaGatewayandMultimediadeviceisestablishedbyaRS232interface,
whichisincludedindelivery.
TheGatewayofferspreparedsettingsfordevicesoftheCompaniesRussound,LöweTVandtheT+A
K8series.ViathesettingUniversalPlaintextandUniversalHexotherdeviceswiththeappropriate
dataformatcanbecontrolled.
2.1Connectorpinassignment
Figure1:Connectorpinassignment

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
4
3CommunicationObjects
3.1Overview
No.FunctionUsage
0‐39KNX=>RS232
Command
SendsaswellataBitvalueof1asatavalueof0acommandtothe
MultimediaDevice.
Telegramsfora0‐commandasfora1‐commandcanbesetatthe
parameters.
40‐79KNX=>RS232
Command
SendsonlyataBitvalueof1acommandtotheMultimediaDevice.
Telegramscanonlybeadjustedfora1‐commandattheparameters.
80‐99KNX=>RS232
Command
ThereceivedbytevalueisassignedtotheMultimediadevice,e.g.a
valuefortheloudness.
100‐109RS232=>KNX
Status
ThereceivedvalueoftheMultimediadevicecausessendinga0‐
commandora1‐commandviathiscommunicationobject.Different
telegramscanbeadjusted,forsendingalogical0oralogical1.
110‐119RS232=>KNX
Status
ThereceivedtelegramoftheMultimediaDevicecausessendinga0‐
commandviathiscommunicationobject.
120‐129RS232=>KNX
Status
ThereceivedtelegramoftheMultimediaDevicecausessendingabyte‐
valueviathiscommunicationobject.
130‐134RS23=>KNX
StatusText
ThereceivedtelegramoftheMultimediaDevicecausessendingastring
as14Bytetelegramtothebus.
135‐140MacroAssoonastheadjustedvalueisreceivedatthiscommunicationobjet,
theadjustedsequenceofcommandsispreceded.
141‐147RS232=>KNX
BitStatus
TheadjustedByte‐ObjectisconvertedintosingleBitstatusobjects.
Table1:Communicationobjects

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
5
3.2Defaultsettingsofthecommunicationobjects
ThefollowingchartshowstheDefaultsettingsofthecommunicationobjects:
DefaultSettin
g
s
No.ButtonFunction Length PriorityCR W T U
0‐39Object0‐39KNX=>RS232Command 1Bit LowXX
40‐79Object40‐79KNX=>RS232Command 1Bit LowXX
80‐99Object80‐99KNX=>RS232Command 1Byte LowXX
100‐109Object100‐109 RS232=>KNXStatus 1Bit LowXX X
110‐109Object110‐109 RS232=>KNXStatus 1Bit LowXX X
120‐129Object120‐129 RS232=>KNXStatus 1Byte LowXX X
130‐134Object130‐134 RS232=>KNXStatusText 14Byte LowXX X
135‐140Object135‐140 Macro1Bit LowXX
141‐147Object135‐140 RS232=>KNXBitStatus 1Bit LowXX X
149ErrorFailuremessage 1Bit AlarmXX X
Table2:Defaultsettingsofthecommunicationobjects
Youcanseethedefaultvaluesforthecommunicationobjectsfromtheupperchart.Accordingto
requirementsthepriorityoftheparticularcommunicationobjectsaswellastheflagscanbe
adjustedbytheuser.Theflagsallocatesthefunctionoftheobjectsintheprogrammingthereby
standsCforcommunication,RforRead,Wforwrite,TfortransmitandUforupdate.

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
6
4Reference‐ETS‐Parameter
4.1General
Thefollowingfigureshowsthegeneralsettings:
Figure2:Generalsettings
Atthismenuthegeneralsettingsofthedevicemustberecorded.Ifoneofthepredefinedproducers
isinuse,thisproducercanbeadjustedatthismenu.Therearepredefinedcommandsavailablefor
thisproducer,whichcanbeuseddirectly.Thesettingsforthetransfershouldbemadeformthe
manualofthedevice.

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
7
4.2Header/Footer
ThefollowingfigureshowsthesettingsfortheHeaderandtheFooterofthetelegram:
Figure3:HeaderandFooter
Becausemostoftheproduceruseafixeddeviceidentificationatthebeginandtheendofthedevice
aswellasaChecksumattheend,uptothreeheaderandfootercanbeadjusted.TheHeaderisput
infrontofthetelegramandthefooterisputattheendofthetelegram.
WhichHeaderandFootershallbeusedcanbeadjustedforeachgroupoftelegrams.
Therearetwopredefinedsettingsforcalculatingthechecksum:T+A/MetzandRussound.
ThechecksumofT+A/Metzdevicesiscalculatedasfollows:(SumByte1‐5)/0xFF.
ThechecksumofRussounddevicesiscalculatedasfollows:(Sumofallcommandbytes+decimal
value6)maskedwith0xF7.
Ifotherchecksumsshallbeused,thechecksumattheHeaderFootermenumustbedeactivatedand
mustbecalculatedforeverycommandindividually.

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
8
4.3KNX=>RS232(1Bit)
Thefollowingfigureshowstheavailablesettingsfor1Bitcommunicationobjects:
Figure4:KNX=>RS232(1Bit)
TheGroupoftheobjectsfrom0to39cantransmittelegramstothemultimediadeviceaswellata0‐
commandasata1‐command.TheGroupoftheobjectsfrom40to79cantransmittelegramstothe
multimediadeviceonlyata1‐command.
ThetransmittedtelegramcontainsoftheadjustedHeader(hereH1)+theadjustedtelegram+the
adjustedFooter(hereF1).
4.4KNX=>RS232(1Byte)
Thefollowingfigureshowstheavailablesettingsfor1Bytecommunicationobjects:
Figure5:KNX=>RS232(1Byte)
ReceivedbytevaluesfromtheKNX‐Buscanbetransmittedtothemultimediadeviceviatheobjects
80‐99.
Thecharacterstring“%1”inthetelegramindicatesthattheBytevalueiscalculatedintoarelative
valuefrom0to100%andtransmittedasthistothedevice.Thecharacterstring“#1”inthetelegram
indicatesthattheBytevalueistransmitteddirectlyasabsolutevaluetothedevice.Atthissettingthe
KNXvalueislimitedto100.

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
9
4.5RS232=>Bit‐value
Thefollowingfigureshowstheavailablesettingsforthesendingof1BitKNX‐statusobjectsat
definedtelegrams:
Figure6:RS232=>Bit‐value
Attheobjects100to109telegramscanbeadjustedaswellforsendingalogical0andalogical1.At
theobjects110to119telegramscanonlybeadjustedforsendingalogical1.
Thewholetelegram,withHeaderandFooter,mustbeadjustedforthestatusobjects.TheHeader
andFooterfunctionsarenotusedatthisgroup.Hexvalueswhichshouldnotbeevaluatedmustbe
enteredwith“##”.
4.6RS232=>Byte‐value
Thefollowingfigureshowstheavailablesettingsforthesendingof1ByteKNX‐statusobjectsat
definedtelegrams:
Figure7:RS232=>Byte‐value

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
10
Foradjustingthetelegramfollowingoptionsareavailable:
%x
Thedataistransmittedtotheobject120+x(x=0‐9)aspercentalvalue(0‐100%)
#x
Thedataistransmittedtotheobject120+x(x=0‐9)directly(0‐255)
##
Thedatabyteisnotevaluated
$x
String/Textdataaretransmittedtotheobject130+x
$L
Adjustmentofthelengthoftheevaluatingstring
$$
Thestringisnotevaluated
Byusingtheoptions,thetelegram,whichcontainsseveraldata,canbeevaluatedaccordingtothe
specificwishes.
Additionalthefollowingsettingscanbeadjusted:
String/Textcontains
indicatesifaString/Textisincludedinthetelegram
Textlengthcontainsindata
indicatesifaninformationofthelengthofthecharacterstringisincludedinthetelegram
Textlengthreduceby
indicatesifthetextshallbeshortened,e.g.forfadingouttheChecksum
Example:Theinformationofthelengthinthetelegramis10,butthisinformationcontains
partsofthecommand,sothereallengthofthetextmustbeshortenedby2.
Textoption
indicatesifcharacterstringswhicharelongerthan14Byteshallbeshortenedortransmitted
tothenexttelegram.
Example:Thedatahasalengthof20Byte.Byusingtheoption,object130candisplaythe
first14Byteandobject131candisplaythelast6Byte.
Becauseaswellattheoptionsasatthesettingspossibilitiesforforwardingtelegramsareavailable,it
mustbekeptinmidwhichobjectsarealreadyinuse.
Theadjustedcommand01$L64#0#1$0referstoT+AK8andhasthefollowingmeaning:
01‐‐>Headerofthecommand
$Lmeansthatthetelegramtransmitthelengthofthestringatthisplace
64‐‐>accordingtoT+AdocumentationtheStatus1isevaluated
#0meansthatthestatusbyte1istransmittedtoobject120
#1meansthatthestatusbyte2istransmittedtoobject121
$0meansthatthestringistransmittedtoobject130
ComprehensiveexamplesforT+Aareavailableat5.1SettingsforT+AK8seriesMultiroomReceiver.

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
11
4.7RS232=>TextString
Thefollowingfigureshowstheavailablesettingsforsending14ByteText‐Strings:
Figure8:RS232=>TextString
Thefollowingoptionsareavailablefortheadjustedtelegram:
$x
StringDataistransmittedtotheobject130+x
$L
Adjustmentofthelengthofthestringwhichshallbeevaluated
##
Databytewillnotbeevaluated
$#
Stringwillnotbeevaluated
Byusingtheoptionsitispossibletoanalyzeanddemountthetelegramaccordingthespecificwishes.
Additionalthefollowingsettingscanbedone:
Textlengthcontainsindata
indicatesifinformationaboutthelengthofthestringisincludedinthetelegram
oifyes:Textlengthreduceby
indicatesifthetextshallbeshortened,e.g.forfadingoutthechecksum
oifno:Exactlength
adjustmentofthelengthofthetext
Textoption
indicatesifstrings,whicharelongerthan14Byteshallbeshortenedortransmittedtothe
nextobjects
Becauseaswellattheoptionsasatthesettingspossibilitiesforforwardingtelegramsareavailable,it
mustbekeptinmidwhichobjectsarealreadyinuse.
AlsofromthefuctionRS232=>Byte‐value,valuescanbetransmittedtothisgroup.
Theadjustedcommand01$L64#0#1$0referstoT+AK8andhasthefollowingmeaning:
01‐‐>Headerofthecommand
$Lmeansthatthetelegramtransmitthelengthofthestringatthisplace
64‐‐>accordingtoT+AdocumentationtheStatus3isevaluated
$1meansthatthestringistransmittedtoobject131
ComprehensiveexamplesforT+Aareavailableat5.1SettingsforT+AK8seriesMultiroomReceiver.

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
12
4.8Macrofunctions
Thefollowingfigureshowstheavailablesettingsforthemacrofunctions:
Figure9:Macrofunctions
TheMacrofunctionsenablethesequentialsendingofmultiplecommandsviaactivatingoneobject.
Upto7commandscanbeselectedforeachmacro.
Forselectingthecommands,theobjects0‐99areavailable.Eachobjectcanbecalledwithan
individualadjustedvalue.Thebytevaluesaretransmitted1:1andwillnotbecalculatedintoa
relativevalue.
Additionalcanbeselectedwhichvalue(0/1)activatesthemacrofunction.

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
13
4.9ConvertRS232BytestatusintoKNXBitvalues
Thefollowingfigureshowstheavailablesettingsforthisparameter:
Figure10:ConvertRS232BytestatusintoKNXBitvalues
Thisfunctionenablesconvertingabytestatus,whichissentfromtheMultimediaDeviceand
containsseveralstates,intoindividualbitvalues.Thereceivedbytevalueisdividedinto8Bit‐values
andtheBit0issenttoobject140,theBit1toobject141.
Example:
Bit0Speakerzone1 =>Obj140
Bit1Speakerzone2 =>Obj141
Bit2Speakerzone3 =>Obj142
Bit3Speakerzone4 =>Obj143
…
bit7Systemon =>Obj147

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
14
5Examples
5.1SettingsforT+AK8seriesMultiroomReceiver
Thesettingsoftheparameteraredescribedaccordingtoanexample:
Table3:TelegramExample
Endofthetelegramviathetelegram:
Figure11:Example1,generalsettings
Atthisexample,thelengthofthetelegramistransmittedatthesecondbyte,sotheposition
oflengthspecificationisassignedto2.
Totheendofthetelegram(withoutchecksum)are3bytesremaining(Offsetoflength
specification=3).Sothewholelengthofthetelegramisdefined.Thedataend(timeout)can
beadjustedtotheminimumvalue,becausethebaudrateoftheRS232is115200,which
makescrossoversoftelegramsimpossible.
Thetelegramexamplecontainsstartvaluesbeforethecommandandendvaluesafterthe
command.ThesevaluesareadjustedfortheHeaderandFooter.
Figure12:Example1‐SettingsforHeader
AtfirstthelengthoftheHeadermustbeadjusted.NowavaluefortheHeadercanbe
assigned,here0103C4.
Byte1Byte2Byte3Byte4Byte6Byte7
HeaderLengthofthetelegramadresscommandFlagBytechecksum
0x010x030xC40x570x020xE4

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
15
Figure13:Example1‐SettingforFooter
AtfirstthelengthoftheFootermustbeadjusted,here1Byte.Nowthevaluefromthe
example,Byte6,mustbesignedin.
ThechecksumiscalculatedviathesoftwarebychoosingtheoptionT+A/Metz.
YouhavenottosignintheEndmark,becausethelengthofthetelegramisadjustedviathe
generalsettings.
Forproceedingacommandvia1Bitobject,acommandfromthemanualofT+AAmplifier
withtheaddress0xC4mustbesignedintotheparameter“BitObject0‐39:KNX=>RS232
Value0/1”.Herethevalue0x57mustbesignedinforthisparameter,whichswitchesthe
deviceonoroff.
ThenextexampleforT+AAmplifierisatelegramforadjustingtheloudnessoftheAmplifier
viaa1Byteobject:
Table4:TelegramExample‐‐>Bytevalue
Forexecutingthiscommand,theHexvalue0x00mustbesignedinfortheparameter“Byte
Object80‐99:KNX=>RS232”.Asoptionforthisparameterthecharacter%1issetbehindthe
value0x00.Sothevalue00%1mustbesignedinforthisobject.Theoptionincombination
withthetelegramaffectsthattheBytevalueiscalculatedintoapercentalvalueand
transmittedasthistothemultimediadevice.
Byte1Byte2Byte3Byte4Byte5Byte6Byte7
HeaderLengthofthe
telegram
addresscommandWertFlagByteChecksum
0x010x040xC40x000x190x020xE4

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
16
ForreceivingstatusvaluesfromT+A,thetelegramsmustbesignedintheparameter.The
GatewaycanreceiveHex‐valuesasUniversalCleartextandtransmitthesetelegramsasDPT‐
valuestoKNX.Anexemplarystatustelegramcanlookasfollows:
Byte1Byte2Byte3Byte4Byte5Byte6……Byte22Byte23
HeaderLengthof
the
telegram
addressStatus‐
Byte1
Status
‐Byte
2
Resource
name
0…
Resource
name
16
Checksum
0x010xXX0x640x810xC00xXX0xXX0xXX
Table5:Example1,Receivingstatustelegrams
Byte1and3:
Atthesettingsfortheobjects120‐129,thistelegrammustbesignedinthelinefortelegram
120.TheHeaderandtheaddress(Byte1and3)areinscribed1:1fortheparameter.
Byte2:
Thelengthofthetelegram(Byte2)shallbetakenfromtheRS232telegram.SotheCode$Lis
signedin,whichindicatesthatthevalueforthelengthofthestringistransmittedhere.
Byte4and5:
FortakingthebytevaluesforStatus1and2(Byte4and5)thecodes#0and#1isused.So
thevaluesaretransmitted1:1totheobjects120and121.
Byte6–22:
TheCleartextistransmittedwiththebytes6to22withthemaximumof16signs.Thecode
$0issignedintotransmitthecharacterstringtoobject130.IfaRS232telegramwith
characterstringissendfromthedevice,theMultimediaGatewaysendsthiscontentviathe
object130totheKNXBus.

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
17
ByusingtheMacrofunction,itispossibletoperformseveralcommands.Theobjectnumbers
andvaluescanbeassigneduserdefined.
ExamplefortheMacrofunction1:
3Commandsareperformedwiththeobject135.
1) Switchthedeviceonviatheobject0withthevalue1:
Figure14:ExampleMacro1,Function1
2) SetthemodetoStereo:
Figure15:ExampleMacro1,Function2
3) Settheloudnessofarea1to50%:
Figure16:ExampleMacro1,Function3

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
18
5.2SettingsforLöweTV
TheRS232commandscontainofASCIIsignsandmustbetransmittedasCleartexttothe
device.ForrecognizingtheEndofdataacontrolcharacterfortheverticalspacingmustbe
transmitted:
Figure17:Example2,generalfunctions
Forperformingacommandwitha1Bitvalue,theCleartextvalueswiththeappropriate
commandsmustbesignedin:
Figure18:Example2,1‐Bitcommand
SotheTVisswitchedoffbysendinga“0”toobject0andswitchedonbysendinga“1”tothis
object.
AtthisexampletheMultimediaGatewaycantransmitavaluefortheloudness:
Figure19:Example2,1Bytevalue
WiththeCode%1,theBytevalueiscalculatedto0‐100%.Soifyousendthevalue0x128to
theByteobject,theGatewaytransmitsthevalue50%totheTV.

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
19
5.3SettingsforRussound
Thesettingsaredescribedviathefollowingexample:
1234567891
0
1
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
2
0
2
1
2
2
F
0
0
0
0
0
7
F
0
0
0
0
7
0
0
5
0
2
0
2
0
0
0
0
F
1
2
3
0
0
0
1
0
0
0
0
0
0
0
1
X
X
F
7
Table6:Example3,TelegramRussound
Byte22istheendofthetelegram:
Figure20:Example3,generalsettings
Thefirst5BytesareateveryRS232‐Russoundtelegramthesame.Sothesearesignedinfor
theHeader:
Figure21:Example3,Headersettings
AttheFootersettings,thechecksumispredefinedforRussound.TheEndmarkis0xF7;
Figure22:Example3,Footersettings

TechnicalManualMultimediaGatewaySCN‐MMG01.01
MDT technologies GmbH • 51766 Engelskirchen • Papiermühle 1
20
Bytes6to20arethecommandofthistelegram.Sothesevaluesaresignedintothe
parameter:
Figure23:Example3,1Bitcommand
AtthisexampletheBit‐value0switchesthearea1offandtheBit‐value1switchesthearea
on.
Table of contents
Other MDT Technologies Gateway manuals