Write

<< Click to Display Table of Contents >>

 

Write

Write([WriteSyncMode])

Writes I/O Block Element's current value to a device. Usually, this script 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: Writing mode configured in the Driver

1: synchronous writing mode

2: Asynchronous writing mode (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 this operation was successful or not.

Was this page useful?