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

Pages: [1]
1
I have a simple one form Visual Studio application that reads a counter from 4 different Micrologix1400 PLCs. These PLCs are obviously at different IP address, but if one of the 4 devices is not available (or not turned on), the Visual Studio application refresh time for the others data being read becomes very slow (30-40 seconds) and then eventually locks up.

If all 4 devices are powered up and available, the data gets read just fine and everything is happy, but as soon as one of the IP addresses goes away, then things die a slow death.

Does anyone have any guidance on how to handle IP addresses that might not be active?

2
Support Questions / Re: Application locks up when PLCs not connected
« on: October 13, 2017, 09:15:33 AM »
Thanks Archie.

I am just placed a "BasicLabel" on the form and defined the CommComponent and PLCAddressValue to read and display.

I'll give the timeout a shot first and see where that goes.

I'm using the EthernetIPforPLCSLCMicroCom - I am assuming that the TimeOut property is defined by the "MaxTicks" variable in the Helper section of the driver code or is it defined elsewhere?



3
Support Questions / Application locks up when PLCs not connected
« on: October 12, 2017, 10:51:22 PM »
I have a application that reads some values from 4 different MicroLogix 1400s over ethernet. When I am connected to the PLCs I can run the code, debug things in Visual Studio 2017, and everything seems fine. However, when I went offline and disconnected from the PLCs, Visual Studio (and my app) just hangs up.

Has anyone else seen this behavior?

Does anyone know if there i a way to do this development offline and ignore the PLC communications (or prevent this hang up) so that I can develop the rest of the VB code before connecting to the PLCs?

I was thinking maybe it was a "timeout" value that I was missing somewhere.

Thoughts?


Pages: [1]