UNPKG

node-red-contrib-iiot-opcua

Version:

An Industrial IoT OPC UA toolbox contribution package for Node-RED based on node-opcua.

34 lines (33 loc) 1.65 kB
<!-- The BSD 3-Clause License Copyright 2022 - DATATRONiQ GmbH (https://datatroniq.com) Copyright (c) 2018-2022 Klaus Landsdorf (http://node-red.plus/) Copyright 2015,2016 - Mika Karaila, Valmet Automation Inc. (node-red-contrib-opcua) All rights reserved. node-red-contrib-iiot-opcua --> <script type='text/javascript'> RED.nodes.registerType('OPCUA-IIoT-Discovery', { category: 'IIoT', color: '#ABCDEF', defaults: { name: {value: ""}, discoveryPort: {value: 4840} }, inputs: 1, outputs: 1, align: "left", icon: "icon.png", label: function () { return this.name || "Discovery"; }, labelStyle: function () { return this.name ? "node_label_italic" : ""; } }); </script> <script type='text/x-red' data-template-name='OPCUA-IIoT-Discovery'> <div class='form-row'> <label for='node-input-name'><i class='fa fa-tag'></i> <span data-i18n='node-red:common.label.name'></span></label> <input type='text' id='node-input-name' placeholder=''> </div> <div class='form-row'> <label for='node-input-discoveryPort'><i class='icon-tag'></i> <span data-i18n='node-red:common.label.discoveryPort'></span></label> <input type='text' id='node-input-discoveryPort' placeholder='4840'> </div> </script> <script type='text/x-red' data-help-name='OPCUA-IIoT-Discovery'> <h2>OPC UA IIoT Discovery</h2> <p>The OPC UA Discovery server provides the endpoints of all Node-RED OPC UA servers. </p> <p>Try to access for example via UAExpert:</p> <p>opc.tcp://localhost:4840/</p> <p>opc.tcp://pcname.local:4840/</p> <p>Set showErrors to get errors from node-opcua on browse.</p> </script>