Category:OpcCmd Utility: Difference between revisions
(Created page with "Category:OPC UA Category:OPC UA PubSub Category:Tools") |
|||
| (17 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Category:OPC UA]] [[Category:OPC UA PubSub]] [[Category:Tools]] | [[Category:OPC UA]] [[Category:OPC UA PubSub]] [[Category:Tools and Online Services]] | ||
= Introduction = | |||
The OpcCmd utility is a program that allows performing various OPC operations from the command line. Among other uses, it can act as | |||
* an OPC DA and OPC XML-DA client, | |||
* an OPC A&E client, | |||
* a generic OPC UA client, | |||
* a specialized OPC UA client for: | |||
** file transfer, | |||
** PubSub configuration, | |||
** security key service (SKS), | |||
* a generic OPC UA PubSub subscriber, | |||
* [[Using OpcCmd Utility as OPC UA PubSub Sniffer|an OPC UA PubSub Sniffer]], | |||
* a tool for OPC UA application management (including GDS registration and certificate manager operations). | |||
OpcCmd can be used for evaluation, experiments, and testing. | |||
OpcCmd is a console application, running on .NET. It is available for .NET Framework (Windows only), or .NET (Windows, Linux or macOS). The OpcCmd utility is provided free of charge. | |||
== Installation == | |||
If you have installed any OPC product from the Connectivity Software suite using its Setup program, and have not excluded the Tools setup component, the OpcCmd utility is already installed on your computer, under the Bin subfolder of the Connectivity Software installation folder. There are also shortcuts to it from the Start menu and the Launcher program. In other cases, for stand-alone installation, and for the latest version of the tool, see '''[[Tool Downloads#OpcCmd Utility|Tool Downloads]]'''. | |||
On Linux, the TGZ file can be extracted using <code>tar -xvzf <filename></code>. | |||
If you want to use OPC UA PubSub Ethernet transport protocol mapping, you will also need | |||
* on Linux: [http://www.tcpdump.org/manpages/pcap.3pcap.html libpcap] (also see https://www.tcpdump.org/) | |||
* on Windows: [https://nmap.org/npcap/ Npcap] (formerly [https://www.winpcap.org/ WinPcap]) | |||
See also: [[OPC UA PubSub Common Traps And Pitfalls]] | |||
== Technical Support == | |||
For technical support, use the corresponding category on our [http://www.opclabs.com/forum/opccmd-utility Online Forums]. | |||
= Concepts = | |||
For concepts common to command-line utilities, see [[Command-Line Utilities Concepts]]. | |||
== Usage == | |||
In order to run the OpcCmd utility, open a command prompt, and switch to the directory that contains the program. You start the program and give it a command and additional parameters (options). | |||
* If you are using the .NET Framework version, or .NET version on Windows, type {{Style=keyboard|OpcCmd}}, followed by the commands and options, and press {{Style=shortcut|Enter}}. | |||
* If you are not on Windows, or are using the .NET version, type {{Style=keyboard|dotnet OpcCmd.dll}}, followed by the commands and options, and press {{Style=shortcut|Enter}}. | |||
In the text that follows, when discussing the command line options, we will be listing the commands simply with the '''OpcCmd''' at the beginning; remember to use '''dotnet OpcCmd.dll''' in .NET instead. | |||
Latest revision as of 14:19, 22 August 2025
Introduction
The OpcCmd utility is a program that allows performing various OPC operations from the command line. Among other uses, it can act as
- an OPC DA and OPC XML-DA client,
- an OPC A&E client,
- a generic OPC UA client,
- a specialized OPC UA client for:
- file transfer,
- PubSub configuration,
- security key service (SKS),
- a generic OPC UA PubSub subscriber,
- an OPC UA PubSub Sniffer,
- a tool for OPC UA application management (including GDS registration and certificate manager operations).
OpcCmd can be used for evaluation, experiments, and testing.
OpcCmd is a console application, running on .NET. It is available for .NET Framework (Windows only), or .NET (Windows, Linux or macOS). The OpcCmd utility is provided free of charge.
Installation
If you have installed any OPC product from the Connectivity Software suite using its Setup program, and have not excluded the Tools setup component, the OpcCmd utility is already installed on your computer, under the Bin subfolder of the Connectivity Software installation folder. There are also shortcuts to it from the Start menu and the Launcher program. In other cases, for stand-alone installation, and for the latest version of the tool, see Tool Downloads.
On Linux, the TGZ file can be extracted using tar -xvzf <filename>.
If you want to use OPC UA PubSub Ethernet transport protocol mapping, you will also need
- on Linux: libpcap (also see https://www.tcpdump.org/)
- on Windows: Npcap (formerly WinPcap)
See also: OPC UA PubSub Common Traps And Pitfalls
Technical Support
For technical support, use the corresponding category on our Online Forums.
Concepts
For concepts common to command-line utilities, see Command-Line Utilities Concepts.
Usage
In order to run the OpcCmd utility, open a command prompt, and switch to the directory that contains the program. You start the program and give it a command and additional parameters (options).
- If you are using the .NET Framework version, or .NET version on Windows, type OpcCmd, followed by the commands and options, and press Enter.
- If you are not on Windows, or are using the .NET version, type dotnet OpcCmd.dll, followed by the commands and options, and press Enter.
In the text that follows, when discussing the command line options, we will be listing the commands simply with the OpcCmd at the beginning; remember to use dotnet OpcCmd.dll in .NET instead.
Pages in category "OpcCmd Utility"
The following 23 pages are in this category, out of 23 total.
O
U
- Using OpcCmd Utility as OPC A&E Client
- Using OpcCmd Utility as OPC DA Client
- Using OpcCmd Utility as OPC UA Client
- Using OpcCmd Utility as OPC UA PubSub Sniffer
- Using OpcCmd Utility as OPC UA PubSub Subscriber
- Using OpcCmd Utility as OPC UA Server
- Using OpcCmd Utility for OPC UA Administration
- Using OpcCmd Utility for OPC UA File Transfer
- Using OpcCmd Utility for Static OPC UA Operations
- Using OpcCmd Utility to work with OPC UA Security Key Service (SKS)