emrebekar / node-red-contrib-opcda-client

Node-RED Opc DA reading and writing node
Apache License 2.0
21 stars 11 forks source link

Matrikon OPC for Simulation error connection #2

Open henjoe opened 3 years ago

henjoe commented 3 years ago

Hi,

I installed the matrikon OPC server for simulation locally on my computer, I also installed nodered at the same computer. Using the Matrikon OPC explorer (running locally), I can successfully read data from the OPC server, however I am having error when using the node-red-contrib-opcda-client.

This is my configuration so far:

image

But as you can see on the debug messages, I only get "nothing": For your reference:

  1. CLSID is correct
  2. Domain is correct (WORKGROUP)
  3. I am running as an Administrator with password.
  4. Running the OPC server locally.

I don't know what configuration I did wrong here. Hoping for your kind help. For testing, I want to read only 1 value "Random.Int1". image

Thank you very much!

With kind regards, Henjoe

emrebekar commented 3 years ago

Did you try to connect with Matrikon OPC Explorer or any another way to connect Matrikon Simulator? Sometimes Matrikon simulator is not working properly.

And second thing is, can you browse items with brows button which is on the server configuration page?

henjoe commented 3 years ago

Hi To answer the question:

Did you try to connect with Matrikon OPC Explorer or any another way to connect Matrikon Simulator?

And second thing is, can you browse items with browse button which is on the server configuration page?

Fyr. I am using Windows Server 2016 OS for my testing.

Hoping for your kind help.

With kind regards, Henjoe

emrebekar commented 3 years ago

This kind of messages which is always taken by opc node because of the connection issue. Can you test telnet connection to "localhost 135" from nodered with exec node or anything else?

And second question if you are using docker or any kind of things like that (e.g: VM Ware), network settings have to be done.

You can share results with me like priors.

emrebekar commented 3 years ago

In addition, you have to take care about DCOM configuration if you are using this node. Further information;

https://www.matrikonopc.com/support/docs/MatrikonOPC-Windows-XP-DCOM-Configuration.pdf

NeethuES-intel commented 2 years ago

@henjoe Were you able to solve this issue ? I am getting the same error, please help

henjoe commented 2 years ago

Hi @NeethuES-intel ,

Unfortunately, I did not solve this. You better use the nodered-opcua, much better and much maintained.

NeethuES-intel commented 2 years ago

@henjoe i am getting same error with nodered-opcda :-(

henjoe commented 2 years ago

What is your tool checking the opcua server? You should check the opcua server is running.

NeethuES-intel commented 2 years ago

@henjoe i am using matrikon explorer as client & matrikon test server. Able to communicate between these two

NeethuES-intel commented 2 years ago

@henjoe i misread your answer before, i used the other opc da nodered pkg, getting same error. Will now have to move over to opc ua. Thanks for your inputs.