I don't have access to CompactLogix PLC so I tried this with EthernetIPforSLCMicroCom1 driver.
The only way I can replicate constant event firing is if I change MyBase.Text to m_Value inside the BasicLabel.vb / UpdateText() sub in the following If statement:
'* True/False comes from driver, change if BooleanDisplay is different 31-DEC-11
If (m_Value = "True" Or m_Value = "False") And m_BooleanDisplay <> BooleanDisplayOption.TrueFalse Then
If m_Value = "True" Then
If m_BooleanDisplay = BooleanDisplayOption.OnOff Then m_Value = "On" 'MyBase.Text replaced with m_Value
If m_BooleanDisplay = BooleanDisplayOption.YesNo Then m_Value = "Yes" 'MyBase.Text replaced with m_Value
Else
If m_BooleanDisplay = BooleanDisplayOption.OnOff Then m_Value = "Off" 'MyBase.Text replaced with m_Value
If m_BooleanDisplay = BooleanDisplayOption.YesNo Then m_Value = "No" 'MyBase.Text replaced with m_Value
End If
'* 24-APR-16 Ver 3.99e
Return
End If
This is normal for this changed code since m_Value is changed back to True/False the next time driver polls the PLC.
With unchanged code I get normal behavior.
Morgan, if you set BooleanDisplay back to TrueFalse do you still get the same event firing?