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.


Topics - ceidson

Pages: [1]
1
Open Discussion / Basic Button MomentarySet Response Time
« on: October 27, 2017, 07:40:32 AM »
I use the BasicButton almost exclusively, mainly for cosmetic purposes.  Most of them are being used as a momentary button by setting OutputType to MomenarySet.  I also have the MinimumHoldTime set to 1.

Is there a trick to make the button more responsive for tasks, such as jogging servos?  Does the momentary button have any advantage that I do not see?

2
Support Questions / Compact Logix Index Outside Bounds Of Array
« on: January 06, 2016, 11:24:14 AM »
I am using the EthernetIPforCLXCom object to communicate with a CompactLogix PLC.  I am using BasicButtons, but I am also reading PLC information and storing into variables.  To do this I am using a Timer that runs every 100ms.  The timer goes through and reads items from the PLC and stores them into variables.  As part of my window navigation I minimize my Main window while showing other "pop-up" windows.  I disable my Timer while the Main window is minimized.  When I close the popup window, and maximize my Main window, I receive an exception "Index was outside the bounds of the array." during the first read from the PLC.  As a test I added an event for ConnectionClosed for the EthernetIPforCLXCom object.  While my popup is open and my Main window is minimized, the ConnectionClosed event is sometimes fired.  If this happens, I get my exception on the first read. 

First, what would be causing the connection to close?  Second, how can I recover, in order to keep running?

Pages: [1]