Class AxisParameters
Represents the parameters of an axis in a TwinCAT NC system. This class provides properties to get and set various parameters of an axis, such as ID, name, type, cycle time, physical unit, velocities, monitoring settings, error reaction mode, and more. It uses an AdsClient to read and write these parameters from a TwinCAT system. The class also includes methods to read all sub-elements like encoder IDs, controller IDs, and drive IDs.
public class AxisParameters
- Inheritance
-
AxisParameters
- Inherited Members
Properties
Acceleration
Default data set (e.g. mm/s^2)
public double Acceleration { get; set; }
Property Value
ChannelID
Channel ID
public uint ChannelID { get; }
Property Value
ChannelName
Channel name
public string ChannelName { get; }
Property Value
ChannelType
Channel type
public ChannelType ChannelType { get; }
Property Value
ControllerCount
Number of controllers that belong to this axis.
public uint ControllerCount { get; }
Property Value
CycleTime
Cycle time axis (SEC)
public uint CycleTime { get; }
Property Value
Deceleration
Default data set (e.g. mm/s^2)
public double Deceleration { get; set; }
Property Value
DriveCount
Number of drives that belong to this axis.
public uint DriveCount { get; }
Property Value
EncoderCount
Number of encoders that belong to this axis.
public uint EncoderCount { get; }
Property Value
EncoderIDs
Axis encoder IDs
public uint[] EncoderIDs { get; }
Property Value
- uint[]
ErrorDelaySeconds
Error delay time (if delayed error reaction is selected)
public double ErrorDelaySeconds { get; set; }
Property Value
ErrorReactionMode
Error reaction mode: 0: instantaneous (default) 1: delayed (e.g. for Master/Slave-coupling)
public ErrorReactionMode ErrorReactionMode { get; set; }
Property Value
GroupID
Group ID
public uint GroupID { get; }
Property Value
GroupName
Group name
public string GroupName { get; }
Property Value
GroupType
Group type
public GroupType GroupType { get; }
Property Value
ID
Axis ID
public uint ID { get; }
Property Value
Jerk
Default data set (e.g. mm/s^3)
public double Jerk { get; set; }
Property Value
LoopEnabled
Loop enabled
public bool LoopEnabled { get; set; }
Property Value
LoopingDistance
Looping distance (±) e.g. mm
public double LoopingDistance { get; set; }
Property Value
MaxPermittedAcceleration
Maximum permitted acceleration
public double MaxPermittedAcceleration { get; set; }
Property Value
MaxPermittedDeceleration
Maximum permitted deceleration
public double MaxPermittedDeceleration { get; set; }
Property Value
MotionMonitoringEnabled
Motion monitoring enabled
public bool MotionMonitoringEnabled { get; set; }
Property Value
MotionMonitoringSeconds
Motion monitoring time.
public double MotionMonitoringSeconds { get; set; }
Property Value
Name
Axis name
public string Name { get; }
Property Value
PhysicalUnit
Physical unit
public string PhysicalUnit { get; }
Property Value
PositionRangeMonitoringEnabled
Position range monitoring?
public bool PositionRangeMonitoringEnabled { get; set; }
Property Value
PositionRangeMonitoringWindow
Position range monitoring window
public double PositionRangeMonitoringWindow { get; set; }
Property Value
PulseWayNegativeDirection
Pulse way in neg. direction e.g. mm
public double PulseWayNegativeDirection { get; set; }
Property Value
PulseWayPositiveDirection
Pulse way in pos. direction e.g. mm
public double PulseWayPositiveDirection { get; set; }
Property Value
RefVelocityAtRefOutput
Reference velocity at reference output (velocity pre-control)
public double RefVelocityAtRefOutput { get; set; }
Property Value
RefVelocityCamDirection
Ref. velocity in cam direction
public double RefVelocityCamDirection { get; set; }
Property Value
RefVelocitySyncDirection
Ref. velocity in sync direction
public double RefVelocitySyncDirection { get; set; }
Property Value
TargetPositionMonitoringEnabled
Target position monitoring enabled
public bool TargetPositionMonitoringEnabled { get; set; }
Property Value
TargetPositionMonitoringSeconds
Target position monitoring time in seconds.
public double TargetPositionMonitoringSeconds { get; set; }
Property Value
TargetPositionMonitoringWindow
Target position monitoring window e.g. mm
public double TargetPositionMonitoringWindow { get; set; }
Property Value
Type
Axis type
public AxisType Type { get; }
Property Value
VelocityHandFast
Velocity hand fast
public double VelocityHandFast { get; set; }
Property Value
VelocityHandSlow
Velocity hand slow
public double VelocityHandSlow { get; set; }
Property Value
VelocityRapidTraverse
Velocity rapid traverse
public double VelocityRapidTraverse { get; set; }