Home
Downloads
Mach and LazyCam
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
German Forum
Italian Forum
Portugese Forum
Resources
Links
User Reviews
User Videos
Contact Us
CNCZone
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 20, 2008, 10:54:06 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
G-Code, CAD, and CAM
G-Code, CAD, and CAM discussions
Help with multiple passes
Pages:
«
1
2
Go Down
« previous
next »
Author
Topic: Help with multiple passes (Read 1122 times)
0 Members and 1 Guest are viewing this topic.
Graham Waterworth
Administrator
Online
Posts: 1,166
West Yorkshire, England
Re: Help with multiple passes
«
Reply #10 on:
July 18, 2008, 03:43:26 PM »
Hi Sage,
the circle code starts and finishes at the same point so it has no need to rapid up and down, the line M98 P0005 L51 tells the main program to call the sub program O0005 51 times.
Here is a commented snippet of your code.
N2 M6 T2(TOOL Change 1/4 centercut endmill)
G43 H2
G0
M3
(1ST SLOT)
X4.7834 Y4.0789 (move to start of slot)
Z.600 (move clear of part by 600 thou)
M98 P0002 L51 (call sub O0002 51 times)
G00 G90 Z.6 (change to absolute and rapid clear)
(2ND SLOT)
(code removed)
........
M1
M30
O0002 (FIRST SUB)
G00 G91 Z-.6 (set to incremental and rapid to -600 thou)
G1 Z-.01 F.50 (feed into job)
G90 (set to absolute)
G2 X4.2265 Y3.6499 I-1.9342 J1.9351 F4.00 (create arc)
G0 G91 Z.6 (set to incremental and rapid up 600 thou)
G90 X4.7834 Y4.0789 (rapid back to start of arc)
M99 (go back to main program)
Any questions just ask.
Graham.
«
Last Edit: July 18, 2008, 03:45:07 PM by Graham Waterworth
»
Logged
G-Code is on the cutting edge
Autovalues Engineering, CNC machining specialists, Bradford, England
ger21
Global Moderator
Online
Posts: 413
Re: Help with multiple passes
«
Reply #11 on:
July 18, 2008, 05:38:19 PM »
If your using AutoCAD 2002 or newer, I wrote a macro that exports g-code directly from AutoCAD. Far easier than trying to figure out LazyCAM, imo.
http://home.comcast.net/~cncwoodworker/acad/downloads/AC2GCv039.zip
There's more info on it at CNC Zone.
http://www.cnczone.com/forums/showthread.php?t=8226
Logged
Gerry
Sage
Active Member
Online
Posts: 81
Re: Help with multiple passes
«
Reply #12 on:
July 21, 2008, 12:46:20 PM »
Graham:
Just to be sure I understand your code, and in the interest of understand the action of the G codes presented:
Do I detect a problem with your approach if the material is greater than 0.6" thick?
It appears you raise the tool a fixed distance of 0.6 inches from it's current depth at the end of each pass which is getting increasingly deaper with each pass. For this example the material is only 0.5" thick so you will be raising it 0.6" above the work surface at the start and only 0.1" on the last pass. Not a problem in this case but I'd lke to understand the codes fully. Perhaps there is something in the absolute / relative feature that makes this non-issue ?
Am I missing something?
Thanks
Sage
Logged
Sage
Active Member
Online
Posts: 81
Re: Help with multiple passes
«
Reply #13 on:
July 21, 2008, 12:50:43 PM »
ger21:
I'll check out your macro
Thanks
Sage
«
Last Edit: July 21, 2008, 12:54:08 PM by Sage
»
Logged
Graham Waterworth
Administrator
Online
Posts: 1,166
West Yorkshire, England
Re: Help with multiple passes
«
Reply #14 on:
July 21, 2008, 01:21:10 PM »
Hi Sage,
you are correct in what you say, that is the main problem of incremental code, as the code is written to do that job then the code is safe, if it is to be adapted for other jobs then all the rapid moves have to be checked and adjusted for safe movement.
If this was going to be a regular problem then the g-code can be written using # codes to allow the code to be altered by the changing of a variable.
CNC is about repetition, we write a g-code program and prove it works, we then save it for the next time we make the same part, if the code worked the first time it will work time and again.
As with lots of things in this world there are many ways to do a job, finding a way that suites your way of working is the hard bit.
You have learned a lot from this exercise already, just think what you may learn tomorrow.
Graham.
Logged
G-Code is on the cutting edge
Autovalues Engineering, CNC machining specialists, Bradford, England
Pages:
«
1
2
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*e*i*n*g
=> Mach Screens
=> Feature Requests
=> Non English Forums
=> FAQs
===> Finished Plugins for Download
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> Lazy Cam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> dspMC/IP motion controller
=> Third party software and hardware support forums.
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Promote and discuss your product .
=> Sieg Machines
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
=> One on one phone support.
=> Forum suggestions and report forum problems.
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
Loading...