ProfiMessage
l Byte pattern
Todisplaythedifferentbyteandwordordercombinations,ahexvalue(aran-
domnumberintheexample)isshownwiththeresultingbytepatternofa
message.
Scaling
IfaPROFIBUSmastersendsvaluesthatrequireconversion,enableScaling and
enterMin / Max valuestoconvertfromtheInput valuetotheScalevalue.
IftheUsechannelasoutputoptionisused,scalingtakesplaceintheoppositedir-
ection:EntertherangefromthesourcedatainScalevalueandtherangeforthe
outputsignalinOutput value.
Withoutscaling,thechannel'sdatatypeisthatenteredunder
Data type.Whenscalingisenabled,thefloatingdatatypeis
alwaysusedforthechannel.
Thisalsoapplieswhenthechannelisusedasanoutput:When
scalingisenabled,thechannelmusthavethefloatingdata type,
otherwiseyouhavetousethetypeunderDatatype.
Scalingexample
Intheaboveimage,aconversiontakesplacefrom2000(integervalue)to200
(°C),i.e.itreturnsadecimalpointdespitetransmissionofaninteger(wholenum-
ber).
Using the channel as output
IfyoucreateaPROFIBUSchannelasanoutput,youcansenddatafromtheDel-
phindevicetootherPROFIBUSusers.
EnterthedataforthemessagetobesentinasimilarwaytoaPROFIBUSinput.You
mustalsoentertheSource(ofthesignal).
EntereitheraconstantfortheSource(Manual value)orselectChannelandan
existingchannelinthedeviceforwhichavalueistobeoutput.SelectingApplic-
ationenablestheoutputvaluetobemanuallysetviatheDataServiceConfigurator
orautomaticallysetviaaProfiSignalapplication.Thesourcetypeisconvertedto
thetypegiveninData type(referalsotoScaling).
Inherit status(forChannelsettingsonly):Thestatusoftheinputchannelisused,
butnotoutputtothePROFIBUSitself.
4.8.3.3 ModbusRTUSlave/Master
UsetheMain settingstabtoenterthegeneralsettingsfortheinterface(baudrate,
numberofdatabitsetc.)fortherelevantCOMinterface.RefertoCOMinterface,
UARTsettings.
UsethecontextmenuoftheCOMconnectiontocreatetheprotocolforModbus:
Create channel → Modbus RTU master/slave protocol.
182
Delphin Technology AG
Dezember 2015
ProfiMessage Manual