Table of Contents

Class IPC

Namespace
TwinSharp.IPC
Assembly
TwinSharp.dll

The IPC class represents a Beckhoff Industrial PC (IPC) and provides access to various hardware modules such as network cards, CPU, memory, display devices, operating system, fans, mainboard, UPS, and miscellaneous modules. It uses the AdsClient to connect to the IPC and read the available MDP modules, initializing the corresponding module objects based on their types. The class implements IDisposable to ensure proper disposal of the AdsClient.

public class IPC : IDisposable
Inheritance
IPC
Implements
Inherited Members

Constructors

IPC(AmsNetId)

Creates an representation of a Beckhoff IPC.

public IPC(AmsNetId target)

Parameters

target AmsNetId

Target where to find IPC. Use AmsNetId.Local for local access.

Properties

Cpu

Represents the CPU module of the IPC.

public IpcCpu? Cpu { get; }

Property Value

IpcCpu

DisplayDevices

Represents the display devices of the IPC.

public IpcDisplayDevice[] DisplayDevices { get; }

Property Value

IpcDisplayDevice[]

Fans

Represents the fans of the IPC.

public IpcFan[] Fans { get; }

Property Value

IpcFan[]

MainBoard

Represents the mainboard module of the IPC.

public IpcMainBoard? MainBoard { get; }

Property Value

IpcMainBoard

Memory

Represents the memory module of the IPC.

public IpcMemory? Memory { get; }

Property Value

IpcMemory

Miscellaneous

Represents the miscellaneous module of the IPC.

public IpcMiscellaneous? Miscellaneous { get; }

Property Value

IpcMiscellaneous

NICs

Represents the network cards of the IPC.

public IpcNIC[] NICs { get; }

Property Value

IpcNIC[]

OperatingSystem

Represents the operating system module of the IPC.

public IpcOperatingSystem? OperatingSystem { get; }

Property Value

IpcOperatingSystem

Time

Module for viewing and setting the time on the IPC.

public IpcTime? Time { get; }

Property Value

IpcTime

TwinCAT

Represents the TwinCAT module of the IPC.

public IpcTwinCAT? TwinCAT { get; }

Property Value

IpcTwinCAT

UPS

Represents the UPS module of the IPC.

public IpcUps? UPS { get; }

Property Value

IpcUps

Methods

Dispose()

Disposes the ads client.

public void Dispose()