Author Topic: Additional Pages fail to communicate with the PLC  (Read 7511 times)

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Additional Pages fail to communicate with the PLC
« Reply #15 on: October 05, 2016, 02:03:37 PM »
Patch 3 for V3.99r has been posted that may fix this issue:

https://sourceforge.net/projects/advancedhmi/files/advancedhmi/3.5/Patches


StevieG

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Additional Pages fail to communicate with the PLC
« Reply #16 on: October 20, 2016, 02:32:45 AM »
Hey Archie thanks very much for the support, the patch you posted worked, no more issues with loading 2nd pages and i have updated to the new version with now issues
Thanks again for an excellent program and for putting out there for free.


gengfei1983

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Additional Pages fail to communicate with the PLC
« Reply #17 on: December 06, 2016, 10:37:46 PM »
Patch 3 for V3.99r has been posted that may fix this issue:

https://sourceforge.net/projects/advancedhmi/files/advancedhmi/3.5/Patches

Hi, Archie, I have the same issue. I have downloaded the patch from your link. Since I am a newbie for VB. Could you show me the steps to add the patch?

I have found four files with the same name as the patch (MfgControl.AdvancedHMI.Drivers.dll) in the AdvancedHMI folder.

One in the Debug bin of AdvancedHMI.
One in the Debug bin of AdvancedHMIControls.
One in the Debug bin of AdvancedHMIDrivers.
One in the Support of AdvancedHMIDrivers.

Should I just replace all of them with the new patch?

Also I haven't expressed my gratitude the other day as you answered my question so quickly and patiently. I really like working with AdvancedHMI, it is such a useful tool and I really appreciate you share it with us.
« Last Edit: December 06, 2016, 10:46:33 PM by gengfei1983 »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Additional Pages fail to communicate with the PLC
« Reply #18 on: December 07, 2016, 05:45:32 AM »
Hi, Archie, I have the same issue. I have downloaded the patch from your link. Since I am a newbie for VB. Could you show me the steps to add the patch?

I have found four files with the same name as the patch (MfgControl.AdvancedHMI.Drivers.dll) in the AdvancedHMI folder.

One in the Debug bin of AdvancedHMI.
One in the Debug bin of AdvancedHMIControls.
One in the Debug bin of AdvancedHMIDrivers.
One in the Support of AdvancedHMIDrivers.

Should I just replace all of them with the new patch?

Also I haven't expressed my gratitude the other day as you answered my question so quickly and patiently. I really like working with AdvancedHMI, it is such a useful tool and I really appreciate you share it with us.
Version 3.99s is now available with all patches rolled into it.

https://sourceforge.net/projects/advancedhmi/

gengfei1983

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Additional Pages fail to communicate with the PLC
« Reply #19 on: December 07, 2016, 08:27:38 PM »
Hi, Archie, I have the same issue. I have downloaded the patch from your link. Since I am a newbie for VB. Could you show me the steps to add the patch?

I have found four files with the same name as the patch (MfgControl.AdvancedHMI.Drivers.dll) in the AdvancedHMI folder.

One in the Debug bin of AdvancedHMI.
One in the Debug bin of AdvancedHMIControls.
One in the Debug bin of AdvancedHMIDrivers.
One in the Support of AdvancedHMIDrivers.

Should I just replace all of them with the new patch?

Also I haven't expressed my gratitude the other day as you answered my question so quickly and patiently. I really like working with AdvancedHMI, it is such a useful tool and I really appreciate you share it with us.
Version 3.99s is now available with all patches rolled into it.

https://sourceforge.net/projects/advancedhmi/

Thank you, Archie. I have downloaded it and will try tomorrow.



gengfei1983

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Additional Pages fail to communicate with the PLC
« Reply #20 on: January 06, 2017, 01:22:13 PM »
Hi, Archie, I have downloaded Version 3.99s and working with it. But I still can not get the second page to work well. I am using EthernetIPforSLCMicroCom1. Everything is working well in the MainForm. I have put the same EthernetIPforSLCMicroCom1 in the second page. On the second page I have also put a illuminate button. But I cannot read from PLC. Is there any other Code set up I should do? I really appreciate your help on this.

bachphi

  • Hero Member
  • *****
  • Posts: 671
    • View Profile
Re: Additional Pages fail to communicate with the PLC
« Reply #21 on: January 06, 2017, 03:10:56 PM »
Here are the steps that I did , worked for me.

