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

Pages: [1]
1
Support Questions / Using AdvancedHMI Drivers in a Windows Service v3.97
« on: January 10, 2015, 01:14:17 PM »
Since updating to v3.97 and visual studio 2013. I am having an issue where everytime I try to write to the PLC I'm getting:

System.Windows.Forms; Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

Since this is a windows service I am not using any forms in my code...I know it's stemming from the AdvancedHMI Driver references because I had a recent issue where a window was popping up says Incomplete Solution.

I was under the assumption that error was corrected when I added all of the AdvancedHMI projects to my solution. Now since installing on the production machine (and I'm actually connected to PLC's) I'm getting a similar error about the WindowsForms in my log, yet when I step through the code in debug mode (user interactive mode) everything writes to the PLC without issue.

I'm out of ideas here. Archie please is there anything you can think of here...

2
Support Questions / Dialog Box - Incomplete Solution
« on: January 08, 2015, 05:01:34 PM »
Hello,
I'm having a strange issue. I'm using the EthernetIPforCLXCom driver and it seems I can instantiate a new object no problem and when I look at the stack trace of newly created "plc" object it looks okay, meaning it has been given a bunch of default parameters i.e.,
DisableSubscriptions = false
IPAddress = "192.168.0.10"
PollRateOverride = 500
Port = 44818
ProcessorSlot = 0
So everything looks good up to this point. Then when I try to set the IPAddress using something like:
plc.IPAddress = "192.168.36.3";
I get a dialog showing up that says: Incomplete Solution
In the titlebar of the dialog box says AdvancedHMIDrivers...any thoughts?

3
Hi,
Just curious when the next release is slated. I think I read in the forum somewhere that there was some work being done on the send queue full issue many of us are struggling with.
Cheers!

4
Open Discussion / Driver.CIP.ForwardOpen() Exceptions
« on: October 21, 2014, 07:16:02 PM »
Hi,
I keep getting these types of exceptions showing up intermittently. Call stack below. Is this a connection timeout exception of some sort?

MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException: Exception of type 'MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException' was thrown.
   at MfgControl.AdvancedHMI.Drivers.CIP.ForwardOpen()
   at MfgControl.AdvancedHMI.Drivers.CIP.WriteTagValue(CLXAddress tag, String[] value, Int32 numberOfElements, Int32 sequenceNumber)
   at AdvancedHMIDrivers.EthernetIPforCLXCom.Write(String startAddress, Int32 numberOfElements, String[] dataToWrite)
   at AdvancedHMIDrivers.EthernetIPforCLXCom.Write(String startAddress, Int32 dataToWrite)
   at iControlService.ServiceHandler.timer_elapsed(Object sender, EventArgs e)

5
Support Questions / Can someone explain pollrateoverride
« on: October 20, 2014, 11:07:09 PM »
I'm using ethernetclx driver to make successive writes to a plc. I have been struggling with send queue full type exceptions intermittently  as well as CIP.ForwardOpen() type exceptions. I've added the thread.sleep(100) after every 3 writes to no avail. My quesiton is, I am not actually reading data and displaying it, I'm simply just making successive writes.

Is there a way to disable the polling of the plc as I don't need to update my application with any values from the plc? Could this be impacting some of the problems I am experiencing? Thanks.

Pages: [1]