AdvancedHMI Software

General Category => Support Questions => Topic started by: calimero100582 on April 22, 2015, 12:03:47 PM

Title: OverflowException in 3.98f - AllenBradleySLCMicro
Post by: calimero100582 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
Title: Re: OverflowException in 3.98f - AllenBradleySLCMicro
Post by: Archie on April 22, 2015, 08:26:53 PM
This will be fixed in the next release of 3.98g or higher. The current work around is to break the reads up into 100 or less elements.
Title: Re: OverflowException in 3.98f - AllenBradleySLCMicro
Post by: calimero100582 on April 23, 2015, 09:27:21 AM
Thanks

Another quick question, SLC aren't supposed to support address like N59:11/7 to read single bit?
Title: Re: OverflowException in 3.98f - AllenBradleySLCMicro
Post by: Archie on April 27, 2015, 11:54:34 AM
Another quick question, SLC aren't supposed to support address like N59:11/7 to read single bit?
They should support that addressing scheme. I will test it later to make sure AdvancedHMI can still read that format with the new SLC driver.