Questions tagged [node-opcua]

Node OPC/UA is an implementation of an OPC UA stack fully written in JavaScript and Node.js

Node-OPCUA, is an implementation of an stack fully written in and

High Quality

According to their website, has been developed using TDD and benefits from more than 2500 unit tests and 90% code coverage. uses Travis as a continuous integration service.

Link to continuous integration (CI) page here.

Also available on TypeScript

can be use in as well as in .

Platforms

runs on all the platforms that supports (ie: , and ). It also supports resource constrained, low cost, low power single-board computers such as .

Documentation

will benefit from a comprehensive SDK API documentation, numerous end-to-end functional tests, and a set of practical examples to help you learn how to use it.

The documentation directory can be viewed here, or you can view the documentation for version 2.0.0.

Useful Links

121 questions
0
votes
1 answer

write data from database to node opcua-server

I have a node opcua server installed on my laptop. I want to write some data like x, y coordinates and time from a file or a device driver to the variables in my opcua server. I am new to javascript. Any help regarding this topic would be really…
Shruti
  • 1
  • 1
0
votes
0 answers

Node Opcua / QtOpcUa - Method Calls

I have a Node OPC Server which I connect to with a Qt application using the QtOpcUa client library. On my server I define a method that's basically a crude historic access request as HDA support is not yet available, it takes in a start_date and…
user6635665
  • 337
  • 3
  • 15
0
votes
3 answers

Unable to write to tag with node-opcua (BadTypeMismatch)

I'm using node-opcua to write a boolean value to set a reset tag. Here's my code: var nodesToWrite = new Array(); nodesToWrite.push({ nodeId: 'ns=2;s=Paint.PLC.Reset_Auto_Blocked_Time', attributeId: opcua.AttributeIds.Value, …
Chris
  • 105
  • 8
0
votes
2 answers

Mandatory OPC-UA services

Can anyone tell me the OPC-UA document in which I could find all the mandatory services provided by OPC-UA? Thank You in Advance! With Regards, Avdoot Chalke
user3412246
0
votes
0 answers

BadSessionNotActivated,0x80270000,The session cannot be used because ActivateSession has not been called

Whenever I try to send an ActivateSessionRequest to the opcua server, it throws an error stating "BadSessionNotActivated". Below is the message format of ActivateSessionRequest: var ActivateSessionRequest v_activateSessionReq := { requestHeader…
user3412246
0
votes
3 answers

How to read signals from PLC using opc ua?

I have a node-opcua server running on my machine. I want to read data from PLC. From my understanding, OPC Server is used to read/write on PLC. I have followed the instruction to create server and client from http://node-opcua.github.io/ So, my…
0
votes
1 answer

What is the AttributeContext in Milo OpcUA?

I would like to update the data in server, I could not find a way to update my current Variable Nodes.. I can see in the write/read example that there is an AttributeContext passed into the function.. 1. Do I need that to update my Variable…
0
votes
1 answer

Read function are not called in the ExampleNamespace code

I ran the ExampleNamespace sample. I can browse the node and return all the nodes correctly. I can run the client read example okay. But when I run the client to read value of HelloWorld.Dynamic.Double, it timeout, and the override read function in…
0
votes
0 answers

How to import nodeset xml file to opc ua server?

I'm trying to develop opc ua client. I have node set files (euromap 77 standards) and i want to have test opc server in my computer so i can develop and test my client application. I have found many opc server demo application but they all simulated…
Cozdemir
  • 177
  • 2
  • 19
0
votes
1 answer

In nodejs using opcua.OPCUAClient how to connect to a Matrikon OPC Simulation server

I have used the code in https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client.md to create a opcclient to read from the sample_server. That worked OK. Now I want to connect to a Matrikon OPC simulation server. So in…
Aparna
  • 835
  • 2
  • 23
  • 47
0
votes
1 answer

V8_Fatal error - unreachable code 0x891e307

I am running node-red on a Yocto Linux System (Processor: Intel Quark® x1020 400 MHz). My application includes a S7-Node (node-red-contrib-s7) to read out values of a PLC (this is currently a test value which changes every 15sec from true to false…
scsi1042
  • 1
  • 2
0
votes
1 answer

node-opcua "Transaction has timed out"

I have setup monitoring on couple of nodeIds using node-opcua package. It works fine for some time but then started printing some timeout messages. Here's the journalctl output of my service: Apr 07 08:02:02 test-machine myservice[559]: Timeout…
Dushyant Bangal
  • 6,048
  • 8
  • 48
  • 80
0
votes
1 answer

Ubuntu Port wont listen to Client but will to Server

I am currently trying to run the server and the client between 2 different computers. However, the Server is working out fine but not the Client. I have tried to use sudo ufw port 4334 but to no avail. Can someone help me out. /*global…
0
votes
2 answers

How to use node-opcua to read from OPC DA Server?

The repository page for node-opcua says it supports DataAccess. But I was not able to find any example in which it connects to an OPC DA server and reads data. So far I've tried the server_with_da_variables example. I have been able to read its data…
Dushyant Bangal
  • 6,048
  • 8
  • 48
  • 80
-1
votes
1 answer

Write Array in nodeOpcua

Hiii, some body know how i can write Uint16Array in kepserver i got some error: ConstantStatusCode { _value: 2147483648, _description: 'The value is bad but no specific reason is known.', _name: 'Bad' } ] i'm try this: var valor = new…
1 2 3 4 5 6 7
8