Is there any way to associate the values in the HTML file with the PLC variables?

I deployed a local .HTML file in the mappview via the web viewer(localhost…index.html.port…),

Is there any way I can replace the fixed value (.js)with a PLC variable, such as a gauge.
Or can i apply the CSS style from the .html file directly to the mappview, because it’s just amazing.


jb118.zip (57.1 KB)

LIKE THE EXAMPLE I DOWNLOADED FROM ECHARTS, IF I CAN REPLACE THE VALUE, IT WILL SHOW A GOOD EFFECT ON THE SCREEN


echarts

Is thers anyone meeting the same issue?
help me pls

See the following link:
B&R Online Help (br-automation.com)
and also this link:
https://help.br-automation.com/#/en/4/visualization%2Fwebserver%2Fwebserver%2Fexamples_javascript.html

1 Like

thank u!
:heart:
I will try it.

Hi,

there’s also a demo on github showing different possibilities how to interact with the AR embedded webserver and PLC variables:

Best regards!

1 Like

Many thanks
@alexander.hefner