Hello Guest it is March 29, 2024, 05:13:27 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ya-Nvr-No

121
Ya I remember that video, I thought it cool too, but having the mill head I don't need to worry about shaking my machine like the exercise machine that Mom had in the 60's.  ;D

122
Thanks, yep I've cut squares, hex's and rectangles so far. Did you not see the videos I linked to earlier?

Still adding to the macros, added calculations and new features.

Hopefully with Mach4 we will get it all. Only time will tell.

I'm as happy as a kid at Christmas with how this is working so far. I love my Dynomotion/Kflop/Kanalog package.

123
Thank you Sir, nice to have a plan start to come together.  ;D

The photo shows a 1-1/4" x 7 thread cut in 10 passes and 3 cleanup passes at a 29degree angle.

and for you TP you said you like fancy macros and cool code here is the macro I created to cut threads using G32.
Have one for the cutting uniform shapes too (1 - 360+) sides.
makes life a lot easier then relying on a post processor that mostly spits out useless code.

Code: [Select]
O7734 (G32 Macro for Threading)
#1=-1.15 (length in Z)
#2=1.125 (diameter of screw)
#3=.2 (Z clearance)
#8=.3 (X clearance)
#4=10 (number of cutting steps or passes)
#5=3 (number of cleanup passes)
#21=0 (Start in Z position)
#6=29 (vector angle to thread at)
#7=7 (Threads per inch)
(External Thread Depth = .61343 x [ 1/# of threads per inch])
(Internal Thread Depth = .54127 x [ 1/# of threads per inch])

#20=#2 (X value to go to)
#7=[1/#7] (Pitch Feed)
#9=[0.61343 * #7] (Thread depth at 75%)
#9=[#9/#4] (Thread pass increment depth)
#6=tan[#6*#9](step over value in Z using the vector angle)
#9=[#9*2] (to make it in Diameter mode)

G20 G90
m100 (my spindle orientation call)
G97 S400 M04
M98 P100 L[#4] (cut threading passes)
M98 P101 L[#5] (cleanup passes)
G0 X#2
M30

O100 (Cut)
G00 X[#2 + #8] Z[#21 + #3]
#20=[#20 - #9]
X[#20]
G32 X[#20] Z[#1] F#7
G00 X[#2 + #8]
#21=[#21 - #6]
Z[#21 + #3]
g4p2
m99

O101 (Finish)
G00 X[#2 + #8] Z[#21 + #3]
X[#20]
G32 X[#20] Z[#1] F#7
G00 X[#2 + #8]
Z[#21 + #3]
g4p2
m99



Note: No guarantees it works on your setup as this was written for kmotionCNC until Mach4 plugin is done.

124

Couple of quick video I shot today, short cnc dual macro program that cuts the threads and mills the hex.

https://www.youtube.com/watch?v=lvzUZ9TeJPE&feature=youtu.be

https://www.youtube.com/watch?v=PV54gmcTm0E&list=UUHGIWSo4uMzm3jhpJUzAYrg

125
Finally took some time to get my (Dynomotion's KFlop/Kanalog) four axis Lathe using (3) Parker Gemini Servos and (2) Mitsubishi J3 Servo drives all analog 0-10volt setup to cut Threads (G32)
Yes, its just wax, so much easier on my blood pressure.  ;) What I'd learned from programming with Lua helped in my need to be able to control the Spindle as a rotating drive and as a positioning device, then have it switch back and forth automatically. Having a vision and being able to achieve it takes TIME.  Educating by reading, testing & time to get capable, and get my mind wrapped around all the issues.  

Note: The Kflop uses C programming and this was cut using their KmotionCNC software.

Not sure where Dynomotion is on their plugin for Mach4 but the design and build of this machine was focused on having control to turn and contour mill using Mach4 (started this project years ago). Though I used this machine as a turning center over the past couple of years, I am getting closer to my dream. ;)

Never give up 8) Everyone learns at there own pace.

126
Mach4 General Discussion / Re: Screen Set Ideas
« on: January 03, 2015, 07:11:19 AM »
Inspired by an xls file Hood posted on the tool he created to calculate Speeds and Feeds (Thank You  ;)), I went back and updated the RPM Wizard I'd posted earlier. Altering an existing Wizard is a good way to teach yourself Lua. Make sure you save any edited code as a new file before you attempt to run it.

As a side note: I found that once a wizard screen has been displayed you really cant use the Debug Step feature, not sure if its a bug or inherent to Lua. So while testing expect a lot of crashes and restarts.  :-[

127
Mach4 General Discussion / Re: Screen Set Ideas
« on: January 02, 2015, 07:01:34 AM »
For all of us trying to learn Lua:
I came across a pretty good resource for some lua examples, some work right out of copy and pasting and some need some series work. But it gives you a new goto place to pick up some tid bits

http://www.wellho.net/mouth/1744_Lua-examples-Lua-Courses.html

128
Mach4 General Discussion / Re: Screen Set Ideas
« on: January 01, 2015, 07:42:17 AM »
Happy New Year

woke up early to create a search function for text in the current loaded gcode file, place it under a button as a script.
does check for upper or lower case Text, but not for missing or additional characters
So a m6 and m06 are unique but a M6 and m6 are not
shows the line number found and the line string value in the history box
I needed this for my run from here function.



129
Mach4 General Discussion / Re: Screen Set Ideas
« on: December 31, 2014, 09:16:00 AM »
Where are these people? I read every post here and on the Yahoo Group, and if anyone is working on screensets, they're not talking about it.

What  ??? I've seen posts of Pattons and popparbears screen sets read about Freeman, Nick and others working with Lua and Screens  
They are all probably learning by doing and don't want the exposure. (starting to wonder why I do,  ;) ) Its going to be years to get where Mach4 is the "standard", if ever, all depends on the new breed of CNC users and/or savvy people that can take the ball and run. It's still in the early stages, everyone seems to expect something different. Give it some time, learn a little every time you play. Life is frustrating, but you don't give up and :'(

"There's no crying in CNC"   ::)

130
General Mach Discussion / Re: scottish thistle
« on: December 31, 2014, 08:47:18 AM »
How about something like this  ???

No Guarantees, I just threw it together in a few minutes, but gives you something to work with.

Doesn't take long to do this kind of thing, but it takes years to learn it all.
I'm learning to like to rough things out in wood using CNC then use some hand carving tools to give it some character.