writeControl

Changes the ADS status and the device status of an ADS server.

 writeControl(
    adsState, 
    deviceState, 
    pData, 
    userState, 
  );

Parameters

adsState

Type: Number or TcAdsWebService.AdsState
New ads state.

deviceState

Type: Number or TcAdsWebService.AdsState
New device state.

pData

Type: Base64 encoded binary string
The binary data to write.

userState

Type: Every
User data which will be passed through.

Returns

This function will return a TcAdsWebService.Response object.