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

Pages: 1 2 [3] 4
31
Open Discussion / Re: Which method should I use?
« on: April 10, 2018, 05:14:38 PM »
I wrote something very small to start with but I did try to connect to all the devices using ModbusTcp.  I had no problems connecting and the first read worked without any problems but then I started getting a lot of exceptions when trying to read from a device. I tried to look at the exception but the error said 'Unknown error code -21 at ..... '

I'm not sure how to troubleshoot this. Any ideas? thanks.

32
Open Discussion / Re: Which method should I use?
« on: April 07, 2018, 05:33:59 PM »
I will have to display some key data on the mainform. There are a few consecutive registers, so I can read those in groups.
thanks..

33
Open Discussion / Which method should I use?
« on: April 07, 2018, 05:09:17 PM »
I have a project coming up that will poll 16 modbus devices with a total of about 500 tags every 5 minutes and write the values to a sql database.

What is the fastest method of reading this much data? Datasubcriber2? Raw reads? I'm not strong in VB so I want to go down the right path and only do this once.

I tried creating another process that only gets called every 5 minutes from a timer on the mainform and reads raw data like :
myvar = (MainformName.ModbusDriver.Read("40003)) and it all works fine, I just don't know if this is the best and fastest solution.

Your thoughts are greatly appreciated.




34
Support Questions / Re: Global hotkey
« on: March 12, 2018, 04:26:27 AM »
Just use the MouseUp event.


Private Sub BasicButton1_MouseUp(sender As Object, e As MouseEventArgs) Handles BasicButton1.MouseUp

'Put your code here'

End Sub

35
Open Discussion / Re: 4-20 mA AC output
« on: February 09, 2018, 11:53:23 AM »
These are nice modules but they are strictly DC.

36
Support Questions / Re: F30001
« on: February 02, 2018, 05:40:26 PM »
I read a floating point value from a modbus address of f400010 with no problems. I'm using chartBySampling.

37
Open Discussion / Re: Data Base Decision
« on: February 01, 2018, 10:02:26 AM »
What type PLC and what is the address you want to write to?

You could do something like :
 mydriver.myplc.Write("N7:100", valuefromdatabase)

This would be for Allen bradley slc/micrologix

38
Open Discussion / Re: 4-20 mA AC output
« on: January 26, 2018, 11:46:26 AM »
Do you by chance have three CT's?  If so, you might be able to use the 4-20 to drive a VFD and use the CT's in place of an actual 3 phase motor. Obviously you'd have to size accordingly. Just a thought.

39
Open Discussion / Re: 4-20 mA AC output
« on: January 25, 2018, 08:17:53 PM »
Can you explain more about what you're trying to accomplish? By nature an AC signal is not a steady current.

40
Open Discussion / Re: RsLinx - Rswho failure
« on: January 13, 2018, 12:45:26 PM »
There is a fix for this problem. A microsoft security update did indeed cause the problem. I won't be the only one on this forum that experiences this issue so I wanted to post the fix for others and to thank JL105 from another forum for the answer.

The offending security patch is listed as number KB4056892. I uninstalled it and Rslinx is happy again!

41
Open Discussion / Re: RsLinx - Rswho failure
« on: January 10, 2018, 01:11:05 PM »
Thanks. Rockwell has their 'new access management system' and I can't get into my account.  Don't you just love them....

I'm guessing this is a windows update issue. I just uninstalled everything rockwell related and I'm going to reinstall from scratch. I'll post the results.

42
Open Discussion / Re: RsLinx - Rswho failure
« on: January 08, 2018, 06:32:33 PM »
That's a good possibility. I don't really  know when the problem occurred. I've been working on this VB application for almost 2 weeks so it could have happened anytime. I attributed it to something that I installed but that might not be the case. I've checked every file and folder permission that I can think of.

Maybe Microsoft will just fix it one night :)
 

43
Open Discussion / Re: RsLinx - Rswho failure
« on: January 08, 2018, 12:49:30 PM »
I can access that drivers, set them up and actually use them to go online in RsLogix500 but since I can't use RsWho from within RsLogix I can't find who is online.

I did see your previous post link but I was a little afraid to mess with anything registry related because that post is 15 years old and was for an XP system. Might be ok, I was just a little timid to try that method.  Maybe at this point I don't have a lot to loose :)

44
Open Discussion / Re: RsLinx - Rswho failure
« on: January 08, 2018, 12:26:57 PM »
I just gave full access to the entire Rockwell folder and subfolders as a test....  :( If I just knew what to uninstall I'd do it as this is my primary PLC Dev machine.... and the one I use in the field.

45
Open Discussion / Re: RsLinx - Rswho failure
« on: January 08, 2018, 11:59:17 AM »
Yes I did that also. I'm sure this has to do with some resource that RsWho needs. I've upped my page file size to twice the recommended setting.  A little while ago I clicked many times on the RsWho icon and at one point it brought up and 'out of memory' error.

My understanding is that RsWho is a network browser so I would think that it needs what any browser would need, such as disk space and memory, network support, etc.

Pages: 1 2 [3] 4