Auggie Early posts
Re: Auggie Early posts
Went back and read Arts post to my Marco post and,,,
What are you checking for linearity?
I would guess it would be the PS output versus the PWM input.
Not sure if you would check the motor speeds with that or what.
Pretty much all of the stuff you do Art is over my head but learning is fun.
My electrical training is self taught although I played and electrician in the army. :P
Glenn
What are you checking for linearity?
I would guess it would be the PS output versus the PWM input.
Not sure if you would check the motor speeds with that or what.
Pretty much all of the stuff you do Art is over my head but learning is fun.
My electrical training is self taught although I played and electrician in the army. :P
Glenn
Re: Auggie Early posts
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
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
Re: Auggie Early posts
Easier for me to create in degrees; ;D
Z=0;
start_ang=math.degtorad (0);
inc_ang=math.degtorad (60);
fullpath=360/inc_ang;
acrossflats=1.5;
toflat=(acrossflats/2);
print(start_ang);
print(inc_ang);
print(fullpath);
for( x = start_ang; x < ((2 * Const.PI)+(Const.PI/fullpath)); x += inc_ang)
{
Engine.FeedTo( toflat * math.cos(x), toflat * math.sin(x), Z, A );
}
Engine.RapidTo(0, 0, .5);
block("MotionStill");
8)
Note: MotionStill is a command that waits till the coordinates have been reached, pauses slightly then continues.
Even thou cv is on and radius is set to .01" in this next code example it acts more like exact stop mode.
for( x = start_ang; x < ((2 * Const.PI)+(Const.PI/fullpath)); x += inc_ang)
{
Engine.FeedTo( toflat * math.cos(x), toflat * math.sin(x), Z, A );
block("MotionStill");
}
If i was having any more fun, Art would be charging me. ;)
Z=0;
start_ang=math.degtorad (0);
inc_ang=math.degtorad (60);
fullpath=360/inc_ang;
acrossflats=1.5;
toflat=(acrossflats/2);
print(start_ang);
print(inc_ang);
print(fullpath);
for( x = start_ang; x < ((2 * Const.PI)+(Const.PI/fullpath)); x += inc_ang)
{
Engine.FeedTo( toflat * math.cos(x), toflat * math.sin(x), Z, A );
}
Engine.RapidTo(0, 0, .5);
block("MotionStill");
8)
Note: MotionStill is a command that waits till the coordinates have been reached, pauses slightly then continues.
Even thou cv is on and radius is set to .01" in this next code example it acts more like exact stop mode.
for( x = start_ang; x < ((2 * Const.PI)+(Const.PI/fullpath)); x += inc_ang)
{
Engine.FeedTo( toflat * math.cos(x), toflat * math.sin(x), Z, A );
block("MotionStill");
}
If i was having any more fun, Art would be charging me. ;)
Last edited by Ya-Nvr-No on Thu Nov 26, 2015 10:13 am, edited 1 time in total.
Re: Auggie Early posts
:) .. much better.
I really must get my machine hooked up..
Art
I really must get my machine hooked up..
Art
Re: Auggie Early posts
Hell no! :D your too busy coding, I have a lot more for you to do ::)
Re: Auggie Early posts
you boy's are having too much fun, look very cool art
Re: Auggie Early posts
His machine is actually moving, I have a stepper 4th axis behind me that runs so I can listen to it.
So I swap it among axis . Wont be long Ill have to hook mine up to the laser arms..
:)
Art
So I swap it among axis . Wont be long Ill have to hook mine up to the laser arms..
:)
Art
Re: Auggie Early posts
Shows circle patterns can be called and displayed on the screen as the axis's are driven to position based on a couple of changes to the variables.
https://youtu.be/FhC2MN7Sprk
https://youtu.be/FhC2MN7Sprk
Re: Auggie Early posts
I hadnt thought of that..well done.!
Art
Art
Re: Auggie Early posts
Hi everyone,
Please help me clear up a confusion. Is Auggie part of the latest release of gearotic 2 (the 2.30050 I downloaded the other day) only I cannot seem to find it in there. If so how do I enable it? I have just completed my version of an open builds OX machine running off a pokeys57cnc card and would love to give it a try from gearotic. I have a few of my own programs I designed for Ornamental turning that I would like to have a go at converting.
Alan
Please help me clear up a confusion. Is Auggie part of the latest release of gearotic 2 (the 2.30050 I downloaded the other day) only I cannot seem to find it in there. If so how do I enable it? I have just completed my version of an open builds OX machine running off a pokeys57cnc card and would love to give it a try from gearotic. I have a few of my own programs I designed for Ornamental turning that I would like to have a go at converting.
Alan
Re: Auggie Early posts
Hi Alan:
Its not yet released, but I expect by Xmas a beta version will be released. Ill likely
post more information over the next couple of weeks.
Art
Its not yet released, but I expect by Xmas a beta version will be released. Ill likely
post more information over the next couple of weeks.
Art
Re: Auggie Early posts
Art
Which pin are you using for the PWM output?
Looking at it pin 22 looks like the most logical.
Just making sure.
Glenn
Which pin are you using for the PWM output?
Looking at it pin 22 looks like the most logical.
Just making sure.
Glenn
Re: Auggie Early posts
Glen:
Unknown as yet, motion is done, but IO is yet to be implemented..next few weeks will tell...
Art
Unknown as yet, motion is done, but IO is yet to be implemented..next few weeks will tell...
Art
Re: Auggie Early posts
Art
Thanks for the reply.
Look like with the free eagle i am out of room anyway, so will have to be a second board.
I should have the gantry moving on Wednesday, yea for vacation time.
Still not sure if i am going to run my G540 or the Chinese stepper drives, hence the configuration.
Thanks
Glenn
Thanks for the reply.
Look like with the free eagle i am out of room anyway, so will have to be a second board.
I should have the gantry moving on Wednesday, yea for vacation time.
Still not sure if i am going to run my G540 or the Chinese stepper drives, hence the configuration.
Thanks
Glenn
Who is online
Users browsing this forum: No registered users and 0 guests