Author Topic: OverflowException in 3.98f - AllenBradleySLCMicro  (Read 1622 times)

calimero100582

  • Newbie
  • *
  • Posts: 11
    • View Profile
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

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OverflowException in 3.98f - AllenBradleySLCMicro
« Reply #1 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.

calimero100582

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: OverflowException in 3.98f - AllenBradleySLCMicro
« Reply #2 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?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OverflowException in 3.98f - AllenBradleySLCMicro
« Reply #3 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.