Example flow to show how to connect the OPC UA nodes to the Blockbax nodes
-
-
Save Lynckx/b06c2e36350e859e7e7763443a615d46 to your computer and use it in GitHub Desktop.
OPC UA to Blockbax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"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":""}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment