Table of Contents

Class GroupState

Namespace
TwinSharp.NC
Assembly
TwinSharp.dll

The GroupState class provides properties to interact with and retrieve various states and information from a TwinCAT NC group via an AdsClient. It includes properties for error codes, axis counts, group states, and emergency stop status, among others. Each property reads or writes data from the TwinCAT system using specific index groups and offsets.

public class GroupState
Inheritance
GroupState
Inherited Members

Properties

CouplingState

Coupling state (state)

public uint CouplingState { get; }

Property Value

uint

CouplingTableIndex

Coupling table index

public uint CouplingTableIndex { get; }

Property Value

uint

CurrentBlockNumber

Current block number (only active for interpolation group)

public uint CurrentBlockNumber { get; }

Property Value

uint

CurrentFreeSafEntries

Current number of free SAF entries/tasks

public uint CurrentFreeSafEntries { get; }

Property Value

uint

CurrentFreeSvbEntries

Current number of free SVB entries/tasks

public uint CurrentFreeSvbEntries { get; }

Property Value

uint

CurrentSafEntries

Current number of SAF entries/tasks

public uint CurrentSafEntries { get; }

Property Value

uint

CurrentSvbEntries

Current number of SVB entries/tasks

public uint CurrentSvbEntries { get; }

Property Value

uint

EmergencyStopActive

Emergency Stop (E-Stop) active?

public bool EmergencyStopActive { get; set; }

Property Value

bool

ErrorCode

Error code group

public int ErrorCode { get; }

Property Value

int

MasterAxisCount

Number of master axes

public uint MasterAxisCount { get; }

Property Value

uint

MovingState

Moving state (state)

public uint MovingState { get; }

Property Value

uint

ReferencingState

Referencing state (state)

public uint ReferencingState { get; }

Property Value

uint

SafGroupState

SAF group state (main state)

public uint SafGroupState { get; }

Property Value

uint

SafSubGroupState

SAF sub-group state (sub state)

public uint SafSubGroupState { get; }

Property Value

uint

SlaveAxisCount

Number of slave axes

public uint SlaveAxisCount { get; }

Property Value

uint

SvbGroupState

SVB group state (state)

public uint SvbGroupState { get; }

Property Value

uint