8.12 Communication with module using HTTP.
Modules are able to download data using the HTTP GET protocol.
•
status.xml
– the resource containing basic information about the module
•
value.txt
– the final value (Final_Value) presented in text form
To read the current state of the module, refer to a resource in an Internet browser, e.g.
The module in the XML file will return all relevant information:
<
response
>
<
prod_name
>
Nano-TC
</
prod_name
>
<
sv
>
0.9
</
sv
>
<
mac
>
00:00:00:00:00:00
</
mac
>
<
on
>
00000000
</
on
>
<
valFinal0
>
3.13
</
valFinal0
>
<
unitFinal0
>
C
</
unitFinal0
>
<
valFinal1
>
22.99
</
valFinal1
>
<
unitFinal1
>
C
</
unitFinal1
>
</
response
>
Section
Description
<prod_name>Nano-TC</prod_name>
Type of the module
<sv>0.9</sv>
The firmware version
<mac>00:00:00:00:00:00</mac>
MAC address
<on>00000000</on>
Status of virtual outputs:
00000001 means alarm state
<valFinal0>3.3</valFinal0>
The final value of the thermocouple
(Final_Value)
<unitFinal0>C</unitFinal0>
Unit
<valFinal1>22.99</valFinal1>
The final value of the RTD sensor
(Final_Value)
<unitFinal1>C</unitFinal1>
Unit
User manual Nano Analog PoE v2
Page
29
of
32
[B01]