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!
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.