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

Pages: [1]
1
Support Questions / Re: Boolean Array
« on: March 15, 2015, 02:36:15 PM »
Works great..

Try
            Dim plcReadAlarms() As String = EthernetIPforCLXCom1.Read("OI.Strings[0]", 224)
Catch ex As Exception
            MsgBox(ex.Message)
            'Exit Sub
End Try

various slight modifications like Dim plcReadAlarms() as Boolean or even leaving it a string array to read a bool array do not work.

Anyone have working code to read to a boolean array?

2
Support Questions / Boolean Array
« on: March 14, 2015, 01:11:28 PM »
I am having great success reading StringArrays[224] from a Controllogix Controller, but not having any success reading a BooleanArray[224].  I read an array of strings on Form Load (alarms) from the PLC and then trying to monitor an array of Booleans to display and track alarms within the application, but not having much success reading the boolean array..

Would you have a piece of sample code?

Thanks

3
Support Questions / Re: Reading CLogix String Array - HELP please
« on: March 10, 2015, 09:27:10 PM »
Archie, you got it..

Your fast - thank you!

4
Support Questions / Re: Reading CLogix String Array - HELP please
« on: March 10, 2015, 07:48:38 PM »
I probably should have mentioned that the only difference is that reading a string array of 2 or less works but a string of array of 3 or more does not work..

5
Support Questions / Reading CLogix String Array - HELP please
« on: March 10, 2015, 07:45:32 PM »
This works:

        Try
            Dim plcReadTitle() As String = EthernetIPforCLXCom1.Read("OI.Title[0]", 2)
        Catch ex As Exception
            MsgBox(ex.Message)
            'Exit Sub
        End Try


This does NOT work:

        Try
            Dim plcReadTitle() As String = EthernetIPforCLXCom1.Read("OI.Title[0]", 3)
        Catch ex As Exception
            MsgBox(ex.Message)
            'Exit Sub
        End Try


6
Support Questions / Re: ControlLogix String Write Bug
« on: September 24, 2013, 01:00:18 PM »
Tested and confirmed..  Incredible response for 'FREE'

Thanks

7
Support Questions / ControlLogix String Write Bug
« on: September 23, 2013, 03:07:03 PM »
If you execute "EthernetIPforCLXCom1.Write("String.Page[ x ].Button[y]", "BlahBlahBlah)" then

It basically uses the 2nd index as both the 1st and 2nd index..  So if x = 1 and y = 2, then instead of writing to address "String.Page[1].Button[2]" it writes to String.Page[2].Button[2]..

Hope this makes sense.

Thanks,Damon

8
Feature Request / ControlLogix Alarm Subscription Support (ALMD)
« on: September 13, 2013, 01:22:38 PM »
It would be very nice to subscribe to ControlLogix Alarms similar to FactoryTalkView.  Then, any alarm created in the PLC would automatically be posted to AdvancedHMI, with time, date, message, and values.

Much Thanks

Pages: [1]