mikakaraila / node-red-contrib-opcua

A Node-RED node to communicate OPC UA. Uses node-opcua library.
Other
211 stars 196 forks source link

Client Writing Multiple Tags. #221

Closed GlobalAutomation closed 3 years ago

GlobalAutomation commented 3 years ago

Hello, I have around 40 tags I need to read from PLC and have them WRITE MULTIPLE to Server via client. If I have multiple OPCUA items I hit a limit at 10 Items. If I use a function, same thing, only 10.

eg in function if I have more I get invalid endpoint error. Maybe I'm going about it wrong to write multiple Tags to server.

Simple test flow works up until msg[10] then fails. image brokenflow.txt workingflow.txt

mikakaraila commented 3 years ago

Hmm not limited in the client code. Did you check server operation limits?

GlobalAutomation commented 3 years ago

The OPCUA Server is created on another flow in Node Red. Its running OK but I'm not sure about limits. I create the folder and variable on the server in the flow as below.

image

mikakaraila commented 3 years ago

Yes, it limits:

image

GlobalAutomation commented 3 years ago

Thank you. Where is this file can I just change it?

Update Sorted - sudo nano 104-opcuaserver.js

Thank you.