Data Sheet

Ether I/O 24R Users Manual V1.1
Elexol Pty Ltd Version 1.1 Page 28 http://www.elexol.com
ELEXOL
ELECTRONIC SOL UT IONS
Command Set (continued)
Read EEPROM Word
Command
Sent
ASCII
Code
Bytes Data Function
The EEPROM data at Address is read and sent
back to the host
‘R 5 Address NU NU
Command
Reply
ASCII
Code
Bytes Data
R 4 Address MSB LSB
Operation: The module will read the EEPROM memory at the specified address and send a packet
back to the host containing this data.
Special Conditions: All EEPROM functions must be sent as a single 5-byte packet.
Example: Winsock1.SendData “’R” + Chr$(Address) + Chr$(0) + Chr$(0)
Reset Module
ASCII Code Bytes Data Function
‘@ 5 NU $AA $55 The Module Resets and reads the EEPROM
Operation: The module reset operation causes all the ports to be set to all inputs or as set up in the
EEPROM and all EEPROM settings to be read and activated. When reset command is sent
to the unit a 10ms delay should be allowed before sending any other commands to the unit.
Special Conditions: This function must be sent as a single 5-byte packet.
Example: Winsock1.SendData “’@” + Chr$(0) + Chr$(&HAA) + Chr$(&H55)
Write EEPROM Word
ASCII Code Bytes Data Function
‘W 5 Address MSB LSB
The EEPROM is written with the data MSB and LSB at
the specified Address
Operation: The module will write the EEPROM memory at the specified Address with the data
contained in the MSB and LSB bytes.
Special Conditions: All EEPROM functions must be sent as a single 5-byte packet. A Write Enable
command must be sent before any Write or Erase commands can be performed.
The user cannot write addresses 0-4 at any time. The EEPROM cannot be written
or erased if the J2 jumper is on.
Example: Winsock1.SendData “’W” + Chr$(Address) + Chr$(MSB) + Chr$(LSB)
Erase EEPROM Word
ASCII Code Bytes Data Function
‘E 5 Address $AA $55 The EEPROM memory at Address is erased
Operation: The module will erase the EEPROM memory at the specified Address.
Special Conditions: All EEPROM functions must be sent as a single 5-byte packet. A Write Enable
command must be sent before any Write or Erase commands can be performed.
The user cannot write addresses 0-4 at any time. The EEPROM cannot be written
or erased if the J2 jumper is on.
Example: Winsock1.SendData “’E” + Chr$(Address) + Chr$(&HAA) + Chr$(&H55)
Write Enable EEPROM
ASCII Code Bytes Data Function
‘1 5 NU $AA $55 The EEPROM memory is Write Enabled
Operation: The module will Write Enable the EEPROM memory allowing Write or Erase Operation
to be performed.
Special Conditions: All EEPROM functions must be sent as a single 5-byte packet. A Write Enable
command must be sent before any Write or Erase commands can be performed.
The user cannot write addresses 0-4 at any time. The EEPROM cannot be written
or erased if the J2 jumper is on.
Example: Winsock1.SendData “’1” + Chr$(0) + Chr$(&HAA) + Chr$(&H55)