I'm getting an exception using EthernetIPforPLCSLCMicroComm, when trying to read an array of "ST:".
Using this (on Mainform sample):
Dim x(10) As String
x = plc.ReadAny("ST9:1", 10) 'plc = EthernetIPforPLCSLCMicroComm
When run, gets "Aritmetic Overflow Exception".
So, I'd debugged this and error appears in this call:
Public Function ReadAny(ByVal startAddress As String, ByVal numberOfElements As Integer) As String() Implements IComComponent.ReadAny
Dim data(4) As Byte
Dim ParsedResult As New MfgControl.AdvancedHMI.Drivers.PCCCAddress(startAddress, numberOfElements, GetProcessorType) ' <<<<< HERE >>>>>>
This exception occurs when reading "ST:" array only (if reading one address, it works).
Are you using version 3.32?
I found the issue and will post a fix later tonight.
Thank you very much!
Congratulations to the amazing work!
We'll starting to develop with AdvancedHMI.
If it accomplish our needs, will be our pleasure to make a donation to continue the work!