# Industrial

**URL:** https://discourse.nodered.org/c/industrial/18.md?page=5

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

**Page:** 6

---

## [OPC UA Learner Series - How to Build a Secure OPC-UA Server for PLCs in Node-RED](https://discourse.nodered.org/t/opc-ua-learner-series-how-to-build-a-secure-opc-ua-server-for-plcs-in-node-red/79955)

<div class="topic-metadata">

**Author:** [@Hisma](https://discourse.nodered.org/u/Hisma)\
**Replies:** 0\
**Last updated:** [20 July 2023 08:24 UTC](https://discourse.nodered.org/t/opc-ua-learner-series-how-to-build-a-secure-opc-ua-server-for-plcs-in-node-red/79955 "2023-07-20T08:24:27Z")

</div>

Hey guys, last week I posted part 1 of a series of OPC UA articles in Node-RED. That article covered some important concepts of OPC UA and how they relate to building your own server in Node-RED. I then walk through an e…

---

## [Issues with node-red-contrib-modbus](https://discourse.nodered.org/t/issues-with-node-red-contrib-modbus/79318)

<div class="topic-metadata">

**Author:** [@colin0031](https://discourse.nodered.org/u/colin0031)\
**Replies:** 2\
**Last updated:** [18 July 2023 14:29 UTC](https://discourse.nodered.org/t/issues-with-node-red-contrib-modbus/79318 "2023-07-18T14:29:46Z")

</div>

Hello, I would like to ask if somebody else started facing problems with modbus node. I am using modbus node for controlling relay on moxa IO box, which was working fine for more than a year. Now it happens to see that…

---

## [How to connect Node Red with Milesight gateway LoRa](https://discourse.nodered.org/t/how-to-connect-node-red-with-milesight-gateway-lora/79818)

<div class="topic-metadata">

**Author:** [@marcos11](https://discourse.nodered.org/u/marcos11)\
**Replies:** 2\
**Last updated:** [14 July 2023 14:15 UTC](https://discourse.nodered.org/t/how-to-connect-node-red-with-milesight-gateway-lora/79818 "2023-07-14T14:15:27Z")

</div>

Hello Everyone, I have 4 LoRa sensors connected to a gateway sending packets correctly. I don't understand why I can't manage to connect it with node red and see the messages from the sensors in the debug. Can someone …

---

## [Debug Connectivity Issues with the node-red-contrib-s7 package](https://discourse.nodered.org/t/debug-connectivity-issues-with-the-node-red-contrib-s7-package/79761)

<div class="topic-metadata">

**Author:** [@aaronknczn](https://discourse.nodered.org/u/aaronknczn)\
**Replies:** 1\
**Last updated:** [12 July 2023 18:56 UTC](https://discourse.nodered.org/t/debug-connectivity-issues-with-the-node-red-contrib-s7-package/79761 "2023-07-12T18:56:08Z")

</div>

Greetings, Im having trouble connecting my IOT2050 Gateway to a S7-1200 PLC. I had it working previously and trying to connect from a laptop in the same subnet works fine. I can ping the PLC from the gateway but still c…

---

## [ Gateway port protection](https://discourse.nodered.org/t/gateway-port-protection/79737)

<div class="topic-metadata">

**Author:** [@fabio.amorim](https://discourse.nodered.org/u/fabio.amorim)\
**Replies:** 1\
**Last updated:** [11 July 2023 16:00 UTC](https://discourse.nodered.org/t/gateway-port-protection/79737 "2023-07-11T16:00:43Z")

</div>

Hello everyone, I would like to know if it is possible to implement in node-RED a way to authenticate or make the serial connection safer for a Modbus rtu communication, in case a person connects another device with the …

---

## [Trouble compiling node-red program in IOT2040](https://discourse.nodered.org/t/trouble-compiling-node-red-program-in-iot2040/79628)

<div class="topic-metadata">

**Author:** [@HMansouri](https://discourse.nodered.org/u/HMansouri)\
**Replies:** 4\
**Last updated:** [10 July 2023 12:27 UTC](https://discourse.nodered.org/t/trouble-compiling-node-red-program-in-iot2040/79628 "2023-07-10T12:27:30Z")

</div>

hi, I had a project for the digitization of data so, I install node-red in IOT2040. I deployed my program in the flow, then I can't open the node-red dashboard More details on the capture

---

## [Connect to coolmay PLC](https://discourse.nodered.org/t/connect-to-coolmay-plc/79671)

<div class="topic-metadata">

**Author:** [@wcordova](https://discourse.nodered.org/u/wcordova)\
**Replies:** 2\
**Last updated:** [9 July 2023 16:44 UTC](https://discourse.nodered.org/t/connect-to-coolmay-plc/79671 "2023-07-09T16:44:11Z")

</div>

Hi All, I have a raspberry pi integrated with Logo Siemens through node-red-contrib-s7 (I understand that library is only for logo siemens) , and the raspberry is connected to ubidots to send data to the cloud , it work…

---

## [Tcp in node not working sometimes](https://discourse.nodered.org/t/tcp-in-node-not-working-sometimes/79625)

<div class="topic-metadata">

**Author:** [@dinesh](https://discourse.nodered.org/u/dinesh)\
**Replies:** 10\
**Last updated:** [8 July 2023 09:12 UTC](https://discourse.nodered.org/t/tcp-in-node-not-working-sometimes/79625 "2023-07-08T09:12:53Z")

</div>

Hi, I have tcp in node where I get weight from a weighscale indicator. I notice sometime , the node suddenly stops working.(stop receiving data) but connection status is still green (OK) In order to make it work ag…

---

## [Switch Node Does not appear to be working](https://discourse.nodered.org/t/switch-node-does-not-appear-to-be-working/79633)

<div class="topic-metadata">

**Author:** [@jts450](https://discourse.nodered.org/u/jts450)\
**Replies:** 6\
**Last updated:** [8 July 2023 08:27 UTC](https://discourse.nodered.org/t/switch-node-does-not-appear-to-be-working/79633 "2023-07-08T08:27:14Z")

</div>

I am not getting any output from the switch node even though the MQTT topic here is updating to true or false when I update the topic. \[ { "id": "2731d575a67784b2", "type": "mqtt in", "z": "c…

---

## [Trigger SQL INSERT](https://discourse.nodered.org/t/trigger-sql-insert/79443)

<div class="topic-metadata">

**Author:** [@alexmacabu](https://discourse.nodered.org/u/alexmacabu)\
**Replies:** 4\
**Last updated:** [27 June 2023 21:02 UTC](https://discourse.nodered.org/t/trigger-sql-insert/79443 "2023-06-27T21:02:16Z")

</div>

Hello there! I am using node-red-contrib-s7 v.3.1 and node-red-node-mysql v.1.0.3 to read data from a PLC and perform a INSERT on a MARIADB Database. How can I use a PLC variable to trigger the function node with the INS…

---

## [S7-1200 to MariaDB](https://discourse.nodered.org/t/s7-1200-to-mariadb/79424)

<div class="topic-metadata">

**Author:** [@alexmacabu](https://discourse.nodered.org/u/alexmacabu)\
**Replies:** 1\
**Last updated:** [27 June 2023 01:53 UTC](https://discourse.nodered.org/t/s7-1200-to-mariadb/79424 "2023-06-27T01:53:34Z")

</div>

Hello there! I am using node-red-contrib-s7 v.3.1 and node-red-node-mysql v.1.0.3 to read data from a PLC and perform a INSERT on a MARIADB Database. Right now I can both read from the PLC and perform INSERT on the DB us…

---

## [Node-red executable .exe for windows that runs in the background](https://discourse.nodered.org/t/node-red-executable-exe-for-windows-that-runs-in-the-background/79376)

<div class="topic-metadata">

**Author:** [@vitormnm](https://discourse.nodered.org/u/vitormnm)\
**Replies:** 3\
**Last updated:** [24 June 2023 01:23 UTC](https://discourse.nodered.org/t/node-red-executable-exe-for-windows-that-runs-in-the-background/79376 "2023-06-24T01:23:39Z")

</div>

Hi everyone, I work with systems integration and I'm developing an executable version of node-red using electron for windows, with all industrial automation packages already installed. I've been using it in production f…

---

## [How to close a tcp connection initiated by a client](https://discourse.nodered.org/t/how-to-close-a-tcp-connection-initiated-by-a-client/79261)

<div class="topic-metadata">

**Author:** [@vapourlyric](https://discourse.nodered.org/u/vapourlyric)\
**Replies:** 0\
**Last updated:** [16 June 2023 18:21 UTC](https://discourse.nodered.org/t/how-to-close-a-tcp-connection-initiated-by-a-client/79261 "2023-06-16T18:21:20Z")

</div>

Hi everyone, I am utilizing a tcp in node with the type set to "Listen on". I am able to receive messages from connected clients, generate a reply to these messages with a complex data flow and finally send the reply to…

---

## [Dynamic forms in node-red](https://discourse.nodered.org/t/dynamic-forms-in-node-red/78841)

<div class="topic-metadata">

**Author:** [@agmacedo](https://discourse.nodered.org/u/agmacedo)\
**Replies:** 11\
**Last updated:** [13 June 2023 14:22 UTC](https://discourse.nodered.org/t/dynamic-forms-in-node-red/78841 "2023-06-13T14:22:26Z")

</div>

Best way to create a dynamic form based on a json file to transfer recipes (groups of data) to the Plc. The idea is to put all the information necessary to create the form on a json file and reuse it to create the forms …

---

## [Led not working](https://discourse.nodered.org/t/led-not-working/79065)

<div class="topic-metadata">

**Author:** [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Replies:** 21\
**Last updated:** [9 June 2023 09:32 UTC](https://discourse.nodered.org/t/led-not-working/79065 "2023-06-09T09:32:03Z")

</div>

I am using External signal to the plc input to shoe the pump on off status in node red dashboard. But my led not showing in dashboard. What's the problem can somebody tell please..

---

## [Extract a part of an object, convert to string and number](https://discourse.nodered.org/t/extract-a-part-of-an-object-convert-to-string-and-number/78768)

<div class="topic-metadata">

**Author:** [@wcordova](https://discourse.nodered.org/u/wcordova)\
**Replies:** 5\
**Last updated:** [2 June 2023 03:56 UTC](https://discourse.nodered.org/t/extract-a-part-of-an-object-convert-to-string-and-number/78768 "2023-06-02T03:56:57Z")

</div>

Hi All I am using node red 3.0.3 and node js v18.16.0 in a raspberry pi. A flow storage (gravity sensor) in my program is generating an object with many fields. I want to know how can I get one of the fields ,this fie…

---

## [Create many s7 node entries](https://discourse.nodered.org/t/create-many-s7-node-entries/78482)

<div class="topic-metadata">

**Author:** [@Loveflowersx](https://discourse.nodered.org/u/Loveflowersx)\
**Replies:** 6\
**Last updated:** [22 May 2023 12:59 UTC](https://discourse.nodered.org/t/create-many-s7-node-entries/78482 "2023-05-22T12:59:15Z")

</div>

Hello everybody, I want to create a lot of variables from TIA Portal to Node-RED, but there are a lot of them. I can export .json the node and create several, I am trying to do it from excel but it is a lot of concatena…

---

## [PLC Weidmuller UC20-WL2000-IoT connecting via RS-485](https://discourse.nodered.org/t/plc-weidmuller-uc20-wl2000-iot-connecting-via-rs-485/77951)

<div class="topic-metadata">

**Author:** [@SANNICAP](https://discourse.nodered.org/u/SANNICAP)\
**Replies:** 15\
**Last updated:** [9 May 2023 23:03 UTC](https://discourse.nodered.org/t/plc-weidmuller-uc20-wl2000-iot-connecting-via-rs-485/77951 "2023-05-09T23:03:35Z")

</div>

Hi there! I have Weidmuller UC20-WL2000-IoT controller and some peripheral device which use RS-485 interface for trasmitting read data from prussure/temp sensors on the board. Also I have UR20-1COM-232-485-422 module …

---

## [Modbus connection between CMI from Technische Alternative and Node Red](https://discourse.nodered.org/t/modbus-connection-between-cmi-from-technische-alternative-and-node-red/78279)

<div class="topic-metadata">

**Author:** [@toolitme](https://discourse.nodered.org/u/toolitme)\
**Replies:** 0\
**Last updated:** [8 May 2023 18:56 UTC](https://discourse.nodered.org/t/modbus-connection-between-cmi-from-technische-alternative-and-node-red/78279 "2023-05-08T18:56:06Z")

</div>

Hi I try since days to connect my CMI (CMI Control and Monitoring Interface CMI \> x2 | Bedienung & Schnittstellen \> Produkte - Technische Alternative) with Node Red over Modbus. Has anyone some (hopefully positive) expe…

---

## [UBJSON extension](https://discourse.nodered.org/t/ubjson-extension/78082)

<div class="topic-metadata">

**Author:** [@zova](https://discourse.nodered.org/u/zova)\
**Replies:** 16\
**Last updated:** [7 May 2023 14:51 UTC](https://discourse.nodered.org/t/ubjson-extension/78082 "2023-05-07T14:51:31Z")

</div>

I'm using MQTT to get some data from PLC by robust way. MQTT protocol is light way enough itself, but data preparation consumes huge resources of PLC. JS didn't supports PlC's data types at all. I.e. Simatic S7 and JS h…

---

## [Iot2050 +MX300+Sensor](https://discourse.nodered.org/t/iot2050-mx300-sensor/78174)

<div class="topic-metadata">

**Author:** [@Edona](https://discourse.nodered.org/u/Edona)\
**Replies:** 0\
**Last updated:** [4 May 2023 08:05 UTC](https://discourse.nodered.org/t/iot2050-mx300-sensor/78174 "2023-05-04T08:05:38Z")

</div>

Hello I am trying to poll data from different sensors with the help of mx300 to iot2050 in node red.... I cannot recognize which register give me a specific data from any sensor ... can sb help me ?

---

## [Need Help with Node-RED for LED-SPCV-LV100W Dimmer Control on Groov EPIC Platform](https://discourse.nodered.org/t/need-help-with-node-red-for-led-spcv-lv100w-dimmer-control-on-groov-epic-platform/77927)

<div class="topic-metadata">

**Author:** [@Tamar](https://discourse.nodered.org/u/Tamar)\
**Replies:** 7\
**Last updated:** [1 May 2023 09:39 UTC](https://discourse.nodered.org/t/need-help-with-node-red-for-led-spcv-lv100w-dimmer-control-on-groov-epic-platform/77927 "2023-05-01T09:39:02Z")

</div>

Hello Node-RED Community, I am attempting to use Node-RED on the Groov EPIC platform to control an LED dimmer, specifically the LED-SPCV-LV100W. I have followed the LED dimmer's datasheet and used the modbus-flex-write …

---

## [Reading PLC variables from Siemens ET200S CPU](https://discourse.nodered.org/t/reading-plc-variables-from-siemens-et200s-cpu/77728)

<div class="topic-metadata">

**Author:** [@fox](https://discourse.nodered.org/u/fox)\
**Replies:** 2\
**Last updated:** [20 April 2023 11:31 UTC](https://discourse.nodered.org/t/reading-plc-variables-from-siemens-et200s-cpu/77728 "2023-04-20T11:31:19Z")

</div>

Hi, I want read out tags from a Siemens ET200S CPU, I managed to get the thing working with the Siemens PLCSIM, I can read out data from my program in that case. When I try to connect to the actual PLC I get a timeout …

---

## [Mouse cursor not to change to hand symbol for ng-click operation](https://discourse.nodered.org/t/mouse-cursor-not-to-change-to-hand-symbol-for-ng-click-operation/77422)

<div class="topic-metadata">

**Author:** [@Talkatoo](https://discourse.nodered.org/u/Talkatoo)\
**Replies:** 2\
**Last updated:** [11 April 2023 03:10 UTC](https://discourse.nodered.org/t/mouse-cursor-not-to-change-to-hand-symbol-for-ng-click-operation/77422 "2023-04-11T03:10:05Z")

</div>

Hi All, I am trying to control the valve in my IIoT project. I am working on it to control via by adding ng-class = {"green2\_on":itemState('pb\_green2') == 'ON', "green2\_off":itemState('pb\_green2') =='OFF'} and ng-click …

---

## [Node-red is not letting me work with Simatic Manager online](https://discourse.nodered.org/t/node-red-is-not-letting-me-work-with-simatic-manager-online/76845)

<div class="topic-metadata">

**Author:** [@romenger](https://discourse.nodered.org/u/romenger)\
**Replies:** 3\
**Last updated:** [7 April 2023 13:45 UTC](https://discourse.nodered.org/t/node-red-is-not-letting-me-work-with-simatic-manager-online/76845 "2023-04-07T13:45:20Z")

</div>

While connected with Node-red on my PLC s7-300, I cannot connect with the simatic manager on this plc (192.168.9.30) but I can connect to another plc (192.168.9.12) on the same network and it is using the one flow differ…

---

## [Write values to excel from two real variable, when a boolean is true](https://discourse.nodered.org/t/write-values-to-excel-from-two-real-variable-when-a-boolean-is-true/77332)

<div class="topic-metadata">

**Author:** [@cornelmarius](https://discourse.nodered.org/u/cornelmarius)\
**Replies:** 2\
**Last updated:** [7 April 2023 09:26 UTC](https://discourse.nodered.org/t/write-values-to-excel-from-two-real-variable-when-a-boolean-is-true/77332 "2023-04-07T09:26:10Z")

</div>

Hello, I am trying to write an CSV, with the data from two real variables, but only when a boolean is true or when I change a variable status. It doesn't work. If I put in the flow a boolean, it will write but with the …

---

## [How to get total duration of state?](https://discourse.nodered.org/t/how-to-get-total-duration-of-state/77245)

<div class="topic-metadata">

**Author:** [@ferdoo](https://discourse.nodered.org/u/ferdoo)\
**Replies:** 3\
**Last updated:** [5 April 2023 08:53 UTC](https://discourse.nodered.org/t/how-to-get-total-duration-of-state/77245 "2023-04-05T08:53:32Z")

</div>

Hi, I want to calculate machine running hours based on his state stored in influx DB. Question is how to retrive total duration of a value from influxDB with flux query? The grafana can nice show the state timeline \> g…

---

## [Quantity Level Indication in Silo](https://discourse.nodered.org/t/quantity-level-indication-in-silo/76899)

<div class="topic-metadata">

**Author:** [@Talkatoo](https://discourse.nodered.org/u/Talkatoo)\
**Replies:** 28\
**Last updated:** [3 April 2023 11:35 UTC](https://discourse.nodered.org/t/quantity-level-indication-in-silo/76899 "2023-04-03T11:35:47Z")

</div>

As I am working on a brewing project. I need to display the current capacity of silo. I am planning to use an SVG image for the silo and I will get values(current length) from the level sensor. Based on the values, I wil…

---

## [Charting real time data from S7 PLC on RPi too slowly](https://discourse.nodered.org/t/charting-real-time-data-from-s7-plc-on-rpi-too-slowly/76864)

<div class="topic-metadata">

**Author:** [@madeline](https://discourse.nodered.org/u/madeline)\
**Replies:** 5\
**Last updated:** [23 March 2023 12:17 UTC](https://discourse.nodered.org/t/charting-real-time-data-from-s7-plc-on-rpi-too-slowly/76864 "2023-03-23T12:17:52Z")

</div>

Hi everyone, I am trying to create a dashboard that has two charts on it, both graphing real time data coming in from an S7 PLC. I want the data capture to be as fast as possible (50ms) since I need the chart to display…

---

## [Communication Problem with Universal Robot](https://discourse.nodered.org/t/communication-problem-with-universal-robot/76582)

<div class="topic-metadata">

**Author:** [@colin0031](https://discourse.nodered.org/u/colin0031)\
**Replies:** 0\
**Last updated:** [15 March 2023 09:06 UTC](https://discourse.nodered.org/t/communication-problem-with-universal-robot/76582 "2023-03-15T09:06:44Z")

</div>

Hello, I am trying to extract some data from UR robot. And I have installed node-red-contrib-ur-robot but the rtde node doesnt seems to as shown in picture attached. My usecase is to extract some data from robot and…

[Previous page](https://discourse.nodered.org/c/industrial/18.md?page=4)

[Next page](https://discourse.nodered.org/c/industrial/18.md?page=6)
