The DataSubscriber component was designed to encapsulate the complexities of subscribing. But if you want to manual subscribe, this is a short example:
'* Create a variable to hold the suscriptionID for later unsubscribing
Private FurnaceNameID As Integer
Private Sub MainForm_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
'* Create the subscription to the tag
FurnaceNameID = EthernetIPforCLXCom1.Subscribe("Furnace_Name", 1, 500, AddressOf SubscriptionDataReceived)
End Sub
Private Sub MainForm_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
'* Stop the updating of this tag and Release the resources
EthernetIPforCLXCom1.UnSubscribe(FurnaceNameID)
End Sub
Private Sub SubscriptionDataReceived(sender As System.Object, e As MfgControl.AdvancedHMI.Drivers.Common.PlcComEventArgs)
'* Show the data that came back from the subscription
Me.Text = e.Values(0)
End Sub