Data Sheet
12
ETHERIO24TCPDATASHEET
CommandInterface(ViaTCPandUDPPackets)
The functionsof the moduleare controlled byacommand set thatis sent
viaTCPorUDPpackets.TheseTCPandUDPpacketscanbesentoutfromthe
PC via application software or from other Ether IO24 module if using
AutoScan.
This section will cover in detail the command summary followed by the
CommandsetusedbytheEtherIO24TCPmodule.
CommandSummary
Thecommandsaredisplayedasfollowed:
• AllcommandsareshownasASCIIcharacters,textinitalicsrepresent
binary1bytevalues.
• ValuesthatpertaintoportInput,Outputorcontrolareshownas
data,
• Valuesthatpertaintoaddressinformationareshownasaddress
• Where a specific byte requires its hexadecimal value it is shown as
followse.g.0x55.
• Thespacesshownareonlyforclarityandnoactualspacesareusedin
commandssenttothemodule.
• TheI/Olinesareaccessedas3portsandeachlineiscontrolledby
itsbitvaluewithinthedatabyte.
MODULEPORTCONFIGURATION
EachoftheportsontheEtherIO24TCPwillneedtobeconfiguredforthe
appropriateportmodeconfigurationbeforesendingcommandstotheunit.
Careneedstobetakenasdifferentmodescanaffectthedirection
registersoftheports.Theportmodecanbesettoeither
• IOMode
ThismodesetsthePorttoastandardInput/outputport.
• SPIMode
ThismodeconfiguresthePorttotransmitandreceiveSPIdatafrom
aconnectedSPIperipheraldevice.
• I
2
CMode(Pronounced“I‐squared‐C”)
ThismodeconfiguresthePorttotransmitandreceiveI
2
Cdatafroma
connectedI
2
Cperipheraldevice.
Theportmodecanbechangedviathewebinterfaceorbywritingtothe
portmodeEEPROMvaluesfortheconfigurationrequired.Thedefault
settingfortheboardwillbeIOMODEunlesschangedbytheuser.
©
2013ElexolPtyLtd Revision1.3