//Demoprogramm mit Interpolation 

//Initialisierung: Festlegen der Positionen
          SCO 0, 0, 0       //Position 0, Achse 0
          SCO 0, 1, 0       //Position 0, Achse 1
          SCO 0, 2, 0       //Position 0, Achse 2
          SCO 1, 0, 5000    //Position 1, ebenfalls für alle Achsen
          SCO 1, 1, 20000
          SCO 1, 2, 80000
          SCO 2, 0, 200000  //Position 2
          SCO 2, 1, 200000
          SCO 2, 2, 200000

//Bewegungen
          MVP COORD, 7, 0   //Alle Achsen auf Position 0
          CSUB WaitForAll   //Warten, bis alle da sind
          MVP COORD, 7, 1   //Position 1
          CSUB WaitForAll
          MVP COORD, 7, 2   //Position 2
          CSUB WaitForAll
          MVP COORD, 7, 0   //Position 3
          CSUB WaitForAll
          STOP              //Ende des Hauptprogramms

//Unterprogramm: Warten, bis alle Achsen ihre Zielpositionen erreicht haben
WaitForAll:
          WAIT POS, 0, 0
          WAIT POS, 1, 0
          WAIT POS, 2, 0
          WAIT TICKS, 0, 50
          RSUB

