GithubHelp home page GithubHelp logo

node-red-contrib-opc-da's People

Contributors

steuck13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-red-contrib-opc-da's Issues

I can't connect node-red with Matrikon OPC DA

I am trying to connect Matrikon OPC DA (Matrikon.Simulator) with Node-Red through node node-red-contrib-opc-da, I have everything local, I have the firewall disabled and the authentication level is "Connect", but I the error continues to appear. I am using windows 7. Please your help.
Sin título
image

Bug: "Test and get items" fails with "Error: Algorithm sha1 not supported"

Hi,

I was just giving your package a test run on an old Raspberry PI running nodejs v8.10.0 and node-red v0.19.1.

After hitting "Test and get items", I received the following error:

Okt 24 11:49:07 xxx nodered[645]: 24 Oct 11:49:07 - [error] Error: Algorithm "sha1" not supported. supported values: passthrough - undefined

Is there a dependency missing?

How to use code?

HI. I did'nt find examples how to use you code

I execute npm install node-red-contrib-opc-da

But, what to do next?

OPC-DA ddos attack

Well, I tried this node for a little while now.
Setup 1: A raspberry pi 4 with node-red + a Siemens Sinumerik 840d (old one).
Setup 2: A linux server with node-red + same Siemens Sinumerik 840d, but this time through a
firewall (mGuard).
When its connected it works fine in both cases, but the problem comes when an opc-da server in node-red is deleted, or the flow is deactivated. The connection is still active, and it continues to try to connect, and it will escalate connecting faster and faster. Tried the behaviour lots of times now, and same happens every time. This ddos-ing crashed the firewall, since I had at least three deleted connections going crazy.
If for example I deactivate the flow, then go to console stopping node-red, start node-red again, the deactivated flow (with opc-da node inside) still tries to connect, and if the Sinumerik cant be reached at that time, then ddos attack is a fact.
Latest version of everything is used.

Please Add ABB OPC DA & GrayBox Automation OPC Server

Hi details are as follows, would be great if they could be included in the drop down list AND work!
--------------------------ABB------------------------------------------
"ABB.AC800MC_OpcDaServer.3" is ProgID

"68AEC2CA-93CD-11D1-94E1-0020AFC84400" is CLSID

"68AEC2C4-93CD-11D1-94E1-0020AFC84400" is AppID

--------------------GrayBox Automation ------------------------------
"Graybox.Simulator" is ProgID Item "numeric.square.bool"

"2C2E36B7-FE45-4A29-BF89-9BFBA6A40857" is CLSID and also APPID

Versioned ProgID: Graybox.Simulator.1.0

Hope this helps...

Thanks in advance!

Error 1

Hello,

We are having the next error sometimes when we are accessing to honeywell opc-da

Error: 1
at OPCSyncIO.read (C:\xxxx\node-new\node_modules\node-opc-da\src\opcSyncIO.js:98:19)
at processTicksAndRejections (node:internal/process/task_queues:94:5)
at async Timeout.doCycle [as onTimeout] (C:\xxxx\node-new\node_modules\node-red-contrib-opc-da\red\opc-da.js:442:17)

I have read that this error is related to the amount of data and the update rate. Is this correct?
We are getting less than 100 variables and the update-rate of 60 seconds.
How can we solve this error?

Thanks a lot!

Selecting "Custom" ProgId, Edit CLSID goes back to default

When selecting "Custom" ProgId, as you go back to edit the configuration, the CLSID reverts back to the default example. If you then save for any reason without updating the custom value, the node has a blank, "" in the CLSID field.

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

Also, Please add OPC WRITE Node! Reading data is only half what you need an OPC server for...

Error when trying to connect Local OPC DA Server(Matrikon.Simulator)

Hello,

I have been trying to connect to the Matrikon server simulator and I am getting the following error message in my console
image
I am not sure if I setup the Matrikon server simulator correctly or what exactly is the correct configuration for it, I left everything as default and installed it using the express settings.
For the node itself I configured it as follows:
image
image
image

