--------------------------------------------------------------------------------
 Description of XML file values.xml from P85xx/P86xx (P8511, P8541, P8510,
                           8610, P8631, P8611, P8641, P8552, P8652, P8653)

 file path: http://<IP>/values.xml
 structure of XML file is described at XSD schema

 v2.0 for firmware 4-5-8-2 or higher, 2023-02-24
--------------------------------------------------------------------------------


Tags in <root> key
--------------------------------------------------------------------------------
                                                                                
|----------------|--------------|----------------------------------------------|
| Tag            | Values       | Description                                  |
|----------------|--------------|----------------------------------------------|
| <err>          | 0, 1         | 0 = values are valid                         |
|                |              | 1 = error state, other tags are not in XML   |
|----------------|--------------|----------------------------------------------|
| <devname>      | String/66    | Device description (name)                    |
|----------------|--------------|----------------------------------------------|
| <devsn>        | String/8     | Device serial number                         |
|----------------|--------------|----------------------------------------------|
| <time>         | RFC3339 time | Current time according RFC3339.              |
|                |              | Blank if time is not synchronised with NTP.  |
|----------------|--------------|----------------------------------------------|
| <timeunix>     | Integer/32b  | Unix timestamp (seconds since 01/01/1970).   |
|                |              | Blnak if time is not synchronised with NTP.  |
|----------------|--------------|----------------------------------------------|
| <synch>        | 0, 1         | Device synchronised with NTP server (=1).    |
|----------------|--------------|----------------------------------------------|
| <ch1>          |              | Element with information about each channel  |
|  ...           |              | with current measured values.                |
| <ch5>          |              |                                              |
|----------------|--------------|----------------------------------------------|
| <bin1>         |              | Element with information about each binary   |
| <bin2>         |              | input channel.                               |
| <bin3>         |              |                                              |
|----------------|--------------|----------------------------------------------|


Tags for channel(s)
--------------------------------------------------------------------------------

|----------------|--------------|----------------------------------------------|
| Tag            | Values       | Description                                  |
|----------------|--------------|----------------------------------------------|
| <name>         | String/25    | Channel name (measured value type).          |
|----------------|--------------|----------------------------------------------|
| <unit>         | String/10    | Unit name.                                   |
|----------------|--------------|----------------------------------------------|
| <aval>         | String/15    | Current measurted value. As decimal point    |
|                |              | separator is used dot. Error states are      |
|                |              | "Error 1", "Error 2", etc. and "n/a".        |
|----------------|--------------|----------------------------------------------|
| <alarm>        | 0, 1, 2      | State of Alarm (0=no alarm, 1=high alarm,    |
|                |              | 2=low alarm).                                |
|----------------|--------------|----------------------------------------------|


Tags for binary input(s) - only P8552, P8652, P8653
--------------------------------------------------------------------------------

|----------------|--------------|----------------------------------------------|
| Tag            | Values       | Description                                  |
|----------------|--------------|----------------------------------------------|
| <name>         | String/16    | Binry input name.                            |
|----------------|--------------|----------------------------------------------|
| <aval>         | 0, 1         | State of binary input.                       |
|----------------|--------------|----------------------------------------------|
| <alarm>        | 0, 1         | State of Alarm (1 = active).                 |
|----------------|--------------|----------------------------------------------|

