|
This event occurs when a value or the state of a value changes.
syntax
Private Sub AxEng1_ValueStateChanged(sender As Object,
e As AxFAENGINELib6._DFAEngineEvents_ValueStateChangedEvent)
Handles AxEng1.ValueStateChanged
Parameters
e.tagPath
|
|
type:
|
string
|
|
The tag path. Example: U01.F01.T01
|
e.value
|
|
type:
|
object
|
|
value.
|
e.state
|
|
type:
|
bool
|
|
The value status. When abnormal, it becomes False.
|
Commentary
This occurs when the value or value state changes. The value state is True if communication with PLC is normal. If an error occurs with PLC, the value state becomes False. If an error occurs with PLC, the most recent value resulting from normal communication is stored in Value.
|
reference
ValueChanged
|