Write

<< Click to Display Table of Contents >>

 

Write

Write([WriteSyncMode])

Writes I/O Tag's current value to a device. Usually, this method is used only when the object's AllowWrite property is set to False. The WriteSyncMode parameter allows users to use a writing mode that may be different from the one used by the Driver. The available options for this parameter are the following:

0: Uses the writing mode configured in the Driver

1: Performs a synchronous writing

2: Performs an asynchronous writing (no confirmation)

 

If the WriteSyncMode parameter is omitted, the writing mode configured in the Driver is also used. For more information, please check Driver's documentation. This method returns a Boolean indicating whether that operation was successful or not.

Was this page useful?