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

Pages: [1]
1
Support Questions / AB Logix Driver Exception with 16bit Integer
« on: June 27, 2015, 10:30:45 PM »
If I reference a bit inside a 16-Bit Integer with a toggle button, I get an exception.  Exception says can't convert String to Boolean.  I worked around by making the integer a DINT.

I'm good with converting the integers a DINT, but I'd be glad to test if you want to address.

Files
https://www.dropbox.com/sh/1plfjjlxb7p07cy/AACe9UUbg47Y5foOJMZmM8ZKa?dl=0

2
Support Questions / AB Logix Driver Stops Updating
« on: June 24, 2015, 11:34:51 AM »
With v398 the AB logix driver stops updating after a duration.  I don't get any exceptions to pop up.  The application keeps running, but the data no longer updates.  It has been repeatable on my development and target machine with 2 different PLCs.  I added some timers to see how long until it occurs.  Attached is a screenshot of the timestamps.  The computer did go to sleep in the sample and I'm not sure if it stopped before it went to sleep.  It does it also on the target machine also that doesn't go to sleep.

Same files as my previous post.
http://advancedhmi.com/forum/index.php?topic=836.0

In the development output pane.  It has a message I also attached for out of bounds index.  I assume this has something to do with it.

Steve

3
Support Questions / AB Logix Driver Updates for 1 Scan
« on: June 23, 2015, 08:10:59 PM »
There is an issue with the AB Logix driver on the latest version v398.  I can't pin it down, but it has to do with the number of tags or objects on a driver.  Instead of the driver running slow it just updates for the first scan and stops.  I don't get any exceptions.  I can delete 1 object and it will work.  I duplicate a working object with a valid address it breaks.  It does it both with discrete and analog tags.  It does work if I split the tags up on 2 drivers pointing at the same PLC.  I have a test PLC set up if you want to connect in.  I did test on 2 different compactlogix controllers and they both behave the same.

My Project:
https://www.dropbox.com/sh/bvmeu88kdzdr1uf/AACtFl8sCv_fANkYSh-tjl4Ta?dl=0

Steve

4
I am having exceptions that causes my application to stop logging and high CPU usage.  Compactlogix processors and CLX driver.  Both exceptions are inside the Read function.  I have it in Try Catch blocks, but it appears to not always recover and eventually the application stops reading and goes to high CPU usage.   I can duplicate it and I have a test PLC set up here. 

Stripped down Logic (2 Machines (PC2 and PC3), logic executes at a 5 second interval for logging)

                ' Get Machine Values
                PC3_LineRunning = PC3PLC.Read("DCS.LineRunning")
                PC3_OperatorPresent = PC3PLC.Read("DCS.OperatorPresent")
                PC3_BlenderRunning = PC3PLC.Read("DCS.BlenderRunning")
                PC3_MachineCycle = PC3PLC.Read("DCS.MachineCycle")
                PC3_ProductCode = PC3PLC.Read("DCS.ProductCode")
                PC3_WaitingMold = PC3PLC.Read("DCS.WaitingMold")
                PC3_BackedUp = PC3PLC.Read("DCS.BackedUp")

                ' If Machine Cycle is set then Turn Off
                If PC3_MachineCycle Then
                    PC3PLC.Write("DCS.CycleLogged", 1)
                End If

Project Files
https://www.dropbox.com/sh/r41qxbu8rmd4yy3/AAABCXQoeVh7p-E2sg8CkOPaa?dl=0

Thanks,

Steve

5
Application Showcase / Concrete Line #2
« on: February 17, 2015, 08:31:17 AM »
Video of a simple 4 screen application for a conveyor line.  Compactlogix Processor and Powerflex 525 Drives.  AdvancedHMI V397e

Cheers,

Steve

Youtube Video
https://www.youtube.com/watch?v=Jy-RvWJ_Tds&feature=youtu.be

Files
https://www.dropbox.com/sh/ez1zzxuknsrsw2e/AACIacqifKEFvCTOSKsfVxPla?dl=0

6
Application Showcase / Concrete Line #1
« on: April 07, 2014, 04:12:57 PM »

7
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

8
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

9
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

10
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]