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.
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.
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.
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, that allow us to communicate through DCOM in any system that supports NodeJS.
OPC-DA is no longer a "Windows Only" thing now
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.
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.
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.
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.
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.
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.