# Custom HMI outside node-red

**URL:** <https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714>\
**Category:** General\
**Created:** [16 November 2022 12:53 UTC](https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714 "2022-11-16T12:53:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KamalRUG92](https://avatars.discourse-cdn.com/v4/letter/k/ec9cab/32.png) [@KamalRUG92](https://discourse.nodered.org/u/KamalRUG92)\
**Post date:** [16 November 2022 12:53 UTC](https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714/1 "2022-11-16T12:53:42Z")

</div>

Hello,

I have S7-1200 PLC; I would like to build an HMI for it (web-based). While doing so, I quickly realize that the programming memory is small.

requirements

- Custom HMI is estimated to be around 400MB in size.

- The connection between the device (tablet/PC) must be via Wi-Fi, not the Could.

- Able to send and receive data using the HMI.

Thoughts:

node-red seems to be appropriate.

Since the server is still running on the PLC, and I would like to build a custom HMI, it should be outside the PLC. Basically, the minimum software that establishes the communication between the PLC and the device (i.e., node-red), then connects it to the HMI (not sure if possible).

Is something like this possible? Or are there other suggestions?

Thank you!

Kamal

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [16 November 2022 21:32 UTC](https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714/2 "2022-11-16T21:32:52Z")

</div>

The first issue is connecting the PLC to the machine running node-red.What protocols does the PLC support (modbus for example)? Assuming that you can achieve that then you could use the node red dashboard to build an HMI, or uibuilder if you need more flexibility than the dashboard provides.

---

<div class="post-metadata">

**Author:** ![KamalRUG92](https://avatars.discourse-cdn.com/v4/letter/k/ec9cab/32.png) [@KamalRUG92](https://discourse.nodered.org/u/KamalRUG92)\
**Post date:** [16 November 2022 22:08 UTC](https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714/3 "2022-11-16T22:08:38Z")

</div>

Thank you for the response Colin.  
It is [CPU 1512SP-1 PN](https://mall.industry.siemens.com/mall/en/WW/Catalog/Products/10239949?activeTab=productinformation&regionUrl=WW), which supports OPC UA server and client. I saw examples that should be possible with node-red. Yes, I saw uibuilder after I posted this, which I think solves my problem. But I have one remaining issue, can I somehow run this on an Andriod Device?

Cheers,  
Kamal

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 November 2022 08:37 UTC](https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714/4 "2022-11-17T08:37:33Z")

</div>

> [@KamalRUG92](#):
>
> can I somehow run this on an Andriod Device?

What do you want to run on the Android device? Node red and uibuilder? Or do you mean you want to access node-red which is running somewhere else from your android device?

---

<div class="post-metadata">

**Author:** ![KamalRUG92](https://avatars.discourse-cdn.com/v4/letter/k/ec9cab/32.png) [@KamalRUG92](https://discourse.nodered.org/u/KamalRUG92)\
**Post date:** [17 November 2022 08:49 UTC](https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714/5 "2022-11-17T08:49:24Z")

</div>

I mean to have an app eventually that uses node red and uibuilder

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 November 2022 15:02 UTC](https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714/6 "2022-11-17T15:02:13Z")

</div>

> [@KamalRUG92](#):
>
> an app eventually that uses node red and uibuilder

Do you mean an app that includes nodejs and node-red? I don't know whether it is possible to embed nodejs in an app.

---

<div class="post-metadata">

**Author:** ![sdrshnptl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sdrshnptl/32/40446_2.png) [@sdrshnptl](https://discourse.nodered.org/u/sdrshnptl)\
**Post date:** [18 November 2022 07:35 UTC](https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714/7 "2022-11-18T07:35:20Z")

</div>

> [@KamalRUG92](#):
>
> PLC and the device

Try [FUXA](https://github.com/frangoteam/FUXA)  
Run it on RPi and (Bare minimal) simple interface for PLC as well

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 January 2023 07:35 UTC](https://discourse.nodered.org/t/custom-hmi-outside-node-red/70714/8 "2023-01-17T07:35:35Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
