How do I register a MatrikonOPC Server to run as a service or an application?

How do I register a MatrikonOPC Server to run as a service or an application?

 

  1. Ensure the server is closed as an application, and verify by checking in the task manager.
  2. Ensure the server is closed as a service by stopping and disabling it in the services panel (Start -> Run -> services.msc), and verify by checking in the task manager.
  3. Ensure the services panel is closed.
  4. Open a command prompt  (Start -> Run -> "cmd")
  5. Navigate to the Installation folder
    • cd C:\Program Files (x86)\Matrikon\OPC\[ServerName]
  6. Use the dir command to find the name of the executable file
    • for example: OPCSim.exe, OPCModbus.exe, OPCDataManager.exe
  7. Type in [filename.exe] -unregserver .  This will unregister the server. 
  8. Type in [filename.exe] -regserver  Stop here if you wish to run the OPC Server as an application, rather than a service.
  9. To register the server as an Service:
  10. Type in [filename.exe] -service      
  11. Open the Services Panel (Start -> Run -> services.msc) or refresh the Services Panel if it was already open
  12. Ensure the service is set to 'Automatic' start type and that it is started.
  13. After performing these steps, if you find that the OPC Server fails to supply a browse list in OPC Explorer, please follow these steps to regenerate the OPC Security permissions file:
  •  
  • In the command prompt above and still in the installation directory, type in "ACLsecure.exe -d MatrikonOPC" (without the quotes; replace MatrikonOPC with your OPC Security password if you chose different to the default at installation time)
  • Then type in "ACLsecure.exe -e MatrikonOPC" (without the quotes; If you wish to use a custom password, change MatrikonOPC to the password of choice.  We recommend you leave this as the default.)
  • Restart the OPC Server service or application instance to effect the changes.  Your browse list should now be available.

MatrikonOPC

Topic Information
  • Topic #: 4164-200
  • Date Created: 09/24/2008
  • Last Modified Since: 02/05/2017
  • Viewed: 1258