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 [2020/09/03 13:35] – [WFxxx - Weather Forecast registers] etc atolstov | webhmi_internal_registers [2022/01/14 14:05] – ↷ Links adapted because of a move operation 127.0.0.1 | ||
---|---|---|---|
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 70: | 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 108: | Line 112: | ||
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 246: | Line 250: | ||
|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