Author Topic: Issue when Subscribing to multiple micrologix 1100 PLCs  (Read 2239 times)

Hason

  • Newbie
  • *
  • Posts: 1
    • View Profile
Issue when Subscribing to multiple micrologix 1100 PLCs
« on: May 14, 2014, 01:05:12 PM »
I have a setup that uses two micrologix 1100 PLCs here and I am having an issue with manual data subscription when using two ethernetIPforPLCSLCMicroCom driver components for them on v3.61. The first driver component always throws a PLCDriverException. I have attached images of the stack trace and exception message that it gives. I have found that adding a driver component that has a null IP (EDIT: null works sometimes, 000.000.00.0 seems to always work...) address first (that I don't use) fixes the issue and allows me to correctly subscribe to my data. I have tested this with success on a brand new c# windows forms solution with just the form and AdvancedHMIDrivers.vb project with a subscription to a single bit on each driver/PLC. I do not have this issue on older versions (I believe I was using v3.59 previously, it had different method names for synchronous Reads and Writes than the current version) This will work as a temporary solution for my application but also seems to be slow for some reason. Hopefully this can get fixed easily.

Thanks,
Jason
« Last Edit: May 14, 2014, 01:10:24 PM by Hason »

singh_schneider

  • Newbie
  • *
  • Posts: 10
  • Schneider Electric Automation
    • View Profile
Re: Issue when Subscribing to multiple micrologix 1100 PLCs
« Reply #1 on: October 14, 2014, 02:27:26 AM »
I am trying to use AdvancedHMI in C# 2012 express.can anyone suggest me how to use this VB solution in an C# project?
As my 1st attempt i tried to convert the graphic controls (tank , pipe etc) into dll by making a class library project and building it , but it gave me too many errors , i did referenced all the dlls available inside the project
My 2nd attempt was to add a C# project inside AdvancedHMI VB solution. I added reference to the two projects and  referenced both dlls kept in support folders. I brought me communication controls but graphics controls are missing.
Pls take a look at the attached snap.
I am also wondering how this guy has done it with C# 2010 Express ??
http://www.youtube.com/watch?v=V-9Uxth3Xqo
Sachin Singh

fohdeesha

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: Issue when Subscribing to multiple micrologix 1100 PLCs
« Reply #2 on: October 14, 2014, 03:28:22 AM »
I am trying to use AdvancedHMI in C# 2012 express.can anyone suggest me how to use this VB solution in an C# project?

Did you seriously feel the need to spam the forum by pasting this post in 7 other totally unrelated threads? That's about the quickest way to ensure your question never gets answered