1. Open solution & MainForm.
2. Build the project.
3. Drag & Drop EthernetIPforSLCMicroCom1 driver onto the form change ip address
4. Drag & Drop a basic label, scroll down to PLCAddressvalue and put something like N7:0
5. Drag & Drop  FormChangebutton and select FormToOpen to page2
6. Open Page 2.
7.  Drag & Drop EthernetIPforSLCMicroCom1 driver onto the form change ip address
8.  Drag & Drop a basic label, scroll down to PLCAddressvalue and put something like N7:1
9. Run your project
« Last Edit: January 06, 2017, 03:28:31 PM by bachphi »
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================

gengfei1983

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Additional Pages fail to communicate with the PLC
« Reply #22 on: January 09, 2017, 10:26:10 AM »
Hi, bachphi,

Thank you for the reply. I have done the exact same thing you described and the basic label on second page is still not working properly.
The main form works well.

I have

5. Drag & Drop  FormChangebutton and select FormToOpen to page2
6. Open Page 2.
7.  Drag & Drop EthernetIPforSLCMicroCom1 driver onto the form change ip address
8.  Drag & Drop a basic label, select the ComComponent to EthernetIPforSLCMicroCom1,
scroll down to PLCAddressvalue and put something like N7:1.







gengfei1983

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Additional Pages fail to communicate with the PLC
« Reply #23 on: January 09, 2017, 01:40:41 PM »
Here are the steps that I did , worked for me.

1. Open solution & MainForm.
2. Build the project.
3. Drag & Drop EthernetIPforSLCMicroCom1 driver onto the form change ip address
4. Drag & Drop a basic label, scroll down to PLCAddressvalue and put something like N7:0
5. Drag & Drop  FormChangebutton and select FormToOpen to page2
6. Open Page 2.
7.  Drag & Drop EthernetIPforSLCMicroCom1 driver onto the form change ip address
8.  Drag & Drop a basic label, scroll down to PLCAddressvalue and put something like N7:1
9. Run your project

Hi, bachphi,

I have restarted a clean program just to make sure I have done anything wrong. I did the same as you did but still
can not get value on the second page. The first page (main form) works well. I really don't know what I have done wrong.

bachphi

  • Hero Member
  • *****
  • Posts: 671
    • View Profile
Re: Additional Pages fail to communicate with the PLC
« Reply #24 on: January 09, 2017, 02:47:38 PM »
lol, why dont you d/l the "t" version and try it again.
I will be d/l it soon.
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Additional Pages fail to communicate with the PLC
« Reply #25 on: January 09, 2017, 08:32:29 PM »
I created a sample project with two pages communicating with a MicroLogix. You can download it from here:

https://sourceforge.net/projects/advancedhmi/files/advancedhmi/3.5/SampleProjects/

It is the project named EthernetSLCMainMenuStyle

You should be able to just edit the PLC.ini file to set the IP address of your PLC and run the program.
« Last Edit: January 09, 2017, 09:12:04 PM by Archie »

bachphi

  • Hero Member
  • *****
  • Posts: 671
    • View Profile
Re: Additional Pages fail to communicate with the PLC
« Reply #26 on: January 09, 2017, 08:46:28 PM »
lol, poor guy. I guess he will come back with something like "I cant d/l because I dont have a sourceforge account"
===================================================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
===================================================

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Additional Pages fail to communicate with the PLC
« Reply #27 on: January 09, 2017, 09:12:36 PM »
lol, poor guy. I guess he will come back with something like "I cant d/l because I dont have a sourceforge account"
I posted the wrong link... this is the corrected one without the need for an account:

https://sourceforge.net/projects/advancedhmi/files/advancedhmi/3.5/SampleProjects/

gengfei1983

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Additional Pages fail to communicate with the PLC
« Reply #28 on: January 10, 2017, 08:26:47 AM »
lol, poor guy. I guess he will come back with something like "I cant d/l because I dont have a sourceforge account"
I posted the wrong link... this is the corrected one without the need for an account:

https://sourceforge.net/projects/advancedhmi/files/advancedhmi/3.5/SampleProjects/

Hi, Archie,

Thank you for the sample program. It works well on the second page.

One thing is that I have also downloaded the 3.99s and it also worked well.

Yesterday I did the very same thing with 3.99t, but it didn't work.

Anyway I am so happy that the program worked and I really appreciate your time and help.