Closed vdwpsmt closed 6 years ago
Hi Pascal,
I mean you need a subscription per timing - see node-opcua docu
You can test with node-opcua very fast and simple and if you got a solution send it to me, please. Reopen if you got a working solution with node-opcua.
Happy wiring! Klaus
Suppose I have a project-dependent (json) config file consisting of lots (500+) of OPC UA items, with variations in interval (Monitor rate), variable type, etc... Something like this:
[ {"name": "Var1", "dataType": "number", "nodeId": "ns=2;s=Var1", "collectionType": "Monitored", "MonitorRate": 1000, "deadbandAbsolute": 0, }, {"name": "Var2", "dataType": "float", "nodeId": "ns=2;s=Var2", "collectionType": "Monitored", "MonitorRate": 3000, "deadbandAbsolute": 0, }, {"name": "Var3", "dataType": "bool", "nodeId": "ns=2;s=Var3", "collectionType": "Monitored", "MonitorRate": 10000, "deadbandAbsolute": 0, }, . . . {"name": "Var999", "dataType": "number", "nodeId": "ns=2;s=Var999", "collectionType": "Monitored", "MonitorRate": 2000, "deadbandAbsolute": 0, } ]
I want to avoid having to individually insert every OPC UA item, and instead inject only 1 json string with the configuration for a specific project.
Is it possible to realise this with the current IIot OPC nodes? Are there any exemples that do similar things?
kind regards Pascal