Possible to render WASM in HMI screen?

Greetings!,

I’m a software developer at my company and we got notified of a new update to run Javascript on the HMI screens. I’m completely new to PLC programming and do not code in structured text at all. I work mainly on C# and creating web applications which communicate with the PLC’s.
I’m wondering if this is the right place to ask if it is possible to run Javascript either on the PLC machines themselves or somehow porting to WASM and display that on the HMI screens?
I have heard that WASM is great for IoT applications but not sure if it is relevant to B&R PLC’s.
Can anyone maybe point me to the right direction where I can read more about the topic or something related to the topic?

Hi Ragnar,

welcome to our community.

well, Javascript and WebAssembly are topics for browsers.
So a PLC is not the right place for that.

But there is a builtin Webserver in our PLC B&R Webserver which you can use to serve usual web pages with these type of codes inside.

If your question instead is how to create a modern web based HMI for PLC the answer would be: Use mappView. In that case you do not care about what web technique is used inside.

If you want to create pure HTML / CSS / Javascrip web applications, this is what you want to use: Mapp Connect, new mapp Premuim package for mapp View

If you need a WYSIWYG editor, then use standard mappView as Christoph suggested.
mapp View | B&R Industrial Automation

1 Like

Maybe you can run your application in Docker using X20 Edge - X20 meets IoT? :slight_smile: So many ways to go.