AdsStateCommand Enumeration

Describes the AdsState Commands

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public enum AdsStateCommand

Members

 

Member name

Value

Description

None

0

Ads State is Invalid / Uninitialized

Reset

2

Resets the AdsServer

Start

4

Starts the AdsServer

Stop

6

Stops teh AdsServer

Reconfig

16

Reconfig (System should restart in config mode)

Run

5

Sets an AdsServer to Run

Remarks

This enumeration is to refactor out the commands from the states.

Reference

TwinCAT.Ads Namespace

TwinCAT.Ads.AdsState