Data Communication and Host Modes
Rev 3.0B Feb.08 58
untilitreceivesanacknowledgementwiththissequence
number.Ifanacknowledgementisnotreceivedwithinthe
timeoutperiod(specifiedinS7),thedatawillberetrans
mitted.Thiswillcontinueuntilanacknowledgementis
receivedorthemodemisreset.LikewiseanyUDPpackets
receivedbytheRavenareexpectedtohavethissimpleheader.
TheRavenwillissueanacknowledgementforanyvalid
packetswhicharereceived.
ToconfiguretheRavenforanormalUDPsession,youneedto
settheStartupModeDefaultto73(ATMD73).Ifyouareusing
twomodems,configuretheDestinationIPandPortineachto
pointtoeachother.Serialdatawillthenbesentreliably
betweenthetwo.
Caution: Although it adds reliability, the simple implementation of the
Reliable UDP mode in the does not check for duplicate packets.
UDP Multicast Mode
UDPMulticastmoderesultsinanydatareceivedfromthehost
serialportbeingsenttoalltheclientsintheaddresslist.The
remoteportnumberistakenfromS53.Toavoidfloodingthe
network,thepacketsaresenttoeachclientwitha20mspause
inbetween.ThereceiptofUDPpacketsworksasinnormal
UDPmode(i.e.boundbythevalueS53and/orAIP).Sinceit
maytakeawhiletotransmitthedatatoallhosts(especiallyif
all20Modbusentriesareusedandnameresolutionsare
required),newdatareceivedfromthehostportisbuffered
untilcurrenttransmissionstoallhostsarefinished.
EnterthelistoftargetIPsintheaddresslist(ADDRLIST).The
indexnumbersinthelistarenʹtused.Configureforanormal
UDPsession.SettheStartupModeDefaultto83(ATMD83).
ConfiguretheDestinationporttomatchthedeviceportofthe
remotemodems.
TCP an d TCP Pad
WhentheRavenisinaTCPsession,allcharactersreceivedon
theserialportareassembledintoTCPpacketsandsenttothe
modeʹsremoteIPaddress/port,andanypacketsreceivedfrom
theremoteendoftheTCPconnectionaredisassembledand
dumpedontotheserialline.
ATCPconnectionisestablishedbyoneofthefollowing
methods:
UsingtheDialTCP(DT)ATcommand.Forexample,
ATDT192.168.3.23/3456.