from visual basic I am trying to write to a variable in factorytalk called alarm, this variable is of binary type, should not be a problem but I try several ways and so far can not,
This is the code that relates to a button,
Private Sub Button1_Release()
Dim alarm as Boolean
If alarm = 1 Then
alarm = 0
Else
alarm = 1
End If
End Sub
as you can see is very basic, the alarm variable already exists in the list tags of plc and lists of factorytalk tags
Thanks for your time,
Best regards,
This is the code that relates to a button,
Private Sub Button1_Release()
Dim alarm as Boolean
If alarm = 1 Then
alarm = 0
Else
alarm = 1
End If
End Sub
as you can see is very basic, the alarm variable already exists in the list tags of plc and lists of factorytalk tags
Thanks for your time,
Best regards,