Table of Contents

Class IpcTwinCAT

Namespace
TwinSharp.IPC
Assembly
TwinSharp.dll

The IpcTwinCAT class provides an interface to interact with a TwinCAT system using an AdsClient. It allows reading various system properties such as version, status, and configuration details. The class handles specific TwinCAT system attributes and provides methods to read these attributes from the TwinCAT system using ADS (Automation Device Specification) protocol.

public class IpcTwinCAT
Inheritance
IpcTwinCAT
Inherited Members

Properties

AmsNetID

AMS Net ID of the TwinCAT system. A restart of the computer is required in order to make a change to the Ams Net ID.

public string AmsNetID { get; }

Property Value

string

BuildNumber

TwinCAT build number.

public ushort BuildNumber { get; }

Property Value

ushort

Length

Length of the structure

public ushort Length { get; }

Property Value

ushort

LogFilePath

Only for WindowsCE

public string LogFilePath { get; }

Property Value

string

LogFileSize

Only for WindowsCE

public uint LogFileSize { get; }

Property Value

uint

MajorVersion

TwinCAT major version.

public ushort MajorVersion { get; }

Property Value

ushort

MinorVersion

TwinCAT minor version.

public ushort MinorVersion { get; }

Property Value

ushort

RegLevel

Only for TwinCAT 2.

public uint RegLevel { get; }

Property Value

uint

Revision

TwinCAT Revision

public ushort Revision { get; }

Property Value

ushort

RunAsDevice

Only for WindowsCE

public ushort RunAsDevice { get; }

Property Value

ushort

SecondsSinceLastStatusChange

Seconds since last TwinCAT status change

public ulong SecondsSinceLastStatusChange { get; }

Property Value

ulong

ShowTargetVisu

Only for WindowsCE

public ushort ShowTargetVisu { get; }

Property Value

ushort

Status

Status of the TwinCAT system.

public ushort Status { get; }

Property Value

ushort

SystemID

TwinCAT System ID

public string SystemID { get; }

Property Value

string