If anyone has worked previously with this specific simulator or has any helpful links as to what is the correct configuration for both the node and the Matrikon Server Simulator to have a successful connection it would be highly appreciated.
Also as a note, I found a similar issue raised regarding this and I have tried disabling my firewall but am still getting the same error.

As an update I have tried setting the DCOM to be accessible to the group everyone and now I have the following error in the console:
image

Thank you very much.

Integration of a new CLS-ID

Hallo support, I have a request if is possible to integrate also Schneider OPC (OFS) into CLS-ID.
The number is , or if is it not so hard to edit the file where is written into.
Thanks

project opc-contrib not starting

please help i am new to opc da. I don't know how to start the project. I installed node red. And also npm install node-red-contrib-opc-da. But how now to launch the application to open the connection settings. node-red opc-da.js didn't work. please help me to get started.

OPC Timestamp Format

When reading data from an OPC server I am getting the timestamp formatted as such:

timestamp: "Sun, 31 Dec 1600 23:57:55 GMT

On Matrikon Explorer the date is ok.

I can't install on Siemens IOT2040 ([email protected])

When I tried to install via Pallete Manager got this error:


2020-04-07T14:22:37.004Z Install : node-red-contrib-opc-da 1.0.3

2020-04-07T14:22:38.103Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production [email protected]
2020-04-07T14:26:32.116Z [err] npm
2020-04-07T14:26:32.134Z [err] ERR! code ETARGET
2020-04-07T14:26:32.204Z [err] npm
2020-04-07T14:26:32.209Z [err]
2020-04-07T14:26:32.219Z [err] ERR! notarget No matching version found for [email protected]
2020-04-07T14:26:32.219Z [err] npm ERR!
2020-04-07T14:26:32.223Z [err]
2020-04-07T14:26:32.226Z [err] notarget
2020-04-07T14:26:32.239Z [err] In most cases you or one of your dependencies are requesting
2020-04-07T14:26:32.239Z [err] npm ERR! notarget a package version that doesn't exist.
2020-04-07T14:26:32.428Z [err]
2020-04-07T14:26:32.439Z [err] npm ERR! A complete log of this run can be found in:
2020-04-07T14:26:32.439Z [err] npm
2020-04-07T14:26:32.442Z [err] ERR!
2020-04-07T14:26:32.445Z [err] /home/root/.npm/_logs/2020-04-07T14_26_32_321Z-debug.log
2020-04-07T14:26:32.576Z rc=1

System:
Node-red Version: @1.0.4
Device: Simatic IOT2040
SO Image: 2.6.0

There's any way to install/run this package on my device?

Error while trying to load the node

I was trying to load the opc-da node in a flow and it can't even be loaded as shown in picture attached:

image

Am I missing something? Thanks in advance.

Write OPC variables

Hello

i saw in the code, there is a write node but in the libary isnt a write node. How can i write opc variables?

Error: 2147549457

I've tested your node on W10 with success, now trying to run on another PC. After finish dcom setup i got this error when tried to test connection:

erroropc

First error (2147746132) appear when OPC server is off (to check if OpcEnum is working), after start OPC server I got error 2147549457. Any ideas?

I'm trying to connect with Raytek dtdp software.

"Error: Exception occured while forming Session Security Type3Response - Unknown error!"

Hello,

I get this Error when trying to connect to the Matrikon OPC Server:
"Error: Exception occured while forming Session Security Type3Response - Unknown error!"
Im running both node red and the OPC server on Win 10.
I can connect with the Matrikon Client so DCOM is in Order.
I use node-red 2.2.2 and npm 8.12.2 and node 18.4.0

Did anyone encounter this error?

5- Error Username/Password access denied

