I am getting an error at:
Transactions(e.TransactionNumber And 255) "Index was outside the bounds of the array."
If Transactions(e.TransactionNumber And 255) IsNot Nothing Then
Transactions(e.TransactionNumber).ErrorReturned = True
Else
MsgBox(e.ErrorMessage)
End If
in ModbusTcpipComm.vb
What does this mean? This is on a form with 1 ModbusTcpipComm object, 2 DataSubscribers, 12 AdvancedHMI Controls and a picturebox.
EDIT: Each pipe has a property set to "PLC" which is what I named the "ModbusTcpComm1"... There are a lot of pipes, but less than 50. Are these interfering? I can't change the CommComponent for a pipe without it reverting automatically...
Any help would be much appreciated.
Quinton Wideman