webhmi_internal_registers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
webhmi_internal_registers [2021/07/22 15:26] – [WebHMI Internal Registers] emozolyak | webhmi_internal_registers [2024/04/02 10:20] (current) – atolstov | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== WebHMI Internal Registers ====== | ====== WebHMI Internal Registers ====== | ||
+ | {{ network: | ||
Through internal register it is possible to access user memory areas, WebHMI hardware related data etc. | Through internal register it is possible to access user memory areas, WebHMI hardware related data etc. | ||
The following internal registers are available in WebHMI: | The following internal registers are available in WebHMI: | ||
- | {{ :: | + | |
===== User data registers ===== | ===== User data registers ===== | ||
==== Dxxx - Data registers ==== | ==== Dxxx - Data registers ==== | ||
Line 72: | Line 73: | ||
You can read the values that are added to the report table. For convenience, | You can read the values that are added to the report table. For convenience, | ||
- | {{:: | + | |
+ | {{ network:event_int_regs.png? | ||
On this screen threre are registers E1.0, E1.1, E1.2. When the event is now on, the register will store respective values from the report with id = 1. In this example the E1.0 register will store event start time [UnixTime], E1.1 - event end time or 0 if event not finished yet, E1.2 - the value from register " | On this screen threre are registers E1.0, E1.1, E1.2. When the event is now on, the register will store respective values from the report with id = 1. In this example the E1.0 register will store event start time [UnixTime], E1.1 - event end time or 0 if event not finished yet, E1.2 - the value from register " | ||
Line 145: | Line 147: | ||
|H2 |RTC IC Temperature |Celsius degrees |Double word, float 32 |Read/-| | |H2 |RTC IC Temperature |Celsius degrees |Double word, float 32 |Read/-| | ||
|H3 |Input voltage |Volts |Double word, float 32 |Read/-| | |H3 |Input voltage |Volts |Double word, float 32 |Read/-| | ||
- | |H4 |Battery voltage |Voltage |Double word, float 32 |Read/-| | + | |H4 |Battery voltage |Volts |Double word, float 32 |Read/-| |
|H5 |“Power OK” - power is good.| |Bit |Read/ | |H5 |“Power OK” - power is good.| |Bit |Read/ | ||
|H6 |" | |H6 |" | ||
Line 177: | Line 179: | ||
|DO0 |SSR number 1 | |Bit|Read/ | |DO0 |SSR number 1 | |Bit|Read/ | ||
|DO1 |SSR number 2 | |Bit|Read/ | |DO1 |SSR number 2 | |Bit|Read/ | ||
+ | |||
+ | |||
+ | ==== Mx - Memory-related (storage) registers ==== | ||
+ | ^Register ^Description ^Ubits ^Data type ^Read/ | ||
+ | |M0 |Percents occupied | |Double Word, Float 32 / Double Word, Unsigned|Read/ | ||
+ | |M1 |Bytes size total | |Double Word, Unsigned|Read/ | ||
+ | |M2 |Bytes free | |Double Word, Unsigned|Read/ | ||
+ | |M3 |kBytes size total | |Double Word, Unsigned|Read/ | ||
+ | |M4 |kBytes free | |Double Word, Unsigned|Read/ | ||
+ | |M5 |MBytes size total | |Double Word, Float 32 / Double Word, Unsigned|Read/ | ||
+ | |M6 |MBytes free | |Double Word, Float 32 / Double Word, Unsigned|Read/ | ||
+ | |M7 |GBytes size total | |Double Word, Float 32 / Double Word, Unsigned|Read/ | ||
+ | |M8 |GBytes free | |Double Word, Float 32 / Double Word, Unsigned|Read/ | ||
+ | |||
+ | ==== MACx - MAC address registers ==== | ||
+ | |MAC0 |JSON dictionary of the current network interfaces |String |Read/ | ||
+ | |MAC1 |MAC address of first JSON dictionary interface' | ||
+ | |MAC2 |MAC address of second JSON dictionary interface' | ||
+ | |... | | ||
+ | |MACx |MAC address of x JSON dictionary interface' | ||
+ | |||
+ | ==== WHx - WebHMI-related registers ==== | ||
+ | Here you can see the current platform type, license and etc. | ||
+ | |||
+ | |WH0 |Current Platform|String |Read/ | ||
+ | |WH1 |Serial Number or Instance ID |String |Read/ | ||
+ | |WH2 |Software version |String |Read/ | ||
+ | |WH3 |License type (registers number) |String |Read/ | ||
+ | |WH4 |License deadline date |[UnixTime] |Read/ | ||
+ | |WH5 |License deadline countdown |Double Word Unsigned, time duration d[d] hh: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
===== Weather registers ===== | ===== Weather registers ===== |
webhmi_internal_registers.txt · Last modified: 2024/04/02 10:20 by atolstov