Data Sheet
13
ETHERIO24TCPDATASHEET
CommandQuickReference
Table1,ModuleCommandSet
Command
ASCII
Command
Hex
Bytes Data Function
Response
Bytes
Response
Identifier
Response
Data
IO24
0x490x4F
0x320x34
4‐
Identify
IO24Units
12 IO24
6ByteMAC
Address
2ByteFirmware
Version
A 0x41 2 PortValue WritePortA ‐‐ ‐
B 0x42 2 PortValue WritePortB ‐‐ ‐
C 0x43 2 PortValue WritePortC ‐‐ ‐
a 0x61 1‐ ReadPortA 2 A PortAValue
b 0x62 1‐ ReadPortB 2 B PortBValue
c 0x63 1‐ ReadPortC 2 C PortCValue
!A 0x210x41 3 Direction
WritePortA
DirectionRegister
‐ ‐ ‐
!B 0x210x42 3 Direction
WritePortB
DirectionRegister
‐ ‐ ‐
!C 0x210x43 3 Direction
WritePortC
DirectionRegister
‐ ‐ ‐
!a 0x210x61 2‐
ReadPortA
DirectionRegister
3 !A Direction
!b 0x210x62 2‐
ReadPortB
DirectionRegister
3 !B Direction
!c 0x210x63 2‐
ReadPortC
DirectionRegister
3 !C Direction
%A 0x250x41 3 Pull‐Up
WritePortA
PullUpRegister
1
‐ ‐ ‐
%B 0x250x42 3 Pull‐Up
WritePortB
PullUpRegister
1
‐ ‐ ‐
%C 0x250x43 3 Pull‐Up
WritePortC
PullUpRegister
1
‐ ‐ ‐
%a 0x250x61 2‐
ReadPortA
PullUpRegister
1
3 %A Pull‐Up
%b 0x250x62 2‐
ReadPortB
PullUpRegister
1
3 %B Pull‐Up
%c 0x250x63 2‐
ReadPortC
PullUpRegister
1
3 %C Pull‐Up
H 0x48 2 PinNumber RaiseIOPin ‐‐ ‐
L 0x4C 2 PinNumber LowerIOPin ‐‐ ‐
S
SeeSerial
Communication
Sectionbelow
‘r 0x270x72 4 AddMSBAddLSB ReadEEPROMByte 4 r
AddMSBAddLSB
Data
‘w 0x270x77 5
AddMSBAddLSB
Data
WriteEEPROMByte‐ ‐ ‐
‘@ 0x270x40 2 ‐ ResetModule ‐‐ ‐
BytesvaluesincludeallCommandsandDatasentinthepacket
‐Meansthatthereisnodataornoresponse,donotinsertdatabytes
1
LegacyPull‐upCommand‘@’isstillimplementedforbackwardcompatibility,howeveritis
advisedtousethenewcommandonanynewdevelopment.
©
2013ElexolPtyLtd Revision1.3