st-one-io / node-red-contrib-opc-da Goto Github PK
View Code? Open in Web Editor NEWA Node-RED node to interact with OPC-DA servers.
License: Apache License 2.0
A Node-RED node to interact with OPC-DA servers.
License: Apache License 2.0
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?
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?
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.
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!
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!
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...
Hello,
I have been trying to connect to the Matrikon server simulator and I am getting the following error message in my console
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:
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:
Thank you very much.
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
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.
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.
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?
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?
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:
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.
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?
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
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)
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?
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.
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!!!!
// 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);
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.