Auggie Early posts

Discussions and file drops for Auggie
GlennD
Old Timer
Posts: 80
Joined: Tue Oct 18, 2011 4:19 pm

Re: Auggie Early posts

Post by GlennD »

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

Ya-Nvr-No
Old Timer
Posts: 188
Joined: Wed Sep 08, 2010 11:15 am

Re: Auggie Early posts

Post by Ya-Nvr-No »

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) )
&nbsp; {
&nbsp; &nbsp; &nbsp; Engine.FeedTo( 2 * math.cos(x), 2 * math.sin(x), Z, A );
&nbsp; &nbsp; &nbsp; print("X:= " + 2 * math.cos(x),"Y:= " + 2 * math.sin(x));
&nbsp; }
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:- &nbsp;-- 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 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 8485.28 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 8485.28 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 8485.28 &nbsp;-- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 &nbsp;-- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 6828.72 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 12565.91 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 6828.72 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 12565.91 &nbsp;-- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 &nbsp;-- Commanded 1666.65
Line : Vel:6.01 , Accel: 180.17 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 28758.73 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 6135.01 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 28758.64 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 6135.01 &nbsp;-- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 &nbsp;-- Commanded 1666.65
Line : Vel:6.01 , Accel: 180.17 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 6018.03 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 77560.97 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 6018.03 &nbsp;-- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 &nbsp;-- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 16807.08 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 6423.25 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 16807.02 &nbsp;-- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 &nbsp;-- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 7552.18 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 9879.79 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 7552.18 &nbsp;-- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 &nbsp;-- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 7428.35 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 10176.89 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 7428.34 &nbsp;-- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 &nbsp;-- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 17844.62 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 6370.93 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 17844.69 &nbsp;-- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 &nbsp;-- Commanded 1666.65
Line : Vel:1.52 , Accel: 45.53 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 6009.19 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 90137.82 &nbsp;-- Commanded 8.33
Line : Vel:8.33 , Accel: 6009.19 &nbsp;-- Commanded 8.33
Line : Vel:0.50 , Accel: 15.00 &nbsp;-- Commanded 1666.65
Line : Vel:14.99 , Accel: 8996.32 &nbsp;-- Commanded 1666.65
Attachments
cv8.JPG
Ya-Nvr-No
Old Timer
Posts: 188
Joined: Wed Sep 08, 2010 11:15 am

Re: Auggie Early posts

Post by Ya-Nvr-No »

Easier for me to create in degrees; &nbsp;;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)
&nbsp; {
&nbsp; &nbsp; &nbsp; Engine.FeedTo( toflat * math.cos(x), toflat * math.sin(x), Z, A );
&nbsp; }

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)
&nbsp; {
&nbsp; &nbsp; &nbsp; Engine.FeedTo( toflat * math.cos(x), toflat * math.sin(x), Z, A );
&nbsp; &nbsp; &nbsp; block("MotionStill");
&nbsp; }

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.
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4604
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: Auggie Early posts

Post by ArtF »

:) .. much better.

I really must get my machine hooked up..

Art
Ya-Nvr-No
Old Timer
Posts: 188
Joined: Wed Sep 08, 2010 11:15 am

Re: Auggie Early posts

Post by Ya-Nvr-No »

Hell no!&nbsp; :D your too busy coding, I have a lot more for you to do ::)
DanL
Old Timer
Posts: 362
Joined: Wed Sep 10, 2014 1:35 pm

Re: Auggie Early posts

Post by DanL »

you boy's are having too much fun, look very cool art
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4604
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: Auggie Early posts

Post by ArtF »

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 .&nbsp; Wont be long Ill have to hook mine up to the laser arms..
:)

Art
Ya-Nvr-No
Old Timer
Posts: 188
Joined: Wed Sep 08, 2010 11:15 am

Re: Auggie Early posts

Post by Ya-Nvr-No »

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
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4604
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: Auggie Early posts

Post by ArtF »

I hadnt thought of that..well done.!

Art
Alanb6448
Old Timer
Posts: 6
Joined: Fri Aug 14, 2015 11:06 am

Re: Auggie Early posts

Post by Alanb6448 »

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
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4604
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: Auggie Early posts

Post by ArtF »

Hi Alan:

&nbsp; 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
GlennD
Old Timer
Posts: 80
Joined: Tue Oct 18, 2011 4:19 pm

Re: Auggie Early posts

Post by GlennD »

Art
Which pin are you using for the PWM output?
Looking at it pin 22 looks like the most logical.
Just making sure.

Glenn
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4604
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: Auggie Early posts

Post by ArtF »

Glen:

&nbsp; Unknown as yet, motion is done, but IO is yet to be implemented..next few weeks will tell...

Art
GlennD
Old Timer
Posts: 80
Joined: Tue Oct 18, 2011 4:19 pm

Re: Auggie Early posts

Post by GlennD »

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
Attachments
BOB.png
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests