EasyManua.ls Logo

Delphin ProfiMessage - Page 181

Delphin ProfiMessage
322 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ProfiMessage
WhenconfiguringtheProfibusmaster,itreceivesinformationonthe
numberofI/Ochannelsfromitsslave,andhencealsofromthe
PROFIBUSslave.Atruntime,i.e.whendataexchangeistakingplace,
themastersendstheI/Oconfigurationtotheslave.Iftheconfigured
byteoffsetintheDelphindeviceisgreaterthantheI/Oaddressesof
thetransmittedmasterconfiguration,theDelphindeviceshowsa
configurationerrorinthechannelstatus.
l Bit offset
Thisfieldisavailableonlyforthebitdatatypeandbinaryencoding.Thepay-
loadbitinthisdatatypecanbebetweenthe0andseventhbyteposition.
Byteoffsetisalsoavailableforthisdatatype.Inputisrestrictedtothevalid
values,andthedefaultis0
Data type settings
l Data type
Specifiesthedatatypeforinterpretingthetransmittedpayloaddata.Bit
length, Byte orderandWord orderaresetandadjustedinrelationtothe
adoptedsetting.TheStartpositionindataandScalingaresetaccordingto
datatype.
l Signed
Setswhethertheintegerdatatypeistobeinterpretedassignedor
unsigned.An8-bitvaluewouldthenbeintherange-128to127(twoscom-
plement)or0to255.Floatingvaluesarealwaysinterpretedassigned.Bit-
valuesmakenodistinctionbetweensignedandunsigned.
l Bit length
Setsthebitlengthsforintegerandfloatingdatatypes.Bytesequenceand
Wordsequenceareadjustedaccordingtolengthvalue.Thisalsoappliesto
thenumericfieldsintheStartpositionindata.
l Encoding type
Displaystheencodingtypeusedforinterpretingthetransmittedpayload
data.
l Byte sequence
Thebyteorder(bytesequence)isanumber,madeupofseveralbytes,that
setshowbytesareorderedfortheaddress.BigEndian,alsoknownas
Motorolaformat,ordersthemostsignificantbytetothelowestaddress.
LittleEndian,alsoknownasIntelformat,orderstheleastsignificantbyteto
thelowestaddress.Referalsotohttp://en.wikipedia.org/wiki/Endianness.
l Word order
Likethebyteorder,wordorderordersworddata(1word=2bytes=16
bits)toaddresses.Inadditiontodeterminingbyteorder,adifferentword
orderingmaybenecessary.
181
Delphin Technology AG
Dezember 2015
ProfiMessage Manual

Table of Contents