1
Support Questions / Re: SimpleLEDMultiColor text change based off value
« on: December 28, 2024, 12:29:59 AM »
I was able to copy paste the plc properties of a component that could pull the text to the LED component. I just need to supply the string on plc and it works
Code: [Select]
'*****************************************
'* Property - Address in PLC to Link to
'*****************************************
Private m_PLCAddressText As String = ""
<System.ComponentModel.Category("PLC Properties")> _
Public Property PLCAddressText() As String
Get
Return m_PLCAddressText
End Get
Set(ByVal value As String)
If m_PLCAddressText <> value Then
m_PLCAddressText = value
'* When address is changed, re-subscribe to new address
SubscribeToComDriver()
End If
End Set
End Property