Data Sheet
14
ETHERIO24TCPDATASHEET
OverviewofCommandSet
IdentifyEtherIO24Units
Command
Sent
ASCII
Code
Bytes Data
Function
IO24 4‐
Usedtoidentify/findmodulesonthe
networkandsendspecificmodule
information(MACaddress)
Command
Reply
ASCII
Code
Bytes
Data
IO24 12
6BytesbeingtheModules’MACAddress
2BytesbeingtheModules’FirmwareVersion
Operation:ThisOperationisusedtofindmodulesonthenetworkasthemodule
willrespondtothiscommandwhenbroadcast.Whenthiscommandis
received,theModule’sInformationissentbacktothehost,themodule’s
IPAddresscanbeobtainedfromtheSourceAddressofthepacket.
WritePortValue
WritePortA
ASCII
Code
Bytes Data Function
A 2
Port‐
Value
Writesdatatoportsoutputlines.Abitvalue
of1setsthecorrespondinglinehighanda0
setsitlow
Thepowerupdefaultvalueforthisportis0
Operation:ThiscommandaffectsanyoftheeightlinesofPortAthataresetas
outputs.Theportvalueiswrittentotheentireportwitheachofthe
valuesbitsaffectingthecorrespondingI/Oline.TochangeasingleI/O
linewithoutaffectingtheothersitisrequiredtostoretheoldvalue
oftheportorreaditscurrentvaluebeforewritinganewvaluewith
onlythecorrespondingbitschanged.Thiscommanddoesnotaffectany
I/OlinesthataresetasInputs.
WritePortB
ASCII
Code
Bytes Data Function
B 2
Port‐
Value
Writesdatatoportsoutputlines.Abitvalue
of1setsthecorrespondinglinehighanda0
setsitlow
Thepowerupdefaultvalueforthisportis0
Operation:SameoperationasWritePortARegisterbutimplementedonPortB
WritePortC
ASCII
Code
Bytes Data Function
C 2
Port‐
Value
Writesdatatoportsoutputlines.Abit
valueof1setsthecorrespondinglinehighand
a0setsitlow
Thepowerupdefaultvalueforthisportis0
©
2013ElexolPtyLtd Revision1.3