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

Pages: [1]
1
Support Questions / Compact Logix - Tags with custom type
« on: December 15, 2015, 10:40:58 AM »
Hi

I have a CompactLogix with a Custom type wich I call CustomTimer containing Delay, and Count, both integer
I also have a CustomTimers array of 10 elements of type CustomTimer

I can read and write using CustomTimers[1].Delay, but when I try to simply read CustomTimers as an array, I got Driver Exception saying "No Response from PLC"

Is there an easy way to read/write such arrays, or I really need to scan all values one by one?

Thanks

2
Open Discussion / Thanks for version 3.99
« on: September 08, 2015, 10:42:48 AM »
I no longer have issues with Incomplete Solution

3
Support Questions / .Net 4.0 Full vs .Net 4.0 Client Profile
« on: April 28, 2015, 11:35:40 AM »
I got issue with the lib as I need to install .Net 4.0 Full on the desktop that run the application

Is there a way to get it to work on .Net 4.0 Client Profile??

4
Support Questions / OverflowException in 3.98f - AllenBradleySLCMicro
« on: April 22, 2015, 12:03:47 PM »
When I try to write to a big array[200], I have an OverflowException in WriteRawData

Code: [Select]
TNS = ProtectedTypeLogicalWrite(Convert.ToByte(DataW.Length), Convert.ToByte(PAddress.FileNumber), _
                                              Convert.ToByte(PAddress.FileType), Convert.ToByte(PAddress.Element), Convert.ToByte(PAddress.SubElement), _
                                             DataW)


in my case, PAddress.SubElement = 328

5
Hi, I have 3 problems,

I have a system that read continuously (every 100ms) some flags from a PLC (3 DInt and a small DInt array of 5 values)
When flags are ready, I send data to the PLC

First problem, When I try to send an array of 100 or 600 values it fails, so I need to send my array in small chunk (I write small array of 20, starting at index 0, 20, 40, ...)

Second problem, when I send small chunk, it works the first time, but it fails with "Send Que Full" on the second one even if I wait 2 minutes or 10 minutes
To solve this, I added a Thread.Sleep(50) before each Write.

Third, when I close, I call Dispose(), and sometimes, I receive a "Send Que Full" error on Dispose, do I need to wait before calling Dispose()


Additional info:
I created a Threadsafe Read/Write architecture to prevent multiple call at once (had issue with that), but not where every write have a Sleep(50) which is not really usefull for performance.
I also call CloseConnection() before calling Dispose()

Pages: [1]