1 + = Close;
2 + = CounterClockwise; 
3 + = Out;  
4 + = Down;  
6 + = towards Goniometer

macro mounter
OffDewar
OnGonio
end

macro dismounter
OffGonio
OnDewar;
end

macro rest
move 1 to 800, 2 to 0, 3 to 400, 4 to 1400, 6 to 250;
end

macro up
move 1 to 1200, 3 to -1400, 4 to -400;
end

macro loop
OnOff 0
end

macro OnOff
OffDewar
OnGonio
OffGonio
OnDewar
end

macro OffDewar
up
move  2 to 400, 3 to -1400, 4 to -400, 5 to 0, 6 to -880;
move  3 to -200, 4 to 800;
move 2 to 220;
move 6 to -850
move 1 to -600

accel 3, 4 2;
maxspd 3, 4 10;
move  3 to 150, 4 to 1085;
accdec 3,4 10;
maxspd 3,4 100;

move 1 to 1200;
wiggle; wobble; shake;
move  2 to 920, 3 to 0;
move 6 to -880
up
end

macro OnGonio
up
move  2 to 240, 6 to 740
move 1 to 1200, 2 to 1000, 3 to -20, 4 to 1040, 5 to 0;
move  6 to 810;
move 2 to 1000, 3 to 50, 4 to 1074, 6 to 790;
move 2 to 300, 3 to 210, 4 to 1120, 6 to 810;
wiggle; wobble; shake;
move 1 to -1000, 3 to 220;
accdec 3, 4 2;
maxspd 3, 4 10;
move  3 to -250, 4 to 700, 6 to 740;
accdec 3,4 10;
maxspd 3,4 100
move 1 to 1000
up
rest
end

macro OffGonio
up
move  2 to 240, 6 to 720
move  3 to -30, 4 to 910;
move  6 to 770;
move 1 to -700;
accel 3, 4 2;
maxspd 3, 4 10;
move  3 to 220, 4 to 1120;
accdec 3,4 10;
maxspd 3,4 100
move 1 to 1200
move  2 to 950, 3 to 60, 4 to 1080,  6 to 740;
move  2 to 1150, 3 to 0, 4 to 1080;
up
end

macro OnDewar
up
move  2 to 130, 3 to -1400, 4 to -400, 5 to 0, 6 to -880;
#move 3 to -210, 4 to 800;
move  2 to 1124,  3 to -85, 4 to 1030;
move 6 to -850;
move  2 to 220, 3 to 170, 4 to 1100;

wiggle; wobble; shake;
move 1 to -700;
accel 3, 4 2;
maxspd 3, 4 10;
move  3 to -260, 4 to 732;
accdec 3,4 10;
maxspd 3,4 100
up
rest
end

macro wiggle
move 2 by 50
move 2 by -100
move 2 by 50
end
macro wobble
move 3 by 30;
move 3 by -60;
move 3 by 30;
end
macro shake
move 6 by -20
move 6 by 40
move 6 by -20
end

macro cooldown
move 6 to -700, 2 to 900;
move 3 to -1000, 4 to 0;
move 3 to 300, 4 to 1170;
move 1 to 900;
end

macro cooldownOLD
up
move 6 to -700, 2 to 900;
move 3 to -1000, 4 to 0;
move 3 to 300, 4 to 1170;
move 1 to 900;
end

macro warmup
up
move 3 to -916, 4 to 0, 6 to -405;
move 3 to -500, 4 to 110;
end

macro down
move 3 to 200, 4 to 1100;
end

macro scoochup
move 3 by -10, 4 by -10;
end

macro scoochdown
move 3 by 10, 4 by 10;
end

ROBOT_END