Author
|
MatrixTSL
|
Version
|
1.0
|
Category
|
EEPROM
|
EEPROM (DS28E07) component
A rugged EEPROM allowing one or more devices to be addressed and accessed. Requires a One Wire component to perform the bus operations.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_EEPROM_DS28E07.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_EEPROM_DS28E07.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
|
SetString
|
Writes a string to the EE memory starting at the selected address. All bytes from the string will be written including the null termination.
|
- UINT
|
Address
|
Address of the value to write
|
- STRING
|
Value
|
Data string to write
|
- VOID
|
Return
|
|
GetString
|
Gets a string from the specified start address.
|
- UINT
|
Address
|
Address of the first data byte
|
- BYTE
|
MaxLength
|
Maximum number of bytes in the string, also includes null termination byte
|
- STRING
|
Return
|
|
SetByteArray
|
Writes an array of bytes to the EE memory.
|
- UINT
|
Address
|
Starting address of the first value to write
|
- BYTE
|
Data
|
|
- BYTE
|
Count
|
Number of bytes to write to the EE memory, Range: 1 to 128 bytes
|
- VOID
|
Return
|
|
SetInt
|
Writes a 16-bit value to the EE memory. For consecutive 16-bit values the address must be incremented by 2.
|
- UINT
|
Address
|
Address of the value to write
|
- UINT
|
Value
|
16-bit value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
AddressSpecificDevice
|
Starts a temperature conversion on a specific device using a hex string identifier. SerialNumber parameter should be 12 characters and contain the 48-bit Serial.
|
- STRING
|
SerialNumber
|
48-bit Serial Number e.g. "32DF4A3C1901"
|
- VOID
|
Return
|
|
GetSerialString
|
Gets the Serial String for the current addressed device.
|
- STRING
|
Return
|
|
AddressNextDevice
|
Scans for the next connected device with a matching family code. Goes through the device list generated by the ScanBus macro.
|
- VOID
|
Return
|
|
SetLong
|
Writes a 32-bit value to the EE memory. For consecutive 32-bit values the address must be incremented by 4.
|
- UINT
|
Address
|
Address of the value to write
|
- ULONG
|
Value
|
32-bit value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
GetFloat
|
Reads a 32-bit floating point value starting from the specified byte address. For consecutive float values the address must be incremented by 4.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- FLOAT
|
Return
|
|
GetLong
|
Reads a 32-bit value starting from the specified byte address. For consecutive 32-bit values the address must be incremented by 4.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- ULONG
|
Return
|
|
GetInt
|
Reads a 16-bit value starting from the specified byte address. For consecutive 16-bit values the address must be incremented by 2.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- UINT
|
Return
|
|
GetByteArray
|
Reads an array of bytes starting from the selected address.
|
- UINT
|
Address
|
Starting address of the first value to read
|
- BYTE
|
Data
|
Byte array to store incoming data
|
- UINT
|
Count
|
Number of bytes to read from the EE memory, Range: 1 to 128 bytes
|
- VOID
|
Return
|
|
SetByte
|
Writes a single byte to the EE memory.
|
- UINT
|
Address
|
Address of the value to write
|
- BYTE
|
Data
|
|
- VOID
|
Return
|
|
GetByte
|
Reads a single byte from the selected address.
|
- UINT
|
Address
|
Address of the value to read
|
- BYTE
|
Return
|
|
SetFloat
|
Writes a 32-bit floating point value to the EE memory. For consecutive float values the address must be incremented by 4.
|
- UINT
|
Address
|
Address of the value to write
|
- FLOAT
|
Value
|
Floating point value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
Initialise
|
Configures each matching sensor on the bus with the specified conversion bits.
|
- VOID
|
Return
|
Property reference
|
Properties
|
|
One Wire Component
|
Link to the one wire component to host the bus.
|
|
EEPROM Size (Bytes)
|
|
|
Simulation
|
|
Simulate Comms
|
No - We use the panel GUI to perform the simulation. Yes - We use OneWire comms via an API to communicate with real hardware.
|
|
Panel Simulation
|
|
Number EE Devices
|
Sens the number of sensors we can communicate with during simulation
|
|
Serial 0
|
Serial number for simulated one wire device
|
==Macro reference==
|
SetString
|
Writes a string to the EE memory starting at the selected address. All bytes from the string will be written including the null termination.
|
- UINT
|
Address
|
Address of the value to write
|
- STRING
|
Value
|
Data string to write
|
- VOID
|
Return
|
|
GetString
|
Gets a string from the specified start address.
|
- UINT
|
Address
|
Address of the first data byte
|
- BYTE
|
MaxLength
|
Maximum number of bytes in the string, also includes null termination byte
|
- STRING
|
Return
|
|
SetByteArray
|
Writes an array of bytes to the EE memory.
|
- UINT
|
Address
|
Starting address of the first value to write
|
- BYTE
|
Data
|
|
- BYTE
|
Count
|
Number of bytes to write to the EE memory, Range: 1 to 128 bytes
|
- VOID
|
Return
|
|
SetInt
|
Writes a 16-bit value to the EE memory. For consecutive 16-bit values the address must be incremented by 2.
|
- UINT
|
Address
|
Address of the value to write
|
- UINT
|
Value
|
16-bit value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
AddressSpecificDevice
|
Starts a temperature conversion on a specific device using a hex string identifier. SerialNumber parameter should be 12 characters and contain the 48-bit Serial.
|
- STRING
|
SerialNumber
|
48-bit Serial Number e.g. "32DF4A3C1901"
|
- VOID
|
Return
|
|
GetSerialString
|
Gets the Serial String for the current addressed device.
|
- STRING
|
Return
|
|
AddressNextDevice
|
Scans for the next connected device with a matching family code. Goes through the device list generated by the ScanBus macro.
|
- VOID
|
Return
|
|
SetLong
|
Writes a 32-bit value to the EE memory. For consecutive 32-bit values the address must be incremented by 4.
|
- UINT
|
Address
|
Address of the value to write
|
- ULONG
|
Value
|
32-bit value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
GetFloat
|
Reads a 32-bit floating point value starting from the specified byte address. For consecutive float values the address must be incremented by 4.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- FLOAT
|
Return
|
|
GetLong
|
Reads a 32-bit value starting from the specified byte address. For consecutive 32-bit values the address must be incremented by 4.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- ULONG
|
Return
|
|
GetInt
|
Reads a 16-bit value starting from the specified byte address. For consecutive 16-bit values the address must be incremented by 2.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- UINT
|
Return
|
|
GetByteArray
|
Reads an array of bytes starting from the selected address.
|
- UINT
|
Address
|
Starting address of the first value to read
|
- BYTE
|
Data
|
Byte array to store incoming data
|
- UINT
|
Count
|
Number of bytes to read from the EE memory, Range: 1 to 128 bytes
|
- VOID
|
Return
|
|
SetByte
|
Writes a single byte to the EE memory.
|
- UINT
|
Address
|
Address of the value to write
|
- BYTE
|
Data
|
|
- VOID
|
Return
|
|
GetByte
|
Reads a single byte from the selected address.
|
- UINT
|
Address
|
Address of the value to read
|
- BYTE
|
Return
|
|
SetFloat
|
Writes a 32-bit floating point value to the EE memory. For consecutive float values the address must be incremented by 4.
|
- UINT
|
Address
|
Address of the value to write
|
- FLOAT
|
Value
|
Floating point value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
Initialise
|
Configures each matching sensor on the bus with the specified conversion bits.
|
- VOID
|
Return
|
Property reference
|
Properties
|
|
One Wire Component
|
Link to the one wire component to host the bus.
|
|
EEPROM Size (Bytes)
|
|
|
Simulation
|
|
Simulate Comms
|
No - We use the panel GUI to perform the simulation. Yes - We use OneWire comms via an API to communicate with real hardware.
|
|
Panel Simulation
|
|
Number EE Devices
|
Sens the number of sensors we can communicate with during simulation
|
|
Serial 0
|
Serial number for simulated one wire device
|
==Macro reference==
|
SetString
|
Writes a string to the EE memory starting at the selected address. All bytes from the string will be written including the null termination.
|
- UINT
|
Address
|
Address of the value to write
|
- STRING
|
Value
|
Data string to write
|
- VOID
|
Return
|
|
GetString
|
Gets a string from the specified start address.
|
- UINT
|
Address
|
Address of the first data byte
|
- BYTE
|
MaxLength
|
Maximum number of bytes in the string, also includes null termination byte
|
- STRING
|
Return
|
|
SetByteArray
|
Writes an array of bytes to the EE memory.
|
- UINT
|
Address
|
Starting address of the first value to write
|
- BYTE
|
Data
|
|
- BYTE
|
Count
|
Number of bytes to write to the EE memory, Range: 1 to 128 bytes
|
- VOID
|
Return
|
|
SetInt
|
Writes a 16-bit value to the EE memory. For consecutive 16-bit values the address must be incremented by 2.
|
- UINT
|
Address
|
Address of the value to write
|
- UINT
|
Value
|
16-bit value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
AddressSpecificDevice
|
Starts a temperature conversion on a specific device using a hex string identifier. SerialNumber parameter should be 12 characters and contain the 48-bit Serial.
|
- STRING
|
SerialNumber
|
48-bit Serial Number e.g. "32DF4A3C1901"
|
- VOID
|
Return
|
|
GetSerialString
|
Gets the Serial String for the current addressed device.
|
- STRING
|
Return
|
|
AddressNextDevice
|
Scans for the next connected device with a matching family code. Goes through the device list generated by the ScanBus macro.
|
- VOID
|
Return
|
|
SetLong
|
Writes a 32-bit value to the EE memory. For consecutive 32-bit values the address must be incremented by 4.
|
- UINT
|
Address
|
Address of the value to write
|
- ULONG
|
Value
|
32-bit value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
GetFloat
|
Reads a 32-bit floating point value starting from the specified byte address. For consecutive float values the address must be incremented by 4.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- FLOAT
|
Return
|
|
GetLong
|
Reads a 32-bit value starting from the specified byte address. For consecutive 32-bit values the address must be incremented by 4.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- ULONG
|
Return
|
|
GetInt
|
Reads a 16-bit value starting from the specified byte address. For consecutive 16-bit values the address must be incremented by 2.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- UINT
|
Return
|
|
GetByteArray
|
Reads an array of bytes starting from the selected address.
|
- UINT
|
Address
|
Starting address of the first value to read
|
- BYTE
|
Data
|
Byte array to store incoming data
|
- UINT
|
Count
|
Number of bytes to read from the EE memory, Range: 1 to 128 bytes
|
- VOID
|
Return
|
|
SetByte
|
Writes a single byte to the EE memory.
|
- UINT
|
Address
|
Address of the value to write
|
- BYTE
|
Data
|
|
- VOID
|
Return
|
|
GetByte
|
Reads a single byte from the selected address.
|
- UINT
|
Address
|
Address of the value to read
|
- BYTE
|
Return
|
|
SetFloat
|
Writes a 32-bit floating point value to the EE memory. For consecutive float values the address must be incremented by 4.
|
- UINT
|
Address
|
Address of the value to write
|
- FLOAT
|
Value
|
Floating point value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
Initialise
|
Configures each matching sensor on the bus with the specified conversion bits.
|
- VOID
|
Return
|
Property reference
|
Properties
|
|
One Wire Component
|
Link to the one wire component to host the bus.
|
|
EEPROM Size (Bytes)
|
|
|
Simulation
|
|
Simulate Comms
|
No - We use the panel GUI to perform the simulation. Yes - We use OneWire comms via an API to communicate with real hardware.
|
|
Panel Simulation
|
|
Number EE Devices
|
Sens the number of sensors we can communicate with during simulation
|
|
Serial 0
|
Serial number for simulated one wire device
|
==Macro reference==
|
SetString
|
Writes a string to the EE memory starting at the selected address. All bytes from the string will be written including the null termination.
|
- UINT
|
Address
|
Address of the value to write
|
- STRING
|
Value
|
Data string to write
|
- VOID
|
Return
|
|
GetString
|
Gets a string from the specified start address.
|
- UINT
|
Address
|
Address of the first data byte
|
- BYTE
|
MaxLength
|
Maximum number of bytes in the string, also includes null termination byte
|
- STRING
|
Return
|
|
SetByteArray
|
Writes an array of bytes to the EE memory.
|
- UINT
|
Address
|
Starting address of the first value to write
|
- BYTE
|
Data
|
|
- BYTE
|
Count
|
Number of bytes to write to the EE memory, Range: 1 to 128 bytes
|
- VOID
|
Return
|
|
SetInt
|
Writes a 16-bit value to the EE memory. For consecutive 16-bit values the address must be incremented by 2.
|
- UINT
|
Address
|
Address of the value to write
|
- UINT
|
Value
|
16-bit value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
AddressSpecificDevice
|
Starts a temperature conversion on a specific device using a hex string identifier. SerialNumber parameter should be 12 characters and contain the 48-bit Serial.
|
- STRING
|
SerialNumber
|
48-bit Serial Number e.g. "32DF4A3C1901"
|
- VOID
|
Return
|
|
GetSerialString
|
Gets the Serial String for the current addressed device.
|
- STRING
|
Return
|
|
AddressNextDevice
|
Scans for the next connected device with a matching family code. Goes through the device list generated by the ScanBus macro.
|
- VOID
|
Return
|
|
SetLong
|
Writes a 32-bit value to the EE memory. For consecutive 32-bit values the address must be incremented by 4.
|
- UINT
|
Address
|
Address of the value to write
|
- ULONG
|
Value
|
32-bit value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
GetFloat
|
Reads a 32-bit floating point value starting from the specified byte address. For consecutive float values the address must be incremented by 4.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- FLOAT
|
Return
|
|
GetLong
|
Reads a 32-bit value starting from the specified byte address. For consecutive 32-bit values the address must be incremented by 4.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- ULONG
|
Return
|
|
GetInt
|
Reads a 16-bit value starting from the specified byte address. For consecutive 16-bit values the address must be incremented by 2.
|
- INT
|
Address
|
The starting byte address
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- UINT
|
Return
|
|
GetByteArray
|
Reads an array of bytes starting from the selected address.
|
- UINT
|
Address
|
Starting address of the first value to read
|
- BYTE
|
Data
|
Byte array to store incoming data
|
- UINT
|
Count
|
Number of bytes to read from the EE memory, Range: 1 to 128 bytes
|
- VOID
|
Return
|
|
SetByte
|
Writes a single byte to the EE memory.
|
- UINT
|
Address
|
Address of the value to write
|
- BYTE
|
Data
|
|
- VOID
|
Return
|
|
GetByte
|
Reads a single byte from the selected address.
|
- UINT
|
Address
|
Address of the value to read
|
- BYTE
|
Return
|
|
SetFloat
|
Writes a 32-bit floating point value to the EE memory. For consecutive float values the address must be incremented by 4.
|
- UINT
|
Address
|
Address of the value to write
|
- FLOAT
|
Value
|
Floating point value to write
|
- BOOL
|
MSBFirst
|
0: LSB is the first byte, 1: MSB is the first byte
|
- VOID
|
Return
|
|
Initialise
|
Configures each matching sensor on the bus with the specified conversion bits.
|
- VOID
|
Return
|
Property reference
|
Properties
|
|
One Wire Component
|
Link to the one wire component to host the bus.
|
|
EEPROM Size (Bytes)
|
|
|
Simulation
|
|
Simulate Comms
|
No - We use the panel GUI to perform the simulation. Yes - We use OneWire comms via an API to communicate with real hardware.
|
|
Panel Simulation
|
|
Number EE Devices
|
Sens the number of sensors we can communicate with during simulation
|
|
Serial 0
|
Serial number for simulated one wire device
|