OPC UA to Blockbax

Example flow to show how to connect the OPC UA nodes to the Blockbax nodes

[{"id":"d4b9a328.1d54b","type":"tab","label":"Flow 3","disabled":false,"info":""},{"id":"6bab7cd2.385d84","type":"OpcUa-Item","z":"d4b9a328.1d54b","item":"ns=2;s=AlternatingBoolean","datatype":"Double","value":"","name":"IngestionID1","x":530,"y":240,"wires":[["44ae4015.652e5"]]},{"id":"44ae4015.652e5","type":"OpcUa-Client","z":"d4b9a328.1d54b","endpoint":"1931d4fb.2f5b1b","action":"read","deadbandtype":"a","deadbandvalue":1,"time":10,"timeUnit":"s","certificate":"n","localfile":"","localkeyfile":"","securitymode":"None","securitypolicy":"None","name":"","x":720,"y":240,"wires":[["805ecabe.784328"]]},{"id":"36341c33.2c3aa4","type":"inject","z":"d4b9a328.1d54b","name":"","props":[{"p":"date","v":"","vt":"date"}],"repeat":"10","crontab":"","once":true,"onceDelay":0.1,"topic":"","x":350,"y":240,"wires":[["6bab7cd2.385d84"]]},{"id":"58ffe655.720678","type":"inject","z":"d4b9a328.1d54b","name":"","props":[],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","x":350,"y":340,"wires":[["141bd092.ca94ff"]]},{"id":"141bd092.ca94ff","type":"OpcUa-Item","z":"d4b9a328.1d54b","item":"Your Node ID","datatype":"Int8","value":"","name":"IngestionID2","x":530,"y":340,"wires":[["cab925b5.88c2c8"]]},{"id":"cab925b5.88c2c8","type":"OpcUa-Client","z":"d4b9a328.1d54b","endpoint":"1931d4fb.2f5b1b","action":"subscribe","deadbandtype":"a","deadbandvalue":1,"time":10,"timeUnit":"s","certificate":"n","localfile":"","localkeyfile":"","securitymode":"None","securitypolicy":"None","name":"","x":730,"y":340,"wires":[["24d468dd.427098"]]},{"id":"805ecabe.784328","type":"Parse","z":"d4b9a328.1d54b","name":"","useIngestionId":true,"ingestionIdType":"msg","ingestionId":"browseName","metricExternalIdType":"str","metricExternalId":"metricExternalId","value":"payload","dateType":"msg","date":"date","x":910,"y":240,"wires":[["11508c04.b9adc4"]]},{"id":"24d468dd.427098","type":"Parse","z":"d4b9a328.1d54b","name":"","useIngestionId":true,"ingestionIdType":"msg","ingestionId":"browseName","metricExternalIdType":"str","metricExternalId":"metricExternalId","value":"payload","dateType":"msg","date":"sourceTimestamp","x":920,"y":340,"wires":[["11508c04.b9adc4"]]},{"id":"11508c04.b9adc4","type":"Send","z":"d4b9a328.1d54b","name":"","project":"84381d61.32b9c","senderType":"MQTT","batchPeriod":0,"batchPeriodUnit":"S","x":1070,"y":280,"wires":[]},{"id":"1931d4fb.2f5b1b","type":"OpcUa-Endpoint","z":"","endpoint":"opc.tcp://opcua:50000","secpol":"Basic256Sha256","secmode":"SignAndEncrypt","login":false},{"id":"84381d61.32b9c","type":"Project","z":"","name":"Test Project","useEnvVar":false,"projectId":"","accessTokenPublicId":"","accessTokenSecret":""}]

Flow Info

Created 3 years, 7 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • inject (x2)
Other

Tags

Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option