Page 1 of 1

Parsing device web page

PostPosted: Tue 23. Jul 2024 10:05:03
by roman66
HI.
Can you show, please, a simple option for parsing www pages?
Have device web page. Need to read staatus word, like 'alarm' and 'noalarm' word from device web page and change Scada variable depended on it.

Thank you.

Re: Parsing device web page

PostPosted: Mon 05. Aug 2024 8:58:29
by Pavel Klimíček
Hello.
The html content of the page can be retrieved using HttpRequest.
https://www.promotic.eu/en/pmdoc/Subsys ... equest.htm

The required data from the content can then be parsed using the HTML DOM.