OPC Troubleshooting
OPC Troubleshooting
● username / password of the user running the framework on the HLC server should exist also
on the OPC host
● for troubleshooting, username / password of the user of the OPC host running the OPC server
can be set up on the HLC server and checked if the OPC communication is working
● network configuration likely to affect communication
○ HLC and OPC machines on the same subnet?
○ firewalls on either machine activated? >> Firewalls need to be deactivated
○ machines in a domain or workgroup configuration?
There are several tutorials on how to use OPC Expert available on youtube. See e.g. here:
○ OPC Expert Getting Started
https://www.youtube.com/watch?v=BCYpMJwmUlI
> General introduction about how to use OPC Expert.
In order to run OPC Expert, Microsoft .Net 3.5 Framework has to be installed on the
respective operating system first (i.e. for the troubleshooting as described in the above link on
both the OPC host and the HLC server
● For remote support, provide access to the OPC server (i.e. possibility to connect via RDC either
directly or from the HLC server), submit the following information to rCIP/cCIP:
○ IP address of the OPC host
○ OPC server name
○ username and the password (of the user running the OPC server)
○ make sure RDC is activated on the OPC server
Alternatives
Additional information
OPC expert (alternative)
"Here is some additional info on their specific installation: OPC over DCOM to the HLC projects
does not seem to work directly. This is due to some sort of special condition that Labview requires
for OPC communication. We could not resolve it, so we purchased OPC Expert ($995), which
makes the remote OPC servers available on the local machine, without using a tunneller. It does
not require any additional software to be installed on the OPC servers, as would have been
required with a Matrikon tunnel.
OPC Expert is installed as a service running under the kmadmin user and licensed for the C drive
of the kilnmaster server.
The dedicated server user has been added to administrators group on the OPC server"
Using regedt32.exe (apparently very important), ensure these keys allow the user Everyone read/write
permissions.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg\
AllowedExactPaths
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg\AllowedPaths
HKEY_LOCAL_MACHINE\SYSTEM\ControlSetXXX\Control\SecurePipeServers
HKEY_LOCAL_MACHINE\SYSTEM\ControlSetXXX\Control\SecurePipeServers\winreg
HKEY_LOCAL_MACHINE\SYSTEM\ControlSetXXX\Control\SecurePipeServers\winreg\AllowedExactPaths
HKEY_LOCAL_MACHINE\SYSTEM\ControlSetXXX\Control\SecurePipeServers\winreg\AllowedPaths