public override void EnableAxis(MotionSystem.RealAxis axis, bool bEnable) { axis.Enabled = bEnable; axis.MotorCountsPerMM = 300; axis.MaxLimit = 20; axis.MinLimit = -20; }
public override void MoveAbsAxis(MotionSystem.RealAxis axis, MSpeed speed) { double x = GalvoX.TargetMotorCounts; double y = GalvoY.TargetMotorCounts; SendData("JumpAbs", string.Format("{0},{1}", x, y)); GalvoX.CurrentMotorCounts = x; GalvoY.CurrentMotorCounts = y; }
// Motion System overrides public override void HomeAxis(MotionSystem.RealAxis axis) { SendData("JumpAbs", "0,0"); GalvoX.CurrentMotorCounts = 0; GalvoY.CurrentMotorCounts = 0; }