Component: EEPROM (DS28E07) (EEPROM): Difference between revisions
Appearance
No edit summary |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_EEPROM_DS28E07.fcfx FC_Comp_Source_EEPROM_DS28E07.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_EEPROM_DS28E07.fcfx FC_Comp_Source_EEPROM_DS28E07.fcfx] | ||
==Detailed description== | ==Detailed description== | ||
| Line 73: | Line 73: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| Line 86: | Line 88: | ||
===AddressNextDevice=== | ===AddressNextDevice=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''AddressNextDevice''' | ||
|- | |- | ||
| colspan="2" | Scans for the next connected device with a matching family code. Goes through the device list generated by the ScanBus macro. | | colspan="2" | Scans for the next connected device with a matching family code. Goes through the device list generated by the ScanBus macro. | ||
| Line 100: | Line 102: | ||
===AddressSpecificDevice=== | ===AddressSpecificDevice=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''AddressSpecificDevice''' | ||
|- | |- | ||
| colspan="2" | 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. | | colspan="2" | 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. | ||
| Line 119: | Line 121: | ||
===GetByte=== | ===GetByte=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetByte''' | ||
|- | |- | ||
| colspan="2" | Reads a single byte from the selected address. | | colspan="2" | Reads a single byte from the selected address. | ||
| Line 138: | Line 140: | ||
===GetByteArray=== | ===GetByteArray=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetByteArray''' | ||
|- | |- | ||
| colspan="2" | Reads an array of bytes starting from the selected address. | | colspan="2" | Reads an array of bytes starting from the selected address. | ||
| Line 167: | Line 169: | ||
===GetFloat=== | ===GetFloat=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetFloat''' | ||
|- | |- | ||
| colspan="2" | Reads a 32-bit floating point value starting from the specified byte address. For consecutive float values the address must be incremented by 4. | | colspan="2" | Reads a 32-bit floating point value starting from the specified byte address. For consecutive float values the address must be incremented by 4. | ||
| Line 191: | Line 193: | ||
===GetInt=== | ===GetInt=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetInt''' | ||
|- | |- | ||
| colspan="2" | Reads a 16-bit value starting from the specified byte address. For consecutive 16-bit values the address must be incremented by 2. | | colspan="2" | Reads a 16-bit value starting from the specified byte address. For consecutive 16-bit values the address must be incremented by 2. | ||
| Line 215: | Line 217: | ||
===GetLong=== | ===GetLong=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetLong''' | ||
|- | |- | ||
| colspan="2" | Reads a 32-bit value starting from the specified byte address. For consecutive 32-bit values the address must be incremented by 4. | | colspan="2" | Reads a 32-bit value starting from the specified byte address. For consecutive 32-bit values the address must be incremented by 4. | ||
| Line 239: | Line 241: | ||
===GetSerialString=== | ===GetSerialString=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetSerialString''' | ||
|- | |- | ||
| colspan="2" | Gets the Serial String for the current addressed device. | | colspan="2" | Gets the Serial String for the current addressed device. | ||
| Line 253: | Line 255: | ||
===GetString=== | ===GetString=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetString''' | ||
|- | |- | ||
| colspan="2" | Gets a string from the specified start address. | | colspan="2" | Gets a string from the specified start address. | ||
| Line 277: | Line 279: | ||
===Initialise=== | ===Initialise=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Initialise''' | ||
|- | |- | ||
| colspan="2" | Configures each matching sensor on the bus with the specified conversion bits. | | colspan="2" | Configures each matching sensor on the bus with the specified conversion bits. | ||
| Line 291: | Line 293: | ||
===SetByte=== | ===SetByte=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetByte''' | ||
|- | |- | ||
| colspan="2" | Writes a single byte to the EE memory. | | colspan="2" | Writes a single byte to the EE memory. | ||
| Line 315: | Line 317: | ||
===SetByteArray=== | ===SetByteArray=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetByteArray''' | ||
|- | |- | ||
| colspan="2" | Writes an array of bytes to the EE memory. | | colspan="2" | Writes an array of bytes to the EE memory. | ||
| Line 344: | Line 346: | ||
===SetFloat=== | ===SetFloat=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetFloat''' | ||
|- | |- | ||
| colspan="2" | Writes a 32-bit floating point value to the EE memory. For consecutive float values the address must be incremented by 4. | | colspan="2" | Writes a 32-bit floating point value to the EE memory. For consecutive float values the address must be incremented by 4. | ||
| Line 373: | Line 375: | ||
===SetInt=== | ===SetInt=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetInt''' | ||
|- | |- | ||
| colspan="2" | Writes a 16-bit value to the EE memory. For consecutive 16-bit values the address must be incremented by 2. | | colspan="2" | Writes a 16-bit value to the EE memory. For consecutive 16-bit values the address must be incremented by 2. | ||
| Line 402: | Line 404: | ||
===SetLong=== | ===SetLong=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetLong''' | ||
|- | |- | ||
| colspan="2" | Writes a 32-bit value to the EE memory. For consecutive 32-bit values the address must be incremented by 4. | | colspan="2" | Writes a 32-bit value to the EE memory. For consecutive 32-bit values the address must be incremented by 4. | ||
| Line 431: | Line 433: | ||
===SetString=== | ===SetString=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetString''' | ||
|- | |- | ||
| colspan="2" | Writes a string to the EE memory starting at the selected address. All bytes from the string will be written including the null termination. | | colspan="2" | Writes a string to the EE memory starting at the selected address. All bytes from the string will be written including the null termination. | ||
| Line 456: | Line 458: | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| Line 472: | Line 474: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
|- | |- | ||
| Line 481: | Line 483: | ||
| colspan="2" | No - We use the panel GUI to perform the simulation. Yes - We use OneWire comms via an API to communicate with real hardware. | | colspan="2" | No - We use the panel GUI to perform the simulation. Yes - We use OneWire comms via an API to communicate with real hardware. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Panel Simulation | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:36, 13 July 2026
| 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
AddressNextDevice
| AddressNextDevice | |
| Scans for the next connected device with a matching family code. Goes through the device list generated by the ScanBus macro. | |
| Return | |
AddressSpecificDevice
GetByte
| GetByte | |
| Reads a single byte from the selected address. | |
| Address | |
| Address of the value to read | |
| Return | |
GetByteArray
GetFloat
GetInt
GetLong
GetSerialString
| GetSerialString | |
| Gets the Serial String for the current addressed device. | |
| Return | |
GetString
Initialise
| Initialise | |
| Configures each matching sensor on the bus with the specified conversion bits. | |
| Return | |
SetByte
| SetByte | |
| Writes a single byte to the EE memory. | |
| Address | |
| Address of the value to write | |
| Data | |
| Return | |
SetByteArray
SetFloat
SetInt
SetLong
SetString