to go along with Arts recent Constant Velocity training video here is a square plotted at incremental angles, I was testing waveform consistency and that the pencil plotter tracked well at various feeds & cv settings.
https://www.youtube.com/watch?v=fKp5jbWVzUE
My code; run from the script window:
sleep(5); //gives me some time to get to the machine to watch.
Engine.RapidTo(0, 0, .2); //X,Y,Z start position
block("MotionStill"); // wait for it to get there
Z=0;
for(i = 0; i < 90; i = i + 10)
{
startang=i/2;
for( x = startang; x < (2 * (Const.PI))+startang; x += (Const.PI/2) )
{
Engine.FeedTo( 2 * math.cos(x), 2 * math.sin(x), Z, A );
print("X:= " + 2 * math.cos(x),"Y:= " + 2 * math.sin(x));
}
Engine.RapidTo(X, Y, .2);
}
Engine.RapidTo(0, 0, .2);
block("MotionStill");
Then this is a typical log file output, the X & Y are from my script print() function.
the Line : Vel:- , Accel:- -- Commanded - are from Auggies data stream using the current settings from my setup.
X:= 2 Y:= 0
X:= -8.74228e-008 Y:= 2
X:= -2 Y:= -1.74846e-007
X:= 2.38498e-008 Y:= -2
X:= 0.567324 Y:= -1.91785
X:= 1.91785 Y:= 0.567325
X:= -0.567325 Y:= 1.91785
X:= -1.91785 Y:= -0.567324
X:= 0.567324 Y:= -1.91785
X:= -1.67814 Y:= -1.08804
X:= 1.08804 Y:= -1.67814
X:= 1.67814 Y:= 1.08804
X:= -1.08804 Y:= 1.67814
X:= -1.67814 Y:= -1.08804
X:= -1.51938 Y:= 1.30058
X:= -1.30057 Y:= -1.51938
X:= 1.51938 Y:= -1.30057
X:= 1.30057 Y:= 1.51938
X:= 0.816164 Y:= 1.82589
X:= -1.82589 Y:= 0.816163
X:= -0.816162 Y:= -1.82589
X:= 1.82589 Y:= -0.816161
X:= 1.98241 Y:= -0.264704
X:= 0.264702 Y:= 1.98241
X:= -1.98241 Y:= 0.264701
X:= -0.2647 Y:= -1.98241
X:= 0.308503 Y:= -1.97606
X:= 1.97606 Y:= 0.308504
X:= -0.308505 Y:= 1.97606
X:= -1.97606 Y:= -0.308507
X:= -1.80738 Y:= -0.856365
X:= 0.856367 Y:= -1.80738
X:= 1.80738 Y:= 0.856368
X:= -0.856369 Y:= 1.80738
X:= -1.33388 Y:= 1.49023
X:= -1.49023 Y:= -1.33388
X:= 1.33388 Y:= -1.49022
X:= 1.49022 Y:= 1.33388
Line : Vel:5.03 , Accel: 150.80 -- Commanded 8.33
Line : Vel:8.33 , Accel: 8485.28 -- Commanded 8.33
Line : Vel:8.33 , Accel: 8485.28 -- Commanded 8.33
Line : Vel:8.33 , Accel: 8485.28 -- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 -- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 -- Commanded 8.33
Line : Vel:8.33 , Accel: 6828.72 -- Commanded 8.33
Line : Vel:8.33 , Accel: 12565.91 -- Commanded 8.33
Line : Vel:8.33 , Accel: 6828.72 -- Commanded 8.33
Line : Vel:8.33 , Accel: 12565.91 -- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 -- Commanded 1666.65
Line : Vel:6.01 , Accel: 180.17 -- Commanded 8.33
Line : Vel:8.33 , Accel: 28758.73 -- Commanded 8.33
Line : Vel:8.33 , Accel: 6135.01 -- Commanded 8.33
Line : Vel:8.33 , Accel: 28758.64 -- Commanded 8.33
Line : Vel:8.33 , Accel: 6135.01 -- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 -- Commanded 1666.65
Line : Vel:6.01 , Accel: 180.17 -- Commanded 8.33
Line : Vel:8.33 , Accel: 6018.03 -- Commanded 8.33
Line : Vel:8.33 , Accel: 77560.97 -- Commanded 8.33
Line : Vel:8.33 , Accel: 6018.03 -- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 -- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 -- Commanded 8.33
Line : Vel:8.33 , Accel: 16807.08 -- Commanded 8.33
Line : Vel:8.33 , Accel: 6423.25 -- Commanded 8.33
Line : Vel:8.33 , Accel: 16807.02 -- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 -- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 -- Commanded 8.33
Line : Vel:8.33 , Accel: 7552.18 -- Commanded 8.33
Line : Vel:8.33 , Accel: 9879.79 -- Commanded 8.33
Line : Vel:8.33 , Accel: 7552.18 -- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 -- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 -- Commanded 8.33
Line : Vel:8.33 , Accel: 7428.35 -- Commanded 8.33
Line : Vel:8.33 , Accel: 10176.89 -- Commanded 8.33
Line : Vel:8.33 , Accel: 7428.34 -- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 -- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 -- Commanded 8.33
Line : Vel:8.33 , Accel: 17844.62 -- Commanded 8.33
Line : Vel:8.33 , Accel: 6370.93 -- Commanded 8.33
Line : Vel:8.33 , Accel: 17844.69 -- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 -- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 -- Commanded 8.33
Line : Vel:8.33 , Accel: 6009.19 -- Commanded 8.33
Line : Vel:8.33 , Accel: 90137.82 -- Commanded 8.33
Line : Vel:8.33 , Accel: 6009.19 -- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 -- Commanded 1666.65
Line : Vel:14.99 , Accel: 8996.32 -- Commanded 1666.65