Using OpcCmd Utility as OPC UA Server: Difference between revisions
From OPC Labs Knowledge Base
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
== Command: uaServer start == | == Command: uaServer start == | ||
This command starts an OPC UA server with pre-defined content (data variables | This command starts an OPC UA server with pre-defined content (data variables with various behavior and data types under the standard '''Objects''' folder). By default, it opens its endpoint on "opc.tcp://localhost:48040/". | ||
== Command: uaServer addMesh == | == Command: uaServer addMesh == | ||
This command adds nodes to the OPC UA server address space mesh. You need to specify the mesh name, and optionally a mesh-specific parameter. Currently, only one mesh is available, named ''' | This command adds nodes to the OPC UA server address space mesh. You need to specify the mesh name, and optionally a mesh-specific parameter. Currently, only one mesh is available, named '''PerformanceNodes'''. The optional parameter is an integer specifying the count of shared counter nodes (defaults to 10000). | ||
The mesh(es) need to be added before you start the server. | The mesh(es) need to be added before you start the server. | ||
Line 16: | Line 16: | ||
Example: | Example: | ||
<code>uaServer addMesh | <code>uaServer<br> | ||
addMesh PerformanceNodes 20000<br> | |||
start</code> |
Latest revision as of 21:48, 6 March 2025
For general information about the OpcCmd tool, see Category:OpcCmd Utility.
Commands, Arguments and Options
Command: uaServer start
This command starts an OPC UA server with pre-defined content (data variables with various behavior and data types under the standard Objects folder). By default, it opens its endpoint on "opc.tcp://localhost:48040/".
Command: uaServer addMesh
This command adds nodes to the OPC UA server address space mesh. You need to specify the mesh name, and optionally a mesh-specific parameter. Currently, only one mesh is available, named PerformanceNodes. The optional parameter is an integer specifying the count of shared counter nodes (defaults to 10000).
The mesh(es) need to be added before you start the server.
Example:
uaServer
addMesh PerformanceNodes 20000
start