Hi,
is the first time for me using opc ua communication and i'm having some issues whit my Omron PLC:
i have write some lines of code to read a variable but i don't understand whta value i have to set for the Attribute, i have tried whit the name of the variable but nothing, this is the code:
Private client As EasyUAClient
have i do some mistakes somewhere?
Really thanks to everyone who will help me
is the first time for me using opc ua communication and i'm having some issues whit my Omron PLC:
i have write some lines of code to read a variable but i don't understand whta value i have to set for the Attribute, i have tried whit the name of the variable but nothing, this is the code:
Private client As EasyUAClient
Private value As Object
Private Sub Button2_Click_1(sender As Object, e As EventArgs) Handles Button2.Click
Dim COMUNICATIONOPCUA As String
Dim ATTRIBUTE As UAAttributeId
COMINCAZIONEOPCUA = "opc.tcp://192.168.1.251:4840"
ATTRIBUTE = 1
value = client.ReadValue(COUNICATIONOPCUA, ATTRIBUTE)
End Sub
have i do some mistakes somewhere?
Really thanks to everyone who will help me