Test

C code posted
created at 10 Aug 21:31

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
    case 825:
      // Drehmomentregelung abbrechen und Y-Achse auf 0 runterfahren
      if (MMCAxis_Y.Command == NoCommand)
      {
        MMCAxis_Y.Parameter.Acceleration = SPS.Control.AxisControlY.RW_ParamAcceleration3;
        MMCAxis_Y.Parameter.Deceleration = SPS.Control.AxisControlY.RW_ParamDeceleration3;
        MMCAxis_Y.Parameter.Velocity = SPS.Control.AxisControlY.RW_ParamVelocity3;
        MMCAxis_Y.Parameter.Position = SPS.Control.AxisControlY.RW_AbsolutePositionGrund;
        MMCAxis_Y.Command = MoveAbsolute;
        state = 830;
      }
      break;
541 Bytes in 2 ms with coderay