Hallo,
I have set a custom CLS-ID and I have try with several mode to set Domain, username and password, but in my PC it seems impossible to get ready the connection.
I Have a W10 pc where I have administrator rights (not fully); I have also try to create a new user, but the error is the same.
A little particular is that OPC server run on same PC as nodered works; so I don't think it will use DCOM but just COM and I think there's the issue....
Thanks for help
Paolo

Unable to recover from lost connection

Hi,

I have been running my OPC-Da connecter successfully for a few months, but everytime a connection is lost we need to restart the server.

At first we get the following message:

"Disconnected from the server - Unknown error!"

Followed by:

Error: Received unexpected PDU from server.
    at ConnectionOrientedEndpoint.call ((...)\.node-red\node_modules\node-dcom\dcom\rpc\connectionorientedendpoint.js:108:13)
    at async ComServer.call ((...)\.node-red\node_modules\node-dcom\dcom\rpc\stub.js:98:12)
    at async ComServer.call ((...)\.node-red\node_modules\node-dcom\dcom\core\comserver.js:510:5)
    at async ComObjectImpl.call ((...)\.node-red\node_modules\node-dcom\dcom\core\comobjcimpl.js:202:14)
    at async OPCSyncIO.read ((...)\.node-red\node_modules\node-opc-da\src\opcSyncIO.js:90:21)
    at async Timeout.doCycle [as _onTimeout] ((...)\.node-red\node_modules\node-red-contrib-opc-da\red\opc-da.js:442:17)

After these errors occur the connector keeps trying to connect and all we see is:

Error: connection timeout
    at Timeout.<anonymous> (....\.node-red\node_modules\node-dcom\dcom\transport\comtransport.js:171:16)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)

5 - Access denied. Username and/or password might be wrong.

Hi, I was trying to use this node on my Raspberry Pi, but I cannot get it to work.

I've setup and configured a Matrikon OPC Simulation Server on my W10 machine, I've created a user and added all the required permissions, however I always get the access denied error.

I've tried running the server on two different machine (W10), and on two different networks, with firewall off etc... And I always get this error: "5 - Access denied. Username and/or password might be wrong."

Obviously I've doubled checked the IP address, domain, user and password, same for the ProgId and ClsId. (Also tried different users)

Does anybody have any idea about what could cause this issue?

I can't include more than 170 tags

Hello,

I need help, i can't include more than 170 tags and when I separate into two groups the timing between the two groups fails.

Thanks.

What node i need use for reading data from OPCDA-server?

Good time of day! I am beginner. Please help!!!
What is the difference between node-red-contrib-opc-da and node-red-contrib-opcda-client?
In my telemetry project, i use OPCDA-server. What node i need use for reading data from OPCDA-server?


Best regards!!!!

Error: Exception occured while forming Session Security Type3Response

// creates a COM Session from a domain, an username, and a password
let comSession = new Session();
comSession = comSession.createSession(domain, username, password);

// sets a global timeout for connections related to this session
comSession.setGlobalSocketTimeout(timeout); // if i remove this line the error dispear but i get timeout and i can't connect to the server

// create a COM Server from a classid, an IP address and the previously created session
let comServer = new ComServer(clsid, address, comSession);

// star the COM Server
await comServer.init();

/* from the COM Server, we create a instance we'll use to create every other COM related object */
let comObject = await comServer.createInstance();

// with the comObjet created, we create an OPC Server object and call init()
let opcServer = new OPCServer();
await opcServer.init(comObject);

More of a question / Help really

There is a lot I do not understand yet with node-red... so I might be missing something with this node?

I need to be able to setup a flow that pulls the items to get values for from a DB, and also monitor for changes ( additions, remove ) of items... pass the list of items to the [ opc da in ] node... but need to cleanly deactivate when updating the group items...

Is there any way of setting up something like this using the [ opc da in ] node ?

Or is there a different lib I should try for this?

Yours is the only one I can get working with OPC DA for some reason... so.... hope I can figure out my question above with it!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.