Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gengfei1983

Pages: [1]
1
Support Questions / Re: Additional Pages fail to communicate with the PLC
« 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.

2
Support Questions / Re: Additional Pages fail to communicate with the PLC
« 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.

3
Support Questions / Re: Additional Pages fail to communicate with the PLC
« 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.







4
Support Questions / Re: Additional Pages fail to communicate with the PLC
« 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.

5
Support Questions / Re: Additional Pages fail to communicate with the PLC
« 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.



6
Support Questions / Re: Additional Pages fail to communicate with the PLC
« 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.

7
Support Questions / Re: Unload projects. Now AdvancedHMI is not working.
« on: December 04, 2016, 04:48:24 PM »
Hi, Archie, please refer to the attached image for the "unloading" I was talking about. I unloaded the projects and then reloaded them. After that, the project will not work anymore. Below is the link for what I was trying to do.

https://blogs.msdn.microsoft.com/visualstudioalm/2015/04/07/reference-could-not-be-resolved-error-when-validating-your-architecture-using-visual-studio-architecture-modeling-tools/

I have tried another way to fix the different .NET framework problem. I changed Target framework from .NET Framework 4.0 to .NET Framework 4.6.1 (Project/AdvancedHMI Properties/Application/Target framework), so far everything is still OK, the ABB Robot communication reference doesn't generate any errors. I hope this will not create other problem in AdvancedHMI.

I haven't tried the connection with Robot yet since I have to wait for spare time in the lab. I will update my progress later.

8
Support Questions / Re: Unload projects. Now AdvancedHMI is not working.
« on: December 03, 2016, 11:29:49 PM »
The first thing to try is this:

http://advancedhmi.com/forum/index.php?topic=1062.msg5555#msg5555

Hi, Archie, thank you for the quick reply. I have tried the complete cleaning methods.
But still have the same problem. I have attached the screenshot.

I didn't write too much in this project. So it is OK if it doesn't work in the end. The reason
I unloaded the projects is I was trying to build a system that can talk to both PLC and ABB robot.
I added ABB.Robotics.Controllers.PC.dll from ABB Robot Communication SDK  as reference in project AdvacnedHMI.
After build, the system will give warnings. See attachment2. I have googled this problem and one of the solution requires
unloading the projects.

Any suggestions about how to resolve this references in different .NET Framework issue?






9
Support Questions / Unload projects. Now AdvancedHMI is not working.
« on: December 02, 2016, 11:41:19 PM »
Hi, I am very new to Visual Basic. I have downloaded AdvancedHMI and everything is working. But after I unloaded and reloaded the projects, all three of them (AdvancedHMI, AdvancedHMIControls, AdvancedHMIDrivers), I got the following errors
"BC30451   'AdvancedHMIControls' is not declared. It may be inaccessible due to its protection level." and
"BC30451   'AdvancedHMIDrivers' is not declared. It may be inaccessible due to its protection level."

I noticed the program doesn't recognize these references anymore even though they are still there. Could anyone show me how to fix it? I have attached the error messages.

Pages: [1]