Hello Guest it is November 20, 2019, 02:33:37 AM

Author Topic: G81 Canned cycle problem  (Read 3791 times)

0 Members and 1 Guest are viewing this topic.

G81 Canned cycle problem
« on: April 25, 2014, 04:51:29 PM »
Is there any chance of getting the single block with a canned cycle working properly?

What happens is when I run a drilling program, after a few holes press single block while positioning to the next hole. This will cause the drill to stop at the bottom of the hole.
When you press cycle start to drill the next hole, the machine just feeds in the X and Y direction (not retracting and drilling)

This will also happen if you turn off the single block and press cycle start again.

Here is some example Gcode
Run this and press single block when positioning to another hole.


Code: [Select]
N1 G20
N2 G80
N4 G00 Z0.0
N8 G54
N9 G00 G90 X-10.125 Y-3.75
N10 S2139 M03
N12 Z1.
N14 G81 Z-.15 R0.1 F20
N15 X-10.125 Y-2.75
N16 X-10.125 Y-1.75
N17 X-10.125 Y-.75
N18 X-10.125 Y.75
N19 X-10.125 Y1.75
N20 X-10.125 Y2.75
N21 X-10.125 Y3.75
N22 X-9.125 Y5.75
N23 X-9.125 Y4.75
N24 X-9.125 Y3.75
N25 X-9.125 Y2.75
N26 X-9.125 Y1.75
N27 X-9.125 Y.75
N28 X-9.125 Y-.75
N29 X-9.125 Y-1.75
N30 X-9.125 Y-2.75
N31 X-9.125 Y-3.75
N32 X-9.125 Y-4.75
N33 X-9.125 Y-5.75
N34 X-8.125 Y-6.75
N35 X-8.125 Y-5.75
N36 X-8.125 Y-4.75
N37 X-8.125 Y-3.75
N38 X-8.125 Y-2.75
N39 X-8.125 Y-1.75
N40 X-8.125 Y-.75
N41 X-8.125 Y.75

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: G81 Canned cycle problem
« Reply #1 on: April 25, 2014, 06:27:46 PM »
NOT a chance of getting it fixed.

(;-) TP
Re: G81 Canned cycle problem
« Reply #2 on: April 25, 2014, 07:17:20 PM »
Is mach3 not getting anymore bug fixes?

Offline ger21

*
  • *
  •  6,288 6,288
    • View Profile
    • The CNC Woodworker
Re: G81 Canned cycle problem
« Reply #3 on: April 25, 2014, 08:56:09 PM »
If you look at the change log, there hasn't been an update for 2 years. And just about every bug fix would introduce new bugs, so it's not really worth the effort.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: G81 Canned cycle problem
« Reply #4 on: April 25, 2014, 09:09:58 PM »
OK, good to know.
Since mach4 is a pretty much a complete rewrite, maybe they should open source Mach3..... It would be good for the community

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: G81 Canned cycle problem
« Reply #5 on: April 26, 2014, 05:41:15 PM »
I would NOT count on that happening either.

AND it looks like there may NOT be a MACH4 LPT version So for the most part MACh3 is all us LPT version users have.

(;-) TP
« Last Edit: April 26, 2014, 05:42:49 PM by BR549 »
Re: G81 Canned cycle problem
« Reply #6 on: April 27, 2014, 02:24:07 PM »
Great.... and then they will stop selling licenses so all you will have left for LPT is pirated unsupported legacy software with bugs.
Re: G81 Canned cycle problem
« Reply #7 on: April 27, 2014, 06:45:59 PM »
I may have a fix so give it a try.

In MachScreen edit the Single Block button
STANDARD CODE  to 1600  It will show up as user defined 1600 an change standard code to 34
EXECUTE CODE   Code("M999") Make sure you save when you close the window.

Then save the screen set and start Mach3
Write a Macro and save as m999.m1s  that has this code
DoButton(4)

That's it. Give it a try and let me know if it works. In my simulation the code won't execute and turn on or off single block until it reaches the end of the current moving axis move witch I believe is what will fix the problem. Keep in mind it will not switch single block as soon as you press the button and that is good so you don't have to beet on it. It will change states at the end of the current axis move.

Acrodoc

Offline Tweakie.CNC

*
  • *
  •  8,005 8,005
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: G81 Canned cycle problem
« Reply #8 on: April 28, 2014, 02:52:45 AM »
A very interesting suggestion Acrodoc - thanks for posting what could be a workable solution.  ;)

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.