EasyManua.ls Logo

Trimble R10 - INTEGER data types

Default Icon
150 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...
TrimbleR10ReceiverWebHelp
Byte Item Type Value Meaning
Length
+5
ETX  03h Endtransmission
Eachmessagebeginswitha4byteheader,followedbythebytesofdataineachpacket.The
packetendswitha2bytetrailer.Byte3issetto0(00h)whenthepacketcontainsnodata.Most
dataistransmittedbetweenthereceiverandremotedeviceinbinaryformat.
ReceiverStatuscode
Bytenumber Message Description
Bit0 1 Reserved
Bit1 1 Lowbattery
Bit2–7 0–63 Reserved
GSOFmessages:Readingbinaryvalues(Motorolaformat)
ThereceiversstorenumbersinMotorolaformat.Thebyteorderofthesenumbersistheopposite
ofwhatpersonalcomputers(Intelformat)expect.Tosupplyorinterpretbinarynumbers(8byte
DOUBLES,4byteLONGS,and2byteINTEGERS),thebyteorderofthesevaluesmustbereversed.
Thissectioncontains
adetaileddescriptionoftheMotorolaformat.
INTEGERdatatypes
TheINTEGERdatatypes(CHAR,SHORT,andLONG)canbesignedorunsigned.Bydefault,theyare
unsigned.Allintegerdatatypesusetwo’scomplementrepresentation.Thefollowingtableliststhe
integerdatatypes:
Type #ofbits Rangeofvalues(Signed) Unsigned
Char 8‐128to127 0to255
Short 16‐32768to32767 0to65535
Long 32 –2147483648to2147483647 0to4294967295
FLOATINGPOINTdatatypes
FloatingpointdatatypesarestoredintheIEEESINGLEandDOUBLEprecisionformats.Both
formatshaveasignbitfield,anexponentfield,andafractionfield.Thefieldsrepresentfloating
pointnumbersinthefollowingmanner:

Related product manuals