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

Pages: [1]
1
Support Questions / Re: RSLinx running changes update rate?
« on: April 23, 2015, 05:37:16 PM »
The patch had no noticeable effect on refresh rate. CPU usage went from 3% to 26%.


I could consolidate REALs and DINTs and cut about 20 reads. I know there are a couple other things I could do to group the data for fewer reads. At this point the fast/slow refresh isn't a showstopper for this project. I am interested in solving it though, since it would affect how I approach future jobs needing faster scan times or more tags.

2
Support Questions / Re: RSLinx running changes update rate?
« on: April 23, 2015, 11:24:38 AM »
That dropped the slow refresh rate from 1800ms down to 920ms.

3
Support Questions / Re: RSLinx running changes update rate?
« on: April 23, 2015, 10:07:43 AM »
Just saw something strange. I'm running my project with RSLinx off (slow refresh) while looking at some code, web browsing. I check back to my project and it's running with the fast, 365ms refresh rate. I looked around and I can't see anything that may have triggered it. Then, without doing anything except watching my application, it goes back to 1800ms. I have a graph running so I can see the fast scan rate lasted 70-80 seconds. I've watched it closely now for the last ten minutes and it hasn't done it again.

4
Support Questions / Re: RSLinx running changes update rate?
« on: April 23, 2015, 09:37:51 AM »
Looks really fast with only 2 tags.

5
Support Questions / Re: RSLinx running changes update rate?
« on: April 23, 2015, 09:04:08 AM »
Looks like it did drop around 30ms from my faster scan time.

The fact that you don't see a difference on your laptop is good. Makes me wonder if I could have done something wrong integrating AdvancedHMI into my project that could cause this?

6
Support Questions / Re: RSLinx running changes update rate?
« on: April 23, 2015, 07:57:29 AM »
Sorry, no change with the patched dll.

I also updated to 3.98f. No difference.

7
Support Questions / Re: RSLinx running changes update rate?
« on: April 22, 2015, 04:33:58 PM »
I am handling the data returned from the subscription. Most tags are one element and I simply assign the value returned to a string. I have a couple 4-5 element REAL and DINT arrays. Some DINTs get broken up into their bits. I couldn't get BOOL arrays to work so they're all handled individually. Last count, 77 subscriptions.



T1 is almost always 0 whether RSLinx is running or not. I think I saw it as 1 once out of 60 tests.
T2 and T3 are almost always equal. I'd say less than 5% of the time T3 was 1 more than T2.

With RSLinx running, T2 and T3 ranged from 3 to 17 most of the time. Occasionally in the 20's and rarely in the 30's.

Without RSLinx running, T2 and T3 ranged from 20 to 38 most of the time. Occasionally in the 8 to 11 range and occasionally in the 40's.

8
Support Questions / Re: RSLinx running changes update rate?
« on: April 22, 2015, 03:48:51 PM »
Currently PollRateOverride is 250 but I've experimented with higher values. 300 and up make my refresh rate go up when RSLinx is running. Without RSLinx running I don't start to see an effect until I set it higher than 1600.


I made the change you suggested. It doesn't appear to make much difference.

9
Support Questions / Re: RSLinx running changes update rate?
« on: April 22, 2015, 02:33:39 PM »
Not much experience with Wireshark, hopefully this is what you wanted.

I was shutting down Rockwell services and I had most of them stopped and it wasn't until I turned off "RSLinx Enterprise" that the scan rate jumped. I see the same effect with "RSLinx Classic" service.

v3.98d of AdvancedHMI, btw.

Thanks a lot.
-Dave

10
Support Questions / RSLinx running changes update rate?
« on: April 22, 2015, 01:57:52 PM »
This is my first AdvancedHMI project. Previously I've done one project with a paid-for 3rd party driver and a few projects with RSLinx OPC. This is a C# project, I've subscribed to about 80 tags in a CompactLogix L18ERM.

On my development laptop (i5, 4GB RAM, Win7 Pro 32bit) the AdvancedHMI project ran great, quick response and the update rate looked really good. Things dramatically slowed down when I installed the application on the target PCs (i5, 4GB RAM, Win7 Pro x64). I updated all the chipset and NIC drivers, also ran Windows update with no change in performance. I ran the project on a coworker's 64 bit Win7 laptop and it worked fine. I tried it on a 64 bit Win 8.1 spare computer and it was slow. I put some code in to look at refresh time (time between updates to one particular tag) and the good computers were around 365ms, the bad ones were over 1800ms.

The customer wants to switch to RSLinx and as I'm installing it I realize the difference between the fast computers and slow computers is an installation of RSLinx. Sure enough, as soon as the RSLinx installation finishes and starts up (even before I reboot), the refresh rate goes from 1800ms to 365ms. No RSLinx drivers have been configured, the only one present is the default "Linx Gateways, Ethernet". As soon as I shutdown RSLinx the scan rate goes back up.

What am I missing? It doesn't seem like a driver issue because it changes on the fly. Is the PLC choosing to communicate faster because it sees RSLinx?

I appreciate all the work you put into this Archie. It's a fantastic piece of software. Thanks also to all the forumites. This is my first post because usually you've already asked and answered all my questions.

Pages: [1]