AdsServerStateChanged

This event function is called when the state of the ADS device has changed.

object_AdsServerStateChanged(
  nAdsState As ADSSTATE,
  nDeviceState As Long
)

Parameter

nAdsState

[out] New state of the ADS device (see the ADSSTATE data type)

nDeviceState

[out] (not presently supported)

Comments

-

Example

Visual Basic: 'Detect/alter state change in TwinCAT Router and the PLC'