Hi Guys,
Another help needed, I'm trying to do set auto toggle button = true (If ResultLabel.Text = 10) to force bit in PLC tag, but did not function as what I need. Still need perform manual click. I'm blurr...Pls help...Me TQ
Below is Vb.. I just try to created..
Private Sub PurgeBsa1_OutputType(sender As Object, e As EventArgs) Handles PurgeBsa1.TextChanged, PurgeBsa2.TextChanged
Dim PurgeBsa1 = False
Dim PurgeBsa2 = False
Try
ResultLabel.Text = 0
Catch ex As Exception
End Try
If ResultLabel.Text = 10 Then
PurgeBsa1 = True
PurgeBsa2 = True
End If
BSA1.Write("_EXT_PC_Purge_On", CInt(ResultLabel.Text))
BSA2.Write("_EXT_PC_Purge_On", CInt(ResultLabel.Text))
End Sub