Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
namespace RobotNet10.CANOpen.CiA402.Enums;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Control mode: SDO only, PDO only, or Hybrid (SDO for config, PDO for real-time)
|
||||
/// </summary>
|
||||
public enum ControlMode
|
||||
{
|
||||
/// <summary>
|
||||
/// Chỉ dùng SDO - chậm nhưng không cần cấu hình PDO
|
||||
/// </summary>
|
||||
SdoOnly,
|
||||
|
||||
/// <summary>
|
||||
/// Chỉ dùng PDO - nhanh nhất, cần cấu hình PDO mapping trên device
|
||||
/// </summary>
|
||||
PdoOnly,
|
||||
|
||||
/// <summary>
|
||||
/// Hybrid: SDO cho configuration, PDO cho real-time control (recommended)
|
||||
/// </summary>
|
||||
Hybrid
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
namespace RobotNet10.CANOpen.CiA402.Enums;
|
||||
|
||||
public enum DriveState
|
||||
{
|
||||
Unknown,
|
||||
NotReadyToSwitchOn,
|
||||
SwitchOnDisabled,
|
||||
ReadyToSwitchOn,
|
||||
SwitchedOn,
|
||||
OperationEnabled,
|
||||
QuickStopActive,
|
||||
FaultReactionActive,
|
||||
Fault
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
namespace RobotNet10.CANOpen.CiA402.Enums;
|
||||
|
||||
public enum OperationMode : sbyte
|
||||
{
|
||||
NoMode = 0,
|
||||
ProfilePosition = 1,
|
||||
Velocity = 2,
|
||||
ProfileVelocity = 3,
|
||||
ProfileTorque = 4,
|
||||
Homing = 6,
|
||||
InterpolatedPosition = 7,
|
||||
CyclicSyncPosition = 8,
|
||||
CyclicSyncVelocity = 9,
|
||||
CyclicSyncTorque = 10
|
||||
}
|
||||
Reference in New Issue
Block a user