Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

CoDesys <-> OPC <-> VB6

2005-06-04
2005-06-07
  • Marcus Hartmann - 2005-06-04

    Hallo!

    Hat jemand in diesem Forum Erfahrungen mit OPC-Servern und deren Anbindung an VB6?

    Ich möchte variablen mit einem OPC-Server synchronisieren.

    Die Clientseite will ich mit VisualBasic6 realisieren.

    Die DDE Anbindung war kein Problem aber OPC ist für mich Neuland.

    Vielen Dank!

     
  • Udo Sykora - 2005-06-07

    Hallo,

    ich habe eine Anbindung mit VB6 an den Codesys Opc-Server realisiert.

    Folgende Schritte müssen zuerst gemacht werden:

    1. Die OPC Automation Wrapper DLL auf dem PC installieren.

    2. Ein neues VB-Projekt anlegen

    3. Die OPC Automation 2.0 DLL ins Projekt einbinden

    Tipp: auf http://softwaretoolbox.com gibt es eine Dokumentation mit VB Beispielen

    Gruss Udo Sykora

     

Log in to post a comment.