Author Topic: Writing to OPC server  (Read 2945 times)

Rplink3r

  • Newbie
  • *
  • Posts: 5
    • View Profile
Writing to OPC server
« on: July 18, 2013, 06:46:06 AM »
Hello,

I've managed to read the values from the Matrikon OPC simulation, but when it comes to writing them, if I specify the address in a pushbutton's plcAddress, or tag nothing happens.

I have Tags configured in Matrikon Simulator, when I use the tag as input in the PLCAddress field, it works(Tag is "test_bit" as bucket brigade.boolean). But when I do the same with a button, to write a value/toggle/change, nothing happens?

If I do it with Omron CX server OPC, the server reports that it doesn't find the item.

Is there a different way to address when writing a value to a TAG on a OPC server?




Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Writing to OPC server
« Reply #1 on: July 18, 2013, 06:54:17 AM »
This is a known issue that will be fixed in version 3.41. In the meantime, you can try to download the OPCComm driver patch and replace the one in your current project. This will only be able to patch version 3.40

http://www.advancedhmi.com/OPCCommPatch.zip

Rplink3r

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Writing to OPC server
« Reply #2 on: July 18, 2013, 07:19:27 AM »
Thanks for a fast response, it worked like a charm :).