User Tools

Site Tools


webhmi_internal_registers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
webhmi_internal_registers [2018/12/14 09:35] – [WebHMI Internal Registers] akuzmukwebhmi_internal_registers [2019/07/17 08:01] akuzmuk
Line 11: Line 11:
 |D1999 |A common register for user needs.  |   | Bit, Byte, Word, Double Word| Read/Write| |D1999 |A common register for user needs.  |   | Bit, Byte, Word, Double Word| Read/Write|
  
-The data in these registers are NOT stored after the reboot.+The data in these registers are NOT stored after the reboot before firmware version 3.5. Since version 3.5 they are non-volatile. System saves their value every 15 minutes or on any project change or correct shutdown event. If you poweroff Raspberry PI or manually shutdown virtual machine from VirtualBox UI these registers could loose latest values changes.
  
 The user can access 2000 bytes of RAM. The register address is the address of the beginning of the fragment in the memory block. The user can access 2000 bytes of RAM. The register address is the address of the beginning of the fragment in the memory block.
Line 27: Line 27:
 Depending on the selected data type, a different number of bytes is required per register. So, you can access the register with the DS12 address as a byte. In this case, there will be a reference to one byte in memory. If you access the register with DS12 as the word (Word), then physically it will access two bytes with DS12 and DS13 addresses of which the word will be composed. In this way, you can access the individual bytes in the desired word or double word. The system does not check the register addresses for intersections or overlays. This control must be performed by the user. Depending on the selected data type, a different number of bytes is required per register. So, you can access the register with the DS12 address as a byte. In this case, there will be a reference to one byte in memory. If you access the register with DS12 as the word (Word), then physically it will access two bytes with DS12 and DS13 addresses of which the word will be composed. In this way, you can access the individual bytes in the desired word or double word. The system does not check the register addresses for intersections or overlays. This control must be performed by the user.
  
-Nonvolatile memory is implemented in the hardware revision platform V5.34 and higher.+Nonvolatile memory is implemented in the hardware revision platform V5.34 and higher. VirtualBox and Raspberry PI images does not have non-volatile memory chip and can't save these registers. Instead, use D-registers which are non-volatile since firmware 3.5
  
 ==== Sxxx - String ==== ==== Sxxx - String ====
webhmi_internal_registers.txt · Last modified: 2024/04/02 10:20 by atolstov

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki