Ive done this with a bevel Button Display , I think with the help from someone on this forum, Click the button to force a value and then displayed the value in a label so I knew it changed ,
Private Sub BevelButtonDisplay28_Click_1(sender As Object, e As EventArgs) Handles BevelButtonDisplay28.Click
'Writes the value from Button into the PLC address
Try
EthernetIPforSLCMicroCom1.Write("N27:7", 16383)
Catch ex As System.Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub
value to write might be a nice addition to this button
Darrell