Class ChannelFunctions
The ChannelFunctions class provides methods to interact with and control NC (Numerical Control) channels using an AdsClient. It allows loading NC programs by number or name, starting the interpreter, setting the interpreter operation mode, setting paths for subroutines, and controlling the channel with reset, stop, retry, and skip functionalities.
public class ChannelFunctions
- Inheritance
-
ChannelFunctions
- Inherited Members
Methods
LoadProgramByName(string)
Load NC program by name. The standard NC path does not have to be given although it may. Other paths are also permitted.
public void LoadProgramByName(string programName)
Parameters
programName
string
LoadProgramByNumber(uint)
Load NC program with program number
public void LoadProgramByNumber(uint programNumber)
Parameters
programNumber
uint
ResetChannel()
Reset channel
public void ResetChannel()
RetryChannel()
"Retry" Channel(restart Channel)
public void RetryChannel()
SetInterpreterOperationMode(InterpreterOperationMode)
Set the interpreter/channel operation mode
public void SetInterpreterOperationMode(InterpreterOperationMode mode)
Parameters
SetPathForSubRoutines(string)
Set the path for subroutines
public void SetPathForSubRoutines(string path)
Parameters
path
string
SkipChannel()
"Skip" Channel (skip task/block)
public void SkipChannel()
StartInterpreter()
Start interpreter
public void StartInterpreter()
StopChannel()
Stop channel
public void StopChannel()