AdsWriteConf
Confirms a write request.
object_AdsWriteConf(
nInvokeId As Long,
nResult As Long
)
Parameter
nInvokeId
[out] Job number for identification of the response
nResult
[out] Error state; see ADS error codes
Comments
Once a write request has been sent to the ADS device, execution of the Visual Basic program continues. As soon as the data has been written to the device, the ADS-OCX triggers the event function AdsWriteConf().
When the write request is issued, an identification number must be specified, which is later returned when the event function is called. This makes it possible to assign the event function to the appropriate write request. See also AdsWrite[Datatype]Req().
Example
-