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

Pages: 1 [2] 3 4 ... 14
16
Support Questions / Re: Basic help with Allen Bradley UDT
« on: September 01, 2023, 01:22:12 PM »
Any reason for not using the latest version which supports the ReadUDT?

LOL, sometimes I overlook the simple solutions :)  But it was fun to think about.

17
Support Questions / Re: Basic help with Allen Bradley UDT
« on: September 01, 2023, 10:29:45 AM »
Minimum size of a UDT is 4 bytes.  A single bool is 4 bytes  UDT's are packed in 4 byte chunks.  A simple 2 INT UDT will be 4 bytes.  A simple UDT with a INT and BOOL will be 4 bytes.

A string takes 88 bytes of memory.  82 for the characters, 4 for the length and 2 pad bytes.

That INT will be in its own 4 byte chunk.  Take the example STRING/INT/STRING.

STRING = bytes [0-87]
INT = bytes [88-91] (2 pad bytes because next STRING won't fit in the 2 available bytes)
STRING = bytes [92-179]

Similarly, that BOOL Quarantine will occupy its own 4 byte chunk.

I bet if you reorganized your UDT to be strings first, then INTs then BOOLs, you'll see a size change.

18
Application Showcase / Re: Data Tracking
« on: August 24, 2023, 01:01:21 PM »
Nice job. I think the key here is the visualization helps the situation.
The question here is why 5 minutes? I could have done it within 3 minutes. ;D

It probably took me 10 minutes in reality :) 

19
Support Questions / Re: Connect a compactlogix
« on: August 10, 2023, 11:28:23 PM »
Both are wrong.you need to use EthernetIpForCLX driver

20
Support Questions / Re: Print Current Screen/Form
« on: August 03, 2023, 09:46:57 AM »
Nice.  I don't do a lot of VB.NET these days so I have to google most things :)

21
Support Questions / Re: Print Current Screen/Form
« on: August 02, 2023, 11:20:40 AM »
Is there anyway to print current form of AdvancedHMI I am on? One of my forms has a bunch of production data on it. I would like to add a print button beside it. I see a few options under

One method that comes to mind is to screenshot the form and save an image.  Haven't tried this myself:
https://stackoverflow.com/questions/37825662/how-to-save-the-whole-windows-form-as-image-vb-net

Another method might be to take all of the values from the objects on your form and save them to a CSV file:
https://stackoverflow.com/questions/32985154/creating-excel-and-csv-files-in-vb-net

22
Support Questions / Re: TrendChart PLC Selection Resetting/Not Saving
« on: July 28, 2023, 06:49:36 PM »
Just curious, maybe I'll try myself, but if you start a brand new simple application with one BasicTrendChart and 2 drivers, does it reproduce the same result?

23
Application Showcase / Data Tracking
« on: July 28, 2023, 06:39:36 PM »
I had a customer with some pallet data tracking issues that I was debugging remotely.  I added a rung that put the key data in one place to make it easier to watch.  Though, it was still difficult to monitor.  Then I thought, wait a minute, why not use AdvancedHMI to visualize this, so I took 5 minutes to plunk some 7 segment displays on a form, saw the issue within the first couple of minutes of watching the screen.

It was a conveyor trunk line from left to right, which product enters from left and from the bottom on those 7segs that have 1,2 and 3.  They are unloaded on the right.  It wasn't meant to be pretty.  It saved me quite a bit of time, I figured out where it was going wrong when the first pallet went through the system.

24
Support Questions / Re: "The path is not of a legal form" error
« on: July 21, 2023, 12:32:03 PM »
That error sounds more like a visual studio thing rather than something coming from the driver.

sramirez, if you change it to read a simple DINT, does it produce the same error?

25
Open Discussion / Re: Zombie posts
« on: June 30, 2023, 10:14:04 AM »
All quiet on the western front!

Looked like they did not want to mess with the EnforClerks Jay & Silent Bob.
Oh Wait, new avatar change to Olaf Metal guy.

^ this guy gets it!

Berserker!

I originally removed 7 or 8 posts, then a couple here and there.  There haven't been any the in a week, though there are still new spam accounts created here and there.

26
Support Questions / Re: Monitor change in Rockwell PLC
« on: June 20, 2023, 02:39:22 PM »
Welcome to the forum!

This is pretty far off topic for the forum, there isn't anything AdvancedHMI can do.  About the only thing you can do is put the key/toggle switch in RUN position, this will prevent downloads.  If they can get physical access, they could just put it back in REM position to get around it.

Check out the controller properties security tab, you might be able to restrict changes.  We don't use this feature, so I don't have experience with it.

I've also never experimented with the change detection, there might be something to look at there.  Though knowing there are changes doesn't really help you, your changes would already be gone.  You really should focus on the person/people who are downloading old copies of the program to the controller.  If people can't get on board, find a way to take access away.

27
Open Discussion / Re: Zombie posts
« on: June 20, 2023, 09:03:56 AM »
I think you are right, use AI to try to generate a post that matches the context.

That post got me thinking, maybe I should save a copy of the original somewhere, in case I was wrong.  I have removed a few posts, I left the one you linked but removed the hyperlink from it.  I think it was some sort of course, something like that. I didn't visit it, it didn't seem relevant to the post.

28
Open Discussion / Re: Zombie posts
« on: June 15, 2023, 12:58:24 PM »
One thing I'd like to do is is go through the recent members and delete the signatures of the obvious nonsense ones. Mods can't do that though.  You can look at the member list, if they haver zero posts and the website icon, they have a garbage link in their signature.  I think those will just exist forever, with no posts, simply to game search results.

I went through a portion of the member list the other night, check anyone who only had 1 or 2 posts.  There were some borderline posts that I left alone.  I deleted several posts.

29
Open Discussion / Re: Zombie posts
« on: June 13, 2023, 02:22:52 PM »
I went to the member list, sorted by join date, most of them have zero posts and an obvious spam signature.

I think the angle here, even for the ones that never post is pagerank gaming.  They join a bunch of forums (probably a bot), add a signature with a hyperlink they are trying to boost in search, the more times the signature appears, the better the search results are.

If you want a moderator, I'd help clean these up.

30
Open Discussion / Re: Zombie posts
« on: June 12, 2023, 06:55:12 PM »
I submitted 6 or 7 spam posts.

How often are new users registering?

Edit: I guess I can just look at the member list to get an idea.

Pages: 1 [2] 3 4 ... 14