OnTagWrite

<< Click to Display Table of Contents >>

 

OnTagWrite

OnTagWrite(Tag, Succeeded, User)

Occurs when a writing is triggered in any OPC UA Tag of the OPC UA Driver. For this event to occur, the OPC UA Tag's EnableDriverEvent property must be enabled. If writing is asynchronous, this event is generated only when the OPC UA Server sends a response indicating whether that writing was successful or not.

Parameters of the OnTagWrite event

Name

Description

Tag

A reference to an OPC UA Tag object receiving the writing. For example, users can access any OPC UA Tag property by using a syntax such as Tag.DocString

Succeeded

A Boolean value indicating whether this writing was successful or not

User

Parameter receiving the user that performed this writing. Default value of this parameter is "System". If there is no user logged in the Elipse E3 Viewer that generated this event, this parameter contains the value "Anonymous". If writing is asynchronous or a failure occurred and was reported in an asynchronous way, this parameter always contains the value "System"

Was this page useful?