CAMheads CNC Router Forum By: CAMaster CNC

Go Back   CAMheads CNC Router Forum By: CAMaster CNC > Software > General Discussion

Reply
 
Thread Tools Display Modes
  #21  
Old 09-22-2015, 07:39 AM
BradyWatson BradyWatson is offline
CAMhead Legend
 
Join Date: Oct 2014
Location: 1 hour South of Philly
Posts: 279
Default

The biggest issue with DP is figuring out the post for your machine. ALL of them are jacked up one way or another. The one for my machine was completely backwards. It's worth figuring out...You'll get it.

-B
__________________
IBILD Solutions - High Definition 3D Laser Scanning Services - Advanced CNC Training and Consultation - Vectric Custom Video Training IBILD.com
Reply With Quote
  #22  
Old 09-22-2015, 11:31 AM
mike.davison mike.davison is offline
CAMaster Owner
 
Join Date: Jul 2015
Location: Bolton, Massachusetts
Posts: 436
Default

Quote:
Originally Posted by BradyWatson View Post
The biggest issue with DP is figuring out the post for your machine. ALL of them are jacked up one way or another. The one for my machine was completely backwards. It's worth figuring out...You'll get it.
-B
That has been a challenge. But, since I'm a cnc noob and don't even have my Stinger yet I may be a bit slower than others. I have made some progress on the DP post, but it's still broken. Biggest issue I can see at the moment is that the A axis is parallel to the X axis so all the rotary movements are A and X rather than A and Y as required for CAMaster. Have yet to see a way to change this.

Feed rates are all the same -- XYZA. Machine definition assumes rotary is on top of the table (and on the X axis). Not sure the tool change instructions work with FTC. Adventure!
__________________
Mike Davison
Stinger II 4x4, Recoil, spindle, FTC, Aspire, Sketchup
http://www.DavisonWoodworks.com/
Reply With Quote
  #23  
Old 09-22-2015, 01:22 PM
mike.davison mike.davison is offline
CAMaster Owner
 
Join Date: Jul 2015
Location: Bolton, Massachusetts
Posts: 436
Default

This may be fairly close to correct. Please review/comment/etc. Thanks.

This highly complex 3d image was created in Sketchup and exported as an STL.




It was aligned for the rotary in DeskProto like this:



The roughing pass is with a 1/2" BN bit going around the object then moving along the A axis. A then Y? The finishing pass is an 1/8" BN bit going in the Y direction then A.

Was not sure about tool change commands for an FTC. Just generate a Tn command or is more needed?

The generated G code:
;
; DeskProto post processor for WinCNC
; Edited M. Davison, 9/22/2015
;
; Some querks:
; a) A axis aligned with Y axis so X and Y
; are swapped in the Movement section.
; b) Feedrate covers all axis. Workable?
; c) Spindle speed likely needs adjustment
;
; Remaining open issues:
; a) Toolchange command ok for FTC?
; b) movements sensable?
; c) spindle speed sensable?
;
G90
G53 Z0
T2
S5000
M3
G0 Y0. Z-5.0271 A0.
F 400
G1 Z-4.6334
F 300
G1 Z-4.4878 A42.2701
G1 Z-4.3422 A0.
G1 Z-4.2299 A33.1115
F 250
G1 Z-4.1177 A0.
G1 A42.2701
G1 Z-4.1265 A42.9746
F 300
G1 Z-4.1784 A43.6791
G1 Z-4.2321 A44.3836
G1 Z-4.2878 A45.0881
..... deleted 67k lines ....
G1 Y1.5172 Z-2.1427
G1 Y4.9496
G1 Y4.9994 Z-3.0238
G0 Z-5.0271
T3
S5000
M3
G0 Y0. Z-5.0035 A0.
G1 Z-4.6098
F 200
G1 Z-0.8067
G1 Y0.0987
G1 Y0.1118 Z-2.915
G1 Y0.125 Z-2.9424
G1 Y0.1381 Z-2.9595
G1 Y0.1513 Z-2.9719
G1 Y0.1645 Z-2.9813
..... deleted 85k lines .....
G1 Y6.3092 Z-2.9719
G1 Y6.3223 Z-2.9595
G1 Y6.3355 Z-2.9424
G1 Y6.3487 Z-2.915
G1 Y6.3618 Z-0.8067
G1 Y6.4724
G0 Z-5.0035
G53 Z0
M5
Attached Images
File Type: jpg test1.jpg (6.7 KB, 73 views)
File Type: jpg test1-dp.jpg (9.5 KB, 72 views)
__________________
Mike Davison
Stinger II 4x4, Recoil, spindle, FTC, Aspire, Sketchup
http://www.DavisonWoodworks.com/
Reply With Quote
  #24  
Old 09-24-2015, 07:53 PM
BradyWatson BradyWatson is offline
CAMhead Legend
 
Join Date: Oct 2014
Location: 1 hour South of Philly
Posts: 279
Default

Mike,
You can always email Lex @ DP and he will get you sorted out. I run a different color machine, so my post is different than yours.

-B
__________________
IBILD Solutions - High Definition 3D Laser Scanning Services - Advanced CNC Training and Consultation - Vectric Custom Video Training IBILD.com
Reply With Quote
  #25  
Old 09-24-2015, 11:34 PM
mike.davison mike.davison is offline
CAMaster Owner
 
Join Date: Jul 2015
Location: Bolton, Massachusetts
Posts: 436
Default

Brady,

I have corresponded with Lex and would not have figured out some of the post details without his input. This is another reason to look forward to the actual arrive my my Stinger so I can try out the G code generated by this post!

