Author Topic: Modbus Ethernet OPC Server  (Read 1929 times)

andrew_pj

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Modbus Ethernet OPC Server
« on: February 11, 2015, 10:02:01 PM »
Dear all,

Have anyone ever used AdvancedHMI with ICONICS Modbus Ethernet OPC Server 3.53?
I am using WAGO PLC and trying to use OpcDaCom in AHMI.

Basically, with ICONICS Graphics software, this is already working properly.
However, I want to try using AHMI, but not familiar on how to implement with OpcDaCom.
Please refer to attachment for details.
Thank you.


Best regards,
Andrew

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5266
    • View Profile
    • AdvancedHMI
Re: Modbus Ethernet OPC Server
« Reply #1 on: February 11, 2015, 10:11:20 PM »
Is the OPC Server on the same PC or is it a remote OPC server? Any reason you are using OPC instead of the native ModbusTCP driver?

andrew_pj

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Re: Modbus Ethernet OPC Server
« Reply #2 on: February 11, 2015, 10:20:00 PM »
Is the OPC Server on the same PC or is it a remote OPC server? Any reason you are using OPC instead of the native ModbusTCP driver?

It is on the same PC.

In my previous projects, I have been using this Modbus Ethernet OPC Server.
So, just wondering if it is possible to integrate AHMI with Modbus Ethernet OPC Server.

FYI, using ModbusTCP everything is working properly.
However, the drawback is on %MD, as I mentioned in my previous thread.
There should be extra conversion to %MW in my PLC.

How does the naming work for OCPComDA?


Best regards,
Andrew

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5266
    • View Profile
    • AdvancedHMI
Re: Modbus Ethernet OPC Server
« Reply #3 on: February 11, 2015, 10:25:45 PM »
I don't know exact details on the Iconics OPC server and all OPC servers seem to be different in one way or another. But just a couple guesses, it my be getting confused with the Topic and group being the same name. Also I would expect the PLCAddressValue to be a Modbus address such as 40001

andrew_pj

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Re: Modbus Ethernet OPC Server
« Reply #4 on: February 11, 2015, 10:46:01 PM »
I don't know exact details on the Iconics OPC server and all OPC servers seem to be different in one way or another. But just a couple guesses, it my be getting confused with the Topic and group being the same name. Also I would expect the PLCAddressValue to be a Modbus address such as 40001

Dear Archie,

As you suggested, I tried to declare only in Group section.
Then try adding prefix "BF2" (which is my group name) before the tag name.
And out of the blue, it works!

For PLCAddressValue, it isn't Modbus Address because address has been declared in OPC Server.
Please refer to attachment for details.

Thanks for helping.


Best regards,
Andrew