Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 06:24:37 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
Mach Discussion
General Mach Discussion
G2 - G3 Command Bug with G68
Pages:
1
Go Down
« previous
next »
Author
Topic: G2 - G3 Command Bug with G68 (Read 473 times)
0 Members and 2 Guests are viewing this topic.
jmchris
Active Member
Offline
Posts: 7
G2 - G3 Command Bug with G68
«
on:
October 22, 2010, 11:06:18 AM »
All,
I seem to have sumbled on a bug that has some very odd behavior. While the following code is exactly the same line for line two different circles are created. My IJ is set to incremental. I'm attempting to cut a spiral hole so I don't burn up my endmill drilling straight down in .25 stainless. I need the G68 as I'm milling a single part and will be reversing it for every other part cut so as to use my stainless in the most efficient manner possible. I've removed all other part G-code to ensure it wasn't causing an issue. The two pieces that appear to conflict are the G68 and G2/G3.
First my original code that revealed the issue. You'll notice that the only difference between line 4 and 5 is deeper Z. But instead a different and much larger hole is created:
G68 A0 B2 R180
G0 x0 y0 z0
G1 X.280 Y.432 F.6
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.25 i.036
G2 x.280 y.432 Z-.35 i.036
G40
M30
Second a block of IDENTICAL lines of code that create two different size holes. Each identical line of G2 code creates an alternating different size hole.
G68 A0 B2 R180
G0 x0 y0 z0
G1 X.280 Y.432 F.6
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.15 i.036
G40
M30
Any assistance would be greatly appreciated.
Thank you,
Jeff
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G2 - G3 Command Bug with G68
«
Reply #1 on:
October 22, 2010, 11:56:23 AM »
I can confirm that . Cuts a large circle then does a small circle at the start point then another correct circle and another small circle.
(;-) TP
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G2 - G3 Command Bug with G68
«
Reply #2 on:
October 22, 2010, 02:48:45 PM »
Instead of full circle arcs try it with half circle arcs
(;-) TP
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G2 - G3 Command Bug with G68
«
Reply #3 on:
October 22, 2010, 06:46:00 PM »
OK testing shows this work fine. So lets take apart your code and see where it fails.
G90 G80 G54 G69 G0
G68 A0 B2 R180
G0 x0 y0 z1
G1 Z0
G2 x0 y0 Z-1 I.5 J0
G2 x0 y0 Z-2 I.5 J0
G2 x0 y0 Z-3 I.5J0
G2 x0 y0 Z-4 I.5 J0
G0 X0 Y0 Z0
G40
G69
M30
%
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G2 - G3 Command Bug with G68
«
Reply #4 on:
October 22, 2010, 07:02:03 PM »
OK add on the J 0.000 Mach is trying to justify the absence of the reference point when rotated.
Mach does NOT need the reference without it being rotated that is why it cuts ok when NOT rotated.
BUG ? Quirk ?? More quirk than bug.
(;-) TP
Logged
jmchris
Active Member
Offline
Posts: 7
Re: G2 - G3 Command Bug with G68
«
Reply #5 on:
October 23, 2010, 07:22:05 AM »
Sooo. How do I G68 rotate my part?
Jeff
Logged
jmchris
Active Member
Offline
Posts: 7
Re: G2 - G3 Command Bug with G68
«
Reply #6 on:
October 23, 2010, 07:51:28 AM »
BR549 - Firstly, thanks for the help. I had hoped someone from Mach3 would be on the form to look into the bug.
The code you pasted in doesn't work properly. Instead of alternating a correct and incorrect circle, now it only makes incorrect circles. You can add a line G1 X1 Y1 to create a one inch reference point for the proper size of the circle. In your example the radius should be .5 inches, but when adding the reference point of 1 inch you can see the circle is really over two inches instead of 1/2.
Jeff
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G2 - G3 Command Bug with G68
«
Reply #7 on:
October 23, 2010, 11:48:43 AM »
YOU are correct, I was testing the geometry of the circle and did not verify the diameter.
BUT I know for sure that the Radius method works correctly. Try this, the diameters are correct here(;-)
Also you may want to give the IJs a try using arcs instead of the circle method.
I don't think you will have much luck on getting the G68 fixed so I was looking for a workaround
G90 G80 G54 G69 G0
G68 A0 Y1 R180
G0 x0 y0 z1 F100
G1 x0 Y-.5 Z0
G2 x0 y.5 Z-.1 R.5
G2 x0 Y-.5 Z-.2 R.5
G2 x0 y.5 Z-.3 R.5
G2 x0 y-.5 Z-.4 R.5
G0 Z0
G40
G69
M30
%
«
Last Edit: October 23, 2010, 11:51:11 AM by BR549
»
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: G2 - G3 Command Bug with G68
«
Reply #8 on:
October 23, 2010, 12:38:55 PM »
OK testing shows that radius arc method AND absolute IJK mode works BUT inc IJK method is broken with a G68 command. I think I see the problem BUT Brian will have to fix it.
(;-) TP
Logged
Pages:
1
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.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****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
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...