opcda_server_integration_guide
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| opcda_server_integration_guide [2020/06/09 19:07] – created wikiadmin | opcda_server_integration_guide [2023/03/02 16:20] (current) – wikiadmin | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| === Running the Server on 64-Bit Windows === | === Running the Server on 64-Bit Windows === | ||
| - | To run this OPCDA Server on a 64-bit system you will need to use a 32-bit JRE to run the software. We recommend using an open JRE downloaded | + | To run this OPCDA Server on a 64-bit system you will need to use a 32-bit JRE to run the software. We recommend using [[https:// |
| + | |||
| + | Download the JRE as a zip that you can unzip in the directory containing your OPCDA Server or in a simple directory on drive C:. You will need to reference this JRE by editing the run.bat file and changing the path used for the JRE. For example, the default path in the run.bat may be: | ||
| set path=C: | set path=C: | ||
| Line 34: | Line 36: | ||
| set path=C: | set path=C: | ||
| - | When you start the OPCDA Server on a 64-bit system you will see an error noted about the UnilogServer FAILED. This can be ignored. | + | Amazon Corretto will unzip in a folder jdk1.8.0_{current version} for example, version 302 will be in the folder jdk1.8.0_302 . If you unzipped this in your deployment folder, the folder that has the run.bat file, so that you have one self-contained deployment, you would modify the path line to be: |
| + | |||
| + | set path=.\jdk1.8.0_302\bin; | ||
| + | |||
| + | The java.exe file in that folder must be set to run in compatibility mode. Right-click and select properties and configure compatibility for XP or Win8: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The batch file used to start the server must be run in with admin privileges. Details on how to do this can be found [[https:// | ||
| + | |||
| + | The basic steps are: | ||
| + | |||
| + | > How to run a batch file as Administrator in Windows 10? | ||
| + | > | ||
| + | > | ||
| + | > Click Create Shortcut. | ||
| + | > | ||
| + | > In the Shortcuts tab, click Advanced. | ||
| + | > Check the Run As Administrator box. | ||
| + | > Click Ok to close the dialog box. | ||
| + | > Click on Apply to save the changes. | ||
| + | > | ||
| + | > | ||
| + | > Then you need to use that shortcut to start the software, not the actual batch file. | ||
| + | |||
| + | When the server starts correctly you will see the message " | ||
| + | |||
| + | {{: | ||
| + | |||
| + | If you reach this stage, but your OPC client still reports that the server is not registered copy this text into a file called " | ||
| + | |||
| + | < | ||
| + | REGEDIT4 | ||
| + | |||
| + | [HKEY_CLASSES_ROOT\CLSID\{F2120BB1-5FB8-480D-BAEE-06B9F3650AB0}] | ||
| + | @=" | ||
| + | " | ||
| + | |||
| + | [HKEY_CLASSES_ROOT\CLSID\{F2120BB1-5FB8-480D-BAEE-06B9F3650AB0}\Implemented Categories] | ||
| + | |||
| + | [HKEY_CLASSES_ROOT\CLSID\{F2120BB1-5FB8-480D-BAEE-06B9F3650AB0}\Implemented Categories\{63D5F430-CFE4-11D1-B2C8-0060083BA1FB}] | ||
| + | |||
| + | [HKEY_CLASSES_ROOT\CLSID\{F2120BB1-5FB8-480D-BAEE-06B9F3650AB0}\Implemented Categories\{63D5F432-CFE4-11D1-B2C8-0060083BA1FB}] | ||
| + | |||
| + | [HKEY_CLASSES_ROOT\CLSID\{F2120BB1-5FB8-480D-BAEE-06B9F3650AB0}\LocalServer32] | ||
| + | |||
| + | [HKEY_CLASSES_ROOT\CLSID\{F2120BB1-5FB8-480D-BAEE-06B9F3650AB0}\ProgID] | ||
| + | @=" | ||
| + | </ | ||
| + | |||
| + | Then double click on " | ||
| + | |||
| + | If you want to unregister the OPCDA Server you can copy ithis nto a UnRegisterErgoTechOPCDA.reg and run it: | ||
| + | < | ||
| + | REGEDIT4 | ||
| + | |||
| + | [-HKEY_CLASSES_ROOT\CLSID\{F2120BB1-5FB8-480D-BAEE-06B9F3650AB0}] | ||
| + | </ | ||
| + | |||
| + | If you still cannot connect, set the " | ||
| + | Navigate to "DCOM Config" | ||
| + | {{: | ||
| + | |||
| + | Find the ErgoTech OPCServer. | ||
| + | {{: | ||
| + | |||
| + | When you start the OPCDA Server on a 64-bit | ||
| < | < | ||
| Line 44: | Line 112: | ||
| Creating UnilogServer StartedmanageOPCDAcat | Creating UnilogServer StartedmanageOPCDAcat | ||
| | | ||
| - | | + | |
opcda_server_integration_guide.1591744057.txt.gz · Last modified: by wikiadmin
