# \[Announce\] node-red-contrib-opc-da

**URL:** <https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648>\
**Category:** Share Your Nodes\
**Created:** [7 November 2019 19:14 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648 "2019-11-07T19:14:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![machadotiago](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/machadotiago/32/23776_2.png) [@machadotiago](https://discourse.nodered.org/u/machadotiago)\
**Post date:** [7 November 2019 19:14 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/1 "2019-11-07T19:14:56Z")

</div>

> **[node-red-contrib-opc-da](https://flows.nodered.org/node/node-red-contrib-opc-da)**
>
> A Node-RED node to talk to automation devices using the OPC-DA protocol

  
After almost 5 months of development we finally released the first version of the OPC-DA Node 🥳🥳.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/17106c72ac5d2ffc1dafb6017b4c621d259cbb23.png)  
This node was created by [Smart-Tech](https://netsmarttech.com/) as part of the [ST-One](https://netsmarttech.com/page/st-one) project.  
At the moment it is only possible to read OPC tags, and it works pretty similar to the other nodes like [Siemens S7](https://flows.nodered.org/node/node-red-contrib-s7), [Allen Bradley/Rockwell Ethernet IP](https://flows.nodered.org/node/node-red-contrib-cip-ethernet-ip) and [Allen Bradley PCCC](https://flows.nodered.org/node/node-red-contrib-pccc)

Feedback and example projects are very welcome.

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [7 November 2019 20:26 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/2 "2019-11-07T20:26:36Z")

</div>

I'm testing it on my Windows 10 system reading tags from a Windows 7 machine with Kepware OPC Server. There are some kinks. The configuration page setting the CLSID and ProgID will accept the manually keyed entries, but when you go back to look at it after you've saved it, they are blank. 😒

---

<div class="post-metadata">

**Author:** ![machadotiago](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/machadotiago/32/23776_2.png) [@machadotiago](https://discourse.nodered.org/u/machadotiago)\
**Post date:** [7 November 2019 20:37 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/3 "2019-11-07T20:37:06Z")

</div>

Thanks, we will have a look on that.  
By the way, can you post here what is the default Kepware OPC Server CLSID, so that we can add this option too.

---

<div class="post-metadata">

**Author:** ![seth350](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/seth350/32/4617_2.png) [@seth350](https://discourse.nodered.org/u/seth350)\
**Post date:** [7 November 2019 23:22 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/4 "2019-11-07T23:22:29Z")

</div>

Well done guys!  
Dare I ask, would this node work for us users running node-red on Raspberry Pis?

I know at one time there were limitations to using OPC-DA on Linux machines.

---

<div class="post-metadata">

**Author:** ![steuck13](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@steuck13](https://discourse.nodered.org/u/steuck13)\
**Post date:** [8 November 2019 12:13 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/5 "2019-11-08T12:13:07Z")

</div>

Greetings, thank your for your report.

Which version of this node are you running? This bug was supposed to be fixed already.

---

<div class="post-metadata">

**Author:** ![steuck13](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@steuck13](https://discourse.nodered.org/u/steuck13)\
**Post date:** [8 November 2019 12:17 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/6 "2019-11-08T12:17:06Z")

</div>

Yes, the idea is to allow the use of OPC-DA on any machine running Node-RED. Please give it a try and feel free to report to us with any bug or suggestions you might have.

---

<div class="post-metadata">

**Author:** ![JayDickson](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jaydickson/32/90592_2.png) [@JayDickson](https://discourse.nodered.org/u/JayDickson)\
**Post date:** [8 November 2019 14:14 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/7 "2019-11-08T14:14:14Z")

</div>

Judging from the port layout on their DIN mounted device, I suspect it just might...

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [8 November 2019 18:23 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/8 "2019-11-08T18:23:43Z")

</div>

Kepware.KEPServerEX.V5  
CLSID=B3AF0BF6-4C0C-4804-A122-6F3B160F4397

This is the older version. There is also V6, But I don't have that yet. I googled V5 to find that string.

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [8 November 2019 18:32 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/9 "2019-11-08T18:32:53Z")

</div>

Yes, by definition OPC-DA is a WINDOWS thing. It's because of DCOM and that is Windows.  
OPC-UA, (Unified Architecture) does not rely on DCOM, it uses Certificates. That's what makes it possible for Linux to use OPC-UA.

---

<div class="post-metadata">

**Author:** ![machadotiago](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/machadotiago/32/23776_2.png) [@machadotiago](https://discourse.nodered.org/u/machadotiago)\
**Post date:** [8 November 2019 18:51 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/10 "2019-11-08T18:51:30Z")

</div>

You are right, but you can now run our OPC-DA node on Linux because, before implementing the node-red-contrib-opc-da, we had to implement the [node-dcom](https://www.npmjs.com/package/node-dcom), that allow us to communicate through DCOM in any system that supports NodeJS.  
OPC-DA is no longer a "Windows Only" thing now 😀

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [8 November 2019 18:58 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/11 "2019-11-08T18:58:53Z")

</div>

OK, Things are getting better at a much faster pace! Kudos to you guys for compatibility for us old tech guys.

you Smart-Tech guys are awesome.😍

When should we expect to see OPC-DA Out?

---

<div class="post-metadata">

**Author:** ![machadotiago](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/machadotiago/32/23776_2.png) [@machadotiago](https://discourse.nodered.org/u/machadotiago)\
**Post date:** [8 November 2019 19:31 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/12 "2019-11-08T19:31:28Z")

</div>

> [@tree-frog](#):
>
> When should we expect to see OPC-DA Out?

This we cannot promise in a short term.  
This protocol development was sponsored by one of our Customers here in Brazil and he is interested in the reading process only.  
The "out" node is not even in the road map at the moment, so the only way is to wait for the community to help us, which is very welcome since it's an open source project.

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [8 November 2019 19:45 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/13 "2019-11-08T19:45:52Z")

</div>

Well OK then. 😭

---

<div class="post-metadata">

**Author:** ![willian.souza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/willian.souza/32/16393_2.png) [@willian.souza](https://discourse.nodered.org/u/willian.souza)\
**Post date:** [20 January 2020 19:48 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/14 "2020-01-20T19:48:26Z")

</div>

Boa tarde, Tiago, teria algum guia de como usar este node? Baixei aqui, porem apenas adicionou um node mesmo do pacote...

---

<div class="post-metadata">

**Author:** ![machadotiago](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/machadotiago/32/23776_2.png) [@machadotiago](https://discourse.nodered.org/u/machadotiago)\
**Post date:** [20 January 2020 20:32 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/15 "2020-01-20T20:32:31Z")

</div>

Português:  
Olá Willian, vou responder em português e em inglês, porém acho melhor mantermos a comunicação em somente em inglês, pois assim mantemos a comunidade integrada, e caso alguém tenha a mesma dúvida no futuro, consiga facilmente encontrar a resposta aqui. O guia de uso do nó está na página que postei no inicio desse tópico: [node-red-contrib-opc-da](https://flows.nodered.org/node/node-red-contrib-opc-da).  
Basciamente o que você precisa fazer é configurar o endereço IP e credenciais da máquina que possui OPC-DA e em seguida clicar em "Test and get Items" para escolher as variáveis a serem coletadas.

Enlgish:  
Hi Willian, I'll answer your question in Portuguese and in English, but I strongly recommend you to use English only in this forum, so that in case someone has the same question in the future, it will be much easier to find the answer here.  
The User guide is posted in the link that I mentioned in the beginning of this topic: [node-red-contrib-opc-da](https://flows.nodered.org/node/node-red-contrib-opc-da).  
Basically you have to configure the IP address and the credentials of the OPC-DA machine and then click on "Test and get Items" to see the variables.

---

<div class="post-metadata">

**Author:** ![willian.souza](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/willian.souza/32/16393_2.png) [@willian.souza](https://discourse.nodered.org/u/willian.souza)\
**Post date:** [22 January 2020 13:29 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/16 "2020-01-22T13:29:00Z")

</div>

Okay, Thankyou, It will help me!! I will put this in english now. Have a good day Tiago 🙂

---

<div class="post-metadata">

**Author:** ![Henjoe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/henjoe/32/52335_2.png) [@Henjoe](https://discourse.nodered.org/u/Henjoe)\
**Post date:** [28 April 2020 11:33 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/17 "2020-04-28T11:33:21Z")

</div>

Hello I am having trouble using it.

> [@Node-red-contrib-opc-da Help](https://discourse.nodered.org/t/node-red-contrib-opc-da-help/25676):
>
> Dear node-red Experts, Does anybody uses this node? I am having trouble using it. It makes my node-red server crash. I have MatrikonOPC Simulation installed on my local computer where node-red also residing on it. So here is my setup, I don't know what to put on the Domain since this is not manage by domain controller. So I just put WORKGROUP, I don't know if this is right. Can somebody tells me, what is wrong with my configurations? and here is the error I get after I deployed:

Can anyone knows what is my issue with my config?  
I am running it on Windows 10 OS, with lates Nodejs version.

---

<div class="post-metadata">

**Author:** ![RLProto](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@RLProto](https://discourse.nodered.org/u/RLProto)\
**Post date:** [14 June 2020 19:36 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/18 "2020-06-14T19:36:22Z")

</div>

Hi guys,

I am facing an issue and I could not solve it.

I am currently using the OPC DA node with RSLInx and it works fine. But after few hours the node status changes from online to unknown and it stops communicating .

If I press "Restart Flows" or "Deploy" it starts to communicate again.

Have you seen that problem?

---

<div class="post-metadata">

**Author:** ![machadotiago](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/machadotiago/32/23776_2.png) [@machadotiago](https://discourse.nodered.org/u/machadotiago)\
**Post date:** [14 June 2020 19:53 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/19 "2020-06-14T19:53:42Z")

</div>

Can you specify what is your environment (windows versions, node-red version, node version...) and also your flow?

---

<div class="post-metadata">

**Author:** ![RLProto](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@RLProto](https://discourse.nodered.org/u/RLProto)\
**Post date:** [14 June 2020 20:07 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648/20 "2020-06-14T20:07:28Z")

</div>

Hi Tiago,

It's a Ubuntu 18.04, Node-red V1.0.4 running under Docker.

OPD DA node version 1.0.3.

My flow is quite simple, it is a OPC DA node which reads from an OPC DA Server and stores its value into a variable. This variable is uploadad to influxDB every 10 seconds.

Do you need the .json?

[Next page](https://discourse.nodered.org/t/announce-node-red-contrib-opc-da/17648.md?page=2)
