Author Topic: OPCDACOM  (Read 4997 times)

mauitrudi

  • Newbie
  • *
  • Posts: 1
    • View Profile
OPCDACOM
« on: February 09, 2015, 05:33:03 AM »
Is available some vb.net or c# example of usage of opcdacom driver ?
In the specific I need to interface a PLC through a Kepware OPC Server and I didn't find any example neither for HMI controls nor for code for direct access to PLC tags

thanks

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OPCDACOM
« Reply #1 on: February 09, 2015, 08:09:31 AM »
After you unzip the project, go to the AdvancedHMI\Documents folder. There are 2 files in there with some imformation on OPC. The most important thing is to find the exact name of your OPC server.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OPCDACOM
« Reply #2 on: February 09, 2015, 08:13:53 AM »
This is from an older version, but may offer some help with the OPC name for Kepware:

http://advancedhmi.com/forum/index.php?topic=208.msg667#msg667

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: OPCDACOM
« Reply #3 on: February 09, 2015, 01:09:38 PM »
MatrikonOPC Simulation Server is free and it includes MatrikonOPC Explorer, which lists proper names of available OPC servers.

Once you connect to any of the servers then you can click on "Add Tags" which should list all available tags and show their proper name usage (in the attached picture you can see an example tag that was selected as "Boolean" from "Random" folder but has name Random.Boolean which you would use in one of the PLCAddress properties).