UNPKG

node-red-contrib-opcua

Version:

A Node-RED node to communicate via OPC UA based on node-opcua library.

51 lines (43 loc) 1.82 kB
<!-- Copyright 2023 Valmet Automation Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <script type="text/javascript"> RED.nodes.registerType('OpcUa-Discovery',{ category: 'opcua', color:"#3FADB5", defaults: { name: {value:""} }, inputs:1, outputs:1, align: "right", icon: "opcuanodeLogo.png", label: function() { return this.name || "OPC UA Discovery"; }, labelStyle: function() { return this.name?"node_label_italic":""; } }); </script> <script type="text/x-red" data-template-name="OpcUa-Discovery"> <div class="form-row"> <label for="node-input-name"><i class="icon-tag"></i> Name</label> <input type="text" id="node-input-name" placeholder=""> </div> </script> <script type="text/x-red" data-help-name="OpcUa-Discovery"> <p>OPC UA Discovery server for the OPC UA Servers to register themselves.</p> <p>UAExpert and other OPC UA Clients can look available servers from the discovery server.</p> <p>NOTE: You can check port status on Windows with command: netstat -ano | findstr :4840</p> <p> UaExpert can be listening port and then you will get error message: 'port is in use'</p> </script>