Table of Contents

Class ChannelParameters

Namespace
TwinSharp.NC
Assembly
TwinSharp.dll

Represents the parameters of a channel in the TwinCAT NC system. This class provides properties to access various channel parameters such as ID, Name, Type, InterpreterType, ProgramLoadBufferSize, ProgramNumberJobList, InterpolationLoadLogMode, InterpolationTraceMode, RecordAllFeederEntries, NcLoggerLevel, G70Factor, G71Factor, ActivationOfDefaultGcode, and GroupId. These properties interact with the TwinCAT ADS client to read and write the respective values.

public class ChannelParameters
Inheritance
ChannelParameters
Inherited Members

Properties

ActivationOfDefaultGcode

Activation of default G-code. 0/1 default: FALSE

public ushort ActivationOfDefaultGcode { get; set; }

Property Value

ushort

G70Factor

Factor for G70.

public double G70Factor { get; set; }

Property Value

double

G71Factor

Factor for G71.

public double G71Factor { get; set; }

Property Value

double

GroupId

Group ID (only explicit for 3D and FIFO channel)

public uint GroupId { get; }

Property Value

uint

ID

Channel ID

public uint ID { get; }

Property Value

uint

InterpolationLoadLogMode

Load log mode

public InterpolationLoadLogMode InterpolationLoadLogMode { get; set; }

Property Value

InterpolationLoadLogMode

InterpolationTraceMode

Trace mode

public InterpolationTraceMode InterpolationTraceMode { get; set; }

Property Value

InterpolationTraceMode

InterpreterType

Interpreter type

public InterpreterType InterpreterType { get; }

Property Value

InterpreterType

Name

Channel name

public string Name { get; }

Property Value

string

NcLoggerLevel

Channel specific level for NC logger messages 0: errors only 1: all NC messages

public uint NcLoggerLevel { get; set; }

Property Value

uint

ProgramLoadBufferSize

Program load buffer size in bytes

public uint ProgramLoadBufferSize { get; }

Property Value

uint

ProgramNumberJobList

Program no. according to job list

public uint ProgramNumberJobList { get; }

Property Value

uint

RecordAllFeederEntries

Records all feeder entries in a log file named "TcNci.log"

public uint RecordAllFeederEntries { get; set; }

Property Value

uint

Type

Channel type

public ChannelType Type { get; }

Property Value

ChannelType