fredm54
Member
I followed your instructions but I'm getting an error when I replace this line...
Dim counter1 As Integer = EthernetIPforSLCMicroCom1.Read("N7:0")
with this line
Dim counter1 As Integer = OpcDaCom1.Read("N7:0")
I get this error:
Error BC30455 Argument not specified for parameter 'numberOfElements' of 'Public Function Read(startAddress As String, numberOfElements As Integer) As String()'
If I add the the EthernetIPforSLCMicroCom1 component and enter your code exactly I don't get any errors.
thanks!
Dim counter1 As Integer = EthernetIPforSLCMicroCom1.Read("N7:0")
with this line
Dim counter1 As Integer = OpcDaCom1.Read("N7:0")
I get this error:
Error BC30455 Argument not specified for parameter 'numberOfElements' of 'Public Function Read(startAddress As String, numberOfElements As Integer) As String()'
If I add the the EthernetIPforSLCMicroCom1 component and enter your code exactly I don't get any errors.
thanks!