Browse Source

Revise GalilRotation keydown speed ratio;

niuyx 1 week ago
parent
commit
f0ee67074d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      CyberX8_RT/Devices/AXIS/GalilRotation/GalilRotationAxis.cs

+ 2 - 2
CyberX8_RT/Devices/AXIS/GalilRotation/GalilRotationAxis.cs

@@ -336,7 +336,7 @@ namespace CyberX8_RT.Devices.AXIS.GalilLipsel
                 case PROFILE_VELOCITY:
                     _profileVelocity = CalculateMultiplySpeedRatio(CalculateValueMultiplyScale(value));
                     _commandMotionData.FileProfileVelocity = value;
-                    GalilControllerCfgManager.Instance.SetAxisCommand(Module, Name, "SP", BeckhoffVelocityUtil.ConvertVelocityToDegPerSecondByRPM(_profileVelocity));
+                    GalilControllerCfgManager.Instance.SetAxisCommand(Module, Name, "SP", _profileVelocity);
                     break;
                 case PROFILE_ACCEL:
                     _profileAcceleration = CalculateDivideAccelerationRatio(CalculateValueMultiplyScale(value));
@@ -351,7 +351,7 @@ namespace CyberX8_RT.Devices.AXIS.GalilLipsel
                 case HOMING_VELOCITY:
                     _profileHomingVelocity = CalculateMultiplySpeedRatio(CalculateValueMultiplyScale(value));
                     _commandMotionData.FileHomingVelocity = value;
-                    GalilControllerCfgManager.Instance.SetAxisCommand(Module, Name, "SP", BeckhoffVelocityUtil.ConvertVelocityToDegPerSecondByRPM(_profileHomingVelocity));
+                    GalilControllerCfgManager.Instance.SetAxisCommand(Module, Name, "SP", _profileHomingVelocity);
                     break;
                 case HOMING_VELOCITY_SLOW:
                     _profileHomingVelocitySlow = CalculateMultiplySpeedRatio(CalculateValueMultiplyScale(value));