APPENDIXC:PROFIBUSPROTOCOL
64 Measuringcentres
MC320,MC330,MC350&MC350H‐User’sManua
TheoutputtelegramisusedtoindicatetotheMC350Hwhichdatamoduleshouldbereturnedinthefollowing
inputtelegram.OutputtelegramisalsousedtowritevaluestotheMC350Houtputmoduleregisters.Header
byte0indicatesthemodulenumberindexbeingrequested.Thisnumber(1‐4)tellstheMC350Hwhichmodule
ofmeasuringdatashouldbetransferredinsidetheinputtelegramwhichfollowsnextorwithnumber5indicates
theoutputmodulebeingwritten.
Headerbytes1and3arenotused.Headerbyte2isusedasacontrolbytetocontroloperationflowasfollows:
B7 B6 B5 B4 B3 B2 B1 B0
WRXXXXXXDU
Bit0whensetto1tellstheMC350Hdevicethatitshouldupdateinternalmeasuringdatawhicharecurrently
activeontheProfibusexchangetelegram.Ifthisbitissetto0,dataarenotrefreshedontheProfibusnetwork.
Bit7whenclearedindicatesthatwriteoperationtothemodule5outputregistersisbeingexecuted.Whenset
indicatesthatreadoperationofthe1‐5moduleregistersisperformed.
InDatabytessectionwhichfollowsHeaderbyte4upto124bytesofmeasuringdataforanyofthe4modules
couldbeincluded.Moduletabledefinitionisdescribedinnextsection.
MC350Hinputtelegramisdefinedas:
SlavetelegramtotheMaster Meaning/contents Value
Headerbyte0 telegramID
ormodulenumberofthe
returneddatasegment
1‐5
Headerbyte1 reserved‐notusedatthistime
Headerbyte2 reserved‐notusedatthistime
Headerbyte3 statusbyte XXXUPXXIDX
Databytes4‐128 upto124bytesofuserdata userdatabeingexchanged
Headerbyte0indicatesthemodulenumberindexbeingrequested.Withthisnumber(1‐5)MC350Hindicatesto
theMasterwhichmoduleofdataisbeingtransferredinsidetheSRDdatasection.
Headerbytes1and2arenotused.
Headerbyte3isusedasastatusbytewiththefollowingmeaning.
B7 B6 B5 B4 B3 B2 B1 B0
X X X UP X X ID X
Withbit4(UP)setto1MC350HindicatestotheMasterthatinternaldataupdateisinprogress.Value0means
thatinternaldataprocessingcompleted.
Withbit1(ID)setto1MC350signalizestotheMasterthattelegramIDinsidetheheaderbyte1iswrong(notin
therange1‐5).ThispreventserrorswhenaddressingwronginputtelegramsattheMasteroutputtelegram.