-In Solution Explorer, Right click RotationIndicatorHMI.vb and select view code
- Go down to line 163, look for this:
Public Property PLCAddressTarget2Value()
- Go further down to just below "End Property" (line 176) and insert this code:
'*****************************************
'* Property - Address in PLC to Link to
'*****************************************
Private m_PLCAddressTarget2ValueTolerance As MfgControl.AdvancedHMI.Drivers.PLCAddressItem
<System.ComponentModel.DefaultValue("")> _
<System.ComponentModel.Category("PLC Properties")> _
Public Property PLCAddressTarget2ValueTolerance() As MfgControl.AdvancedHMI.Drivers.PLCAddressItem
Get
Return m_PLCAddressTarget2ValueTolerance
End Get
Set(ByVal value As MfgControl.AdvancedHMI.Drivers.PLCAddressItem)
If m_PLCAddressTarget2ValueTolerance IsNot value Then
m_PLCAddressTarget2ValueTolerance = value
'* When address is changed, re-subscribe to new address
SubscribeToComDriver()
End If
End Set
End Property
- Close all open files
- Rebuild Solution