Class ChannelState
Represents the state of an NC (Numerical Control) channel, providing access to various channel properties such as error codes, group count, interpreter state, operation mode, and program information using an AdsClient.
public class ChannelState
- Inheritance
-
ChannelState
- Inherited Members
Properties
CurrentLoadedProgramName
Program name of currently loaded program (100 characters, null-terminated)
public string CurrentLoadedProgramName { get; }
Property Value
CurrentLoadedProgramNumber
Current loaded program number
public uint CurrentLoadedProgramNumber { get; }
Property Value
ErrorCode
Error code Channel
public int ErrorCode { get; }
Property Value
GroupCount
Number of groups in the Channel
public uint GroupCount { get; }
Property Value
InterpreterOperationMode
Interpreter/channel operation mode
public InterpreterOperationMode InterpreterOperationMode { get; }
Property Value
InterpreterSimulationMode
Interpreter simulation mode 0: off (default) 1: on
public uint InterpreterSimulationMode { get; }
Property Value
InterpreterState
Interpreter status
public InterpreterState InterpreterState { get; }
Property Value
TextIndex
If the interpreter is in the aborted state, the current text index can be read out here
public uint TextIndex { get; }