Ether I/O 24 Users Manual V1.3
Elexol Pty Ltd Version 1.3
Page 28
http://www.elexol.com
E L E
X O L
E L E C T R O N I C
S O L U T I O N S
Command Set (continued)
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)
Write Disable EEPROM
ASCII Code
Bytes
Data
Function
‘0 5
NU NU NU
The EEPROM memory is Write Disabled
Operation:
The module will Write Disable the EEPROM memory preventing any Write or Erase
Operations.
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 “’0” + Chr$(0) + Chr$(0) + Chr$(0)