dOPC Client Toolkit
Close
dOPC FAQ's
How can I debug into the dOPC source code?
To debug into the dOPC source you have to set the path to the dOPC source code in the Delphi/C++ IDE. To set the path you have to do following steps:
  1. Start Delphi/RAD Studio IDE
  2. Open menu "Tools/Options/Environment Options/Delphi options/Library"
  3. Now add following dOPC folders under section "Library Path":
$(dOPC)\core;$(dOPC)\ua;$(dOPC)\xml
$(dOPC)\com;$(dOPC)\dialogs; (only Win32, Win64)
4. You have to do step 3 for every platform you want to debug.

Another possibility is to run the dOPCDebugOn.cms script with the dCompile program. You will find the script, the program as well as a readme file in the ../tools/dcompile folder.

Please note:
Debugging will only work if you have installed the dOPC Client Toolkit in a writeable folder. If not please uninstall the toolkit from the Windows control panel and install it again to a writeable folder.
How do I create 64 bit OPC client applications
Very important: To run OPC COM 64-bit client programs you have first to download and install the 64-bit OPC Core Components 3.00 Redistributable (x64) from the OPC Foundation. (a free registration is required) https://www.opcfoundation.org

Also you have to recompile the dOPC Client Tookit. Please look to section below: "How can I create a dOPC applications for other platforms"
That's normally all you have to do. Now you can create a 64 bit dOPC application. For further information about 64 bit application development look at your Delphi help file.
Please note: Currently it is not possible to create 64 bit application for C++ Builder .
Is it possible to connect to remote OPC COM servers with dOPC?

dOPC supports connections to remote OPC servers, but you need to configure DCOM on both client and server beforehand. For further information please look at section: dOPC and DCOM
Which OPC components do I have to distribute with my client program developed with dOPC?
OPC XML DA clients:

If you use OPC XML DA as communication layer you only need to distribute your EXE file.

OPC UA clients:
If you use OPC UA as communication layer and you don't use security you only need to distribute your EXE file. If you use security or authentication you have additionally to distribute following DLL's from the OpenSSL Library:
<!! ssleay32.dll and libeay32.dll !!>
You will find the versions we used in the dOPC installation folder under the path "tools".

OPC Classic COM based clients:
If you run the program you developed on the same PC the OPC server is running on (local access), you also only need to distribute your EXE file, because usually all required OPC components have been installed by the OPC server.

If your client program does not run on the same PC the OPC COM server is running on (remote access), you have to configure DCOM and you need to install the OPC Core Components. You can download the "OPC Core Components" installation program at the OPC Foundation (Resources/Sample and Tools/Classic). The direct link is https://opcfoundation.org/developer-tools/samples-and-tools-classic.
Is it possible to call OPC UA services with the TdOPCDAClient component?
Yes, the TdOPCDAClient component uses internally the TdOPCUAClient component. How to do it please: click here
How can I add a OPC UA NodeId to a dOPC group.
How to do it please: click here
How can I create a dOPC application for other platforms (e.g. Android and iOS)
Attention:
Following description will only work if you have installed the dOPC Client Toolkit in a writeable folder. If not please uninstall the toolkit from the Windows control panel and install it again to a writeable folder.

If you want to create dOPC applications for other platforms than Windows you have first to recompile the dOPC Client Toolkit. In order to do this please carry out the following steps:

1. Close your Delphi or C++ IDE and start program dCompile.exe
You will find this program by default in the dOPC installation folder under: "..\tools\dcompile".

2. Open script file "dOPCCompileAll.cms"
With the help of this script the dOPC Client Toolkit will be complied for following platforms:
Windows 32 bit, Windows 64 Bit, Android, Mac OS and iOS
In program "dcompile" click in main menu: "File->Load" to open the script file.
You will find the script file in the dOPC installation folder under: "..\tools\dcompile".
Press button "Run Script"
The program should return with "building succesfully :-)"

Now you can open the Delphi or C++ Builder IDE. For further information about multi platform developing please look to the Delphi or C++ Builder documentations.

You will find multi platform OPC client programs (e.g. the dOPC Mobile Explorer) at:
http://www.kassl.de/opc/download.shtml

For Android, iOS and MAC OS it is only possible to create OPC UA and XML DA client programs.

If you want to use OPC XML DA and your OPC server does not support OPC XML DA you can use our dOPC XGate to enlarge any classic OPC server with an OPC XML-DA interface. You will find dOPC XGate as trial version under the "tools" folder, or you can download the newest version at: http://www.kassl.de/opc/opc-server-gateway.shtml
Kassl GmbH Copyright © 2019. All rights reserved.