webhmi_internal_registers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
webhmi_internal_registers [2019/07/17 08:09] – akuzmuk | webhmi_internal_registers [2021/07/22 15:26] – [WebHMI Internal Registers] emozolyak | ||
---|---|---|---|
Line 2: | Line 2: | ||
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 108: | Line 110: | ||
Example: R123 will return random numbers in the range from 0 to 122 inclusive. | Example: R123 will return random numbers in the range from 0 to 122 inclusive. | ||
- | ^Register ^Description ^Units ^Data type ^Read/ | + | ^Register ^Description ^Data type ^Read/ |
|R2 |Random integer in the range from 0 to 1 (inclusive). |Double Word, Unsigned Int |Read/ | |R2 |Random integer in the range from 0 to 1 (inclusive). |Double Word, Unsigned Int |Read/ | ||
|R3 |Random integer in the range from 0 to 2 (inclusive). |Double Word, Unsigned Int |Read/ | |R3 |Random integer in the range from 0 to 2 (inclusive). |Double Word, Unsigned Int |Read/ | ||
Line 201: | Line 203: | ||
WF1 = Air temperature in the next 3 hours interval. | WF1 = Air temperature in the next 3 hours interval. | ||
WF21 = Air temperature in the next 6 hours interval. | WF21 = Air temperature in the next 6 hours interval. | ||
- | WF31 = Air temperature in the next 9 hours interval. | + | WF31 = Air temperature in the next 9 hours interval, etc. |
- | И т.д. | + | |
For a more accurate understanding of how long a forecast is built, you can use timestamps in the WFx0 registers. | For a more accurate understanding of how long a forecast is built, you can use timestamps in the WFx0 registers. | ||
Line 247: | Line 248: | ||
|WS1 |Sunset time. |Double Word, Unixtime |Read/ | |WS1 |Sunset time. |Double Word, Unixtime |Read/ | ||
- | A textual description of the current weather can be: Clear, Clouds, Rain, Snow, Thunderstorm, | + |
webhmi_internal_registers.txt · Last modified: 2024/04/02 10:20 by atolstov