ProfiMessage
Withoutscaling,thechannel'sData typeisusedWhenscalingis
enabled,thefloatingdatatypeisalwaysusedforthechannel.
Thisalsoapplieswhenthechannelisusedasanoutput:Whenscal-
ingisenabled,thechannelmusthavethefloatingdatatype,oth-
erwiseyouhavetousethetypeunderData type.
Scaling example
Intheaboveimage,aconversiontakesplacefrom2000(integervalue)to200
(°C),i.e.itreturnsadecimalpointdespitetransmissionofaninteger(wholenum-
ber).
Using the channel as output
IfyoucreateaModbuschannelasanoutput,youcansenddatafromtheDelphin
devicetootherModbususers.
EnterthedataforthemessagetobesentinasimilarwaytoaModbusinput.You
mustalsoentertheSource(ofthesignal).
EntereitheraconstantfortheSource(Manual value)orselectChannelandan
existingchannelinthedeviceforwhichavalueistobeoutput.SelectingApplic-
ationenablestheoutputvaluetobemanuallysetviatheDataServiceConfigurator
orautomaticallysetviaaProfiSignalapplication.Thesourcetypeisconvertedto
thetypegiveninData type(referalsotoScaling).
Inherit status(forChannelsettingsonly):Thestatusoftheinputchannelisused,
butnotoutputtotheCANbus.
Set asynchronous:Whenthisoptionisenabledtheoutputvaluetransmitsassoon
asthevaluechanges,thatis,inreal-time.Otherwiseanewvalueistransmitted
withthenextcycle.
4.8.2 CANconnection
FollowthesestepstorunadeviceorsensorviatheCANinterface(boththeread-
ingandoutputofsignalsispossible):
1. ConfiguringthebasicsettingsoftheCANconnection(thissection)
2. CreatingthechannelforCANprotocol:CANprotocol
3. Createone(orseveral)CANbuschannels
TheCANconnectionisdisplayedintheChannels tabwiththeCAN-symbol .
TheCANconnectionisavailableintheuser-definedchannelviewundertheinter-
faceentry.ThehardwarechannelviewliststheCANconnectiondirectlybelowthe
deviceaslongastheuserhasnotalreadymovedthemodulesorchannels.
Double-clickaCANentryorselectProperties fromthecontextmenutodisplaythe
configurationdialogue.Setthebaudrateandthelengthoftheidentifierinthe
Mainsettingstab.WerecommendgivingauniqueChannel name,amendingthe
Description and,ifnecessary,enteringaLocation.
168
Delphin Technology AG
Dezember 2015
ProfiMessage Manual