Overall, the generated G code looks similar to other G code for a Stinger so it might actually work.

cheers, Mike
__________________
Mike Davison
Stinger II 4x4, Recoil, spindle, FTC, Aspire, Sketchup
http://www.DavisonWoodworks.com/
Reply With Quote
  #26  
Old 09-25-2015, 01:09 AM
Charlie_L Charlie_L is offline
Stinger II Owner
 
Join Date: Mar 2012
Location: Wisconsin
Posts: 1,394
Default

Mike,

I enjoy the challenge of trying to learn Gcode, but others here are the experts, not me.

With that in mind the Z values with the minus 5 values make me nervous. In my case, I would then expect the end of the tool to be 5 inches below the centerline of the rotary.

Another thing I think I learned while playing with gcode involved putting multiple x,y,z,or a values on one single line. The way I make sense of it in my head is by reading each row, one at a time. When the tool reaches that position, it is ready for the next row of commands. So, if that next row moves the z and the a, it will do the math so that when the machine stops moving it will be at that new location.

I think this is how your example will move.... I put my thoughts in brackets
G0 Y0. Z-5.0271 A0. [rapid move to this location]
F 400
G1 Z-4.6334 [z drops -4.634 below centerline]
F 300
G1 Z-4.4878 A42.2701 [z raises to -4.4878 while rotating from A0 to A 42.2]
G1 Z-4.3422 A0. [z raises to -4.4878 while rotating back to A0]

I may have this wrong and others will chime in I hope.

Here is a hand coded file I did to create a walking stick like Russell did. The code is very crude and not the only way to do it. However, after lots of experimenting, I found it worked for me.
https://www.dropbox.com/s/4rwlhagay1...stick.tap?dl=0

Here is a photo showing a portion of the stick.
The first 10.5 inches are a cylinder, then the next section is tapered over 24 inches, then a slightly steeper taper for the last 7.5 inches.
Attached Images
File Type: jpg 2015-08-13 17.33.00.jpg (92.3 KB, 19 views)
__________________
Charlie L
Stinger II, 48 by 48, 1.7 kW Spindle, FTC + Laser + Recoil + Vacuum, July 2012
WinCNC 2.5.03, Aspire 9, PhotoVCarve, Windows 7 Pro SP1
Reply With Quote
  #27  
Old 09-25-2015, 01:09 PM
mike.davison mike.davison is offline
CAMaster Owner
 
Join Date: Jul 2015
Location: Bolton, Massachusetts
Posts: 436
Default

Charlie,

Those negative Z values bothered me too, but only negative values worked with the demo version of WinCNC I have . My assumption is that without actual CNC HW WinCNC defaults to some odd ranges/behaviors and that I would have to fix things like this once there was a shiny yellow machine in my shop. But, hey, thanks for pointing out anything that looks wrong!

Your description of G code movement commands makes sense. Speaking from my vast inexperience, it looks pretty clear that G1 is a linear movement to the stated location. G2 and G3 are arc movements to the stated destination. Funny that I don't see many examples of G2 and G3 movements out there, however. Seems like arcs would be a better machining approach.

Thanks for the nice, annotated example. That's really helpful in understanding what G code for a CAMaster rotary should look like. Nice work, by the way.

So... once I have Shiny Yellow Machine (tm) I'll finalize the DP post and pass it back to Lex @ DP. It looks like DP would be a useful tool in addition to the ones from Vectric.

Thanks,
Mike
__________________
Mike Davison
Stinger II 4x4, Recoil, spindle, FTC, Aspire, Sketchup
http://www.DavisonWoodworks.com/
Reply With Quote
  #28  
Old 09-26-2015, 07:33 PM
kyeakel kyeakel is offline
CAMaster Owner
 
Join Date: Sep 2014
Location: Curwensville, PA
Posts: 77
Default

Mike,
I have a Stinger I with the rotary axis and want to try deskproto for generating toolpaths. Which post did you start with? I don't see WinCNC, I do see WinPC-NC / PC-NC based machine.

Thanks,
Kipp
__________________
Stinger I
1.7kw spindle
Performance kit
Recoil
Aspire 9
Reply With Quote
  #29  
Old 09-26-2015, 08:11 PM
mike.davison mike.davison is offline
CAMaster Owner
 
Join Date: Jul 2015
Location: Bolton, Massachusetts
Posts: 436
Default

Quote:
Originally Posted by kyeakel View Post
I have a Stinger I with the rotary axis and want to try deskproto for generating toolpaths. Which post did you start with? I don't see WinCNC, I do see WinPC-NC / PC-NC based machine.
Kipp,

You need a machine definition file for the table area and one for the rotary. I created one of each from scratch. You also need a post processor definition file. I started with the DP-provided wincnc file and tweaked from there.

I am including the 2 machine definition files I created for a Stinger II SR44 and the wincnc post processor file I tweaked. Note that none of these files have been tested as I don't have my machine yet and I'm sure they are not correct. Hopefully they help you get closer to a working configuration.

The 3 attached files need to be renamed (This forum wont allow .mch and .ppr file suffixes) and placed in ProgramData\DeskProto6.1\Drivers\. The attachements should be StingerII.mch, StingerIIA.mch and wincnc.ppr.

When you do get this working please share.

cheers,
Mike
Attached Files
File Type: txt StingerII.txt (651 Bytes, 5 views)
File Type: txt StingerIIA.txt (653 Bytes, 6 views)
File Type: txt wincnc.txt (3.2 KB, 4 views)
__________________
Mike Davison
Stinger II 4x4, Recoil, spindle, FTC, Aspire, Sketchup
http://www.DavisonWoodworks.com/
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.