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 - JohnnyTronic

Pages: 1 [2]
16
good news, this time it worked. Thanks.

17
 
Quote
Download the control again since I just updated it
- Open a fresh solution of AHMI, open the MainForm, build the solution (Ctrl+Shift+B), add a ModbusTCP driver and set it up, close the form
- Follow the steps to replace the MessageListByBit control with the one you downloaded
- Rebuild the solution
- Add the MessageListByBit control to the form and test it

Thanks, I will follow above. The only step I have not been following is closing the form before rebuilding. Thanks for updating the control and the steps. will update you when I finish.

I started learning advancedhmi about 3 weeks ago and have made a huge amount of progress. Its just a sparetime project.

18
My troubleshooting:

-opened a new copy of Advancedhmi.
- set up with modbusTCP communications and opened the orginal version of messgaelistbybit. I did this to see if I was following the right procedure. I set the PLC address to 40003 and the word length to 16 bit interger. It worked as before when I hit start. I could toogle the messages with the PLC.

I built a new copy of advancedhmi added the new, your latest messagelistbybit control. I made the same mods as above. I did a rebuild and had errors as per the attached print screen.

This a different screen then the one in the post above, I dont know visual basic nor visual studio so i can use this information. 

19
The problem was I used bit 2 twice in the messages. I ran out of time tonight. I will open up a new version of the program and reload the control tomorrow. thanks.

20
Ok, hopefully tonight I can give details. thanks.




21
Followed your updated procedures in the three posts above. See the attached picture of the error generated. Any suggestions. I tried twice and had the same results.

Thanks, you are putting good effort into helping me.

22
I did the following to add the new file.

- Started new copy of advancedHMI, no modifications from original.
- Opened Solution explorer.
- Opened Advancedhmi controls
- Opened Controls folder.
- Deleted original Messagelistbybit.VB file.
- Pasted in your newer file.
- Tried to build the solution but had three errors.
- The toolbox did not include the Advanvedhmi controls.

Errors
Severity   Code   Description   Project   File   Line   Suppression State
Error   BC30456   'GetComComponent' is not a member of 'Utilities'.   AdvancedHMIControls   C:\Users\jhonf\Documents\2019\Laptop 2019 10-29\advancedhmi\Feb 17\AdvancedHMIv399xR1 (1,30)\AdvancedHMIControls\Controls\MessageListByBit.vb   1   Active
Error   BC2017   could not find library 'C:\Users\jhonf\Documents\2019\Laptop 2019 10-29\advancedhmi\Feb 17\AdvancedHMIv399xR1 (1)\AdvancedHMIControls\bin\Debug\AdvancedHMIControls.dll'   AdvancedHMI   C:\Users\jhonf\Documents\2019\Laptop 2019 10-29\advancedhmi\Feb 17\AdvancedHMIv399xR1 (1)\AdvancedHMI\vbc   1   Active
Error   CS0006   Metadata file 'C:\Users\jhonf\Documents\2019\Laptop 2019 10-29\advancedhmi\Feb 17\AdvancedHMIv399xR1 (1)\AdvancedHMIControls\bin\Debug\AdvancedHMIControls.dll' could not be found   AdvancedHMIcs   C:\Users\jhonf\Documents\2019\Laptop 2019 10-29\advancedhmi\Feb 17\AdvancedHMIv399xR1 (1)\AdvancedHMICS\CSC   1   Active


Maybe I dont know the right procedure for adding a new control?



23
thanks, I will try soon.

24
Support Questions / Using the control messagelistbybit as an alarm display.
« on: February 16, 2020, 07:18:32 PM »

I tried to make an alarm display using the messagelistbybit control. Had a few problems:

The message list does not reset when a 0 is sent to the bit. I had 2 messages, bits 2 and 3. When I toggle between the two, they are on the same PLC rung but inverted, they changed position at the top of the list but did not clear. Is there a way to clear or erase messages? I was sending either 4 or 8, both alarms would have been 12, so both bits saw a 0 and did not clear.

Can I have more than 16 messages?  I am using modbus which has a 16 bit word. I suppose I could use two controls if needed.

Thanks in advanced.

25
Additional Components / Re: Charting App for BasicDataLogger
« on: February 08, 2020, 03:32:19 PM »
coool.this is what I wanted. Now I have to figure out how to customize.

26
Open Discussion / Re: Where to begin?
« on: February 02, 2020, 03:18:58 PM »
Archie,

yes I did, but in a very monkey see monkey do fashion. I made a button to open another page too. I dont know what most the settings are about.

I think I need a little deeper knowledge of the plumbing of advancedhmi to be able to work with it and make better applications.

27
Open Discussion / Where to begin?
« on: February 02, 2020, 02:04:09 PM »
I am new to Advancedhmi. I have worked with controls, PLC's and hmi's for years but dont have a programming background. I try to follow examples on youtube of advancedhmi  but when something goes wrong I dont have the background to troubleshoot. 

What youtube tutorials should I try:
Visual studio windows forms?
Visual studio C#?
Visual studio VB?

thanks for the advice.

28
Support Questions / Re: Newbie Questions
« on: May 02, 2016, 11:56:22 AM »
Great guys, thanks for the support.

29
Support Questions / Re: Newbie Questions
« on: April 30, 2016, 11:31:05 PM »
hi, I put this in the wrong section, can you move to another section? This is not a feature request.

30
Support Questions / Newbie Questions
« on: April 30, 2016, 09:16:06 PM »
couple of starter questions:

1. How is trending in Advancedhmi. Is it like, let's say wonderware, where i can view multiple points on the same trend and go back in time? Trending is the most important part of an HMI when it is time to troubleshoot.

2. Where is a good tutorial on visual studio 2015? I see a million tutorials for multiple kinds of visual basic or studio, has someone already waded through this and found a tutorial that gives me start with visual studio 2015?

thanks

Pages: 1 [2]