AdvancedHMI Software
General Category => Support Questions => Topic started by: Godra on April 03, 2016, 12:42:45 PM
-
Just tried a fresh v3.99d solution with a basic button and basic label.
BasicButton throws the attached error when using EthernetIPforSLCMicro driver but works fine with ModbusTCP driver.
BasicButton reads value properly with PLCAddressText property.
BasicLabel works fine in either case.
Also tried GlassButton from other post and it worked as well.
-
If you hover over ElementCount and dataToWrite. what do you see for those values?
-
ElementCount = 1
dataToWrite(i) doesn't show anything but i does show as 1
IntegerArray.Length = 2 --> (0) 1 and (1) 0
-
Would it help if I tell you that PLC is ML1100?
ProcessorType returned is 73 (which in older versions of AHMI was marked as SLC-5/03).
-
Try modifying the code to this:
Dim IntegerArray(ElementCount-1) As Int32
-
It appears to be working properly now.
Thank you.
-
Hello there,
I got the same error. The change mentioned by Archie did really work.
Thanks!!