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

Pages: 1 2 [3]
31
Tips & Tricks / Objects on Multiple Forms (ButtonBar, Titlebar)
« on: March 30, 2014, 07:50:04 AM »
I have 3 global objects I would like to display on all of the forms.  I'm sure there is a better way then copy/paste.  My guess is I should put the global data to it's own form and display multiple forms at a time.  Does anyone have a recommendation or a sample application?

Thanks,

Steve

32
Additional Components / Re: Smaller Meter Control
« on: March 30, 2014, 07:24:21 AM »
I would like to have you create it.  Attached is an updated screenshot.  I have your meter control size at (112, 96).  Can you PM the cost and payment method?

Thanks,

Steve

33
Additional Components / Smaller Meter Control
« on: March 29, 2014, 05:08:09 PM »
One most of my panelviews I make a drive interface.  Attached is one from a panelview I made.  I would like duplicate the same on AdvancedHMI.  Is it possible to create a smaller meter control based on the existing meter.  I like the existing meter, I would just like to scale it down, remove the red line and remove the grey area at the bottom.  It looks like the code is inside the Controls.dll.  Is this something I have access to or could hire one of your programmers to add to the project?

Thanks,

Steve

34
Have a PLC5/40E on Ethernet and I am using the latest version downloaded today 361.

I am able to read Integer Values from the PLC, but any floating point values fail.  Using the Digital Meter Panel it shows a value of 0.  Using Label1.Text = BatchPLC.Read("F8:0") I get an OutofRange exception.  I attached the screenshot.

I am okay with using integers with implied decimals, but I would be glad to test a fix if you want to address it.

-Steve

35
Thanks Archie.  I was able to get the communications to reestablish by catching the error and creating a new Dll instance.  It looks like this will work for now.

Thanks for your response,

Steve


     Private Function SendData(ByVal data() As Byte, ByVal MyNode As Byte, ByVal TargetNode As Byte) As Integer
        If DLL Is Nothing Then
            CreateDLLInstance()
        End If

        Try

            Return DLL(MyDLLInstance).ExecutePCCC(data)

        Catch ex As MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException

            DLL(MyDLLInstance) = New MfgControl.AdvancedHMI.Drivers.CIP
            DLL(MyDLLInstance).EIPEncap.IPAddress = m_IPAddress

        End Try

    End Function

36
Thanks first of all for your open source project.  I am not the most experienced at .NET, and I had no issue getting started.

I used your software to create an interface between SQL server and 10 Micrologix 1100 plcs.  I am using the "EthernetIPforSLCMicroComm" driver.  I added 10 instances of the driver to the main form, one for each PLC.

I am pulling data from sql server and writing to the PLCs on a timed interval using ".WriteData(Address,Value)".  The application works great.  The issue I have is when a PLC is turned off, or if for some other reason communication is lost, the driver won't always reestabilish.  I looked into it and I get the attached error "A connection request was made on an already connected socket".  I appears the error comes from inside the Driver DLL so I'm not sure there is anything more I can do to trouble shoot.  To recreate the error I would disabled/reenabled the network adapter, the comms fail on all the plcs, then when reenabling the adapter usually one station will not reestablish.

Hopefully I detailed the issue.  I downloaded from sourcecode 6 months ago, so I assume the code I have is fairly current.

Thanks,

Steve

Pages: 1 2 [3]