Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Dave3891 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.
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
-
NOT a chance of getting it fixed.
(;-) TP
-
Is mach3 not getting anymore bug fixes?
-
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.
-
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
-
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
-
Great.... and then they will stop selling licenses so all you will have left for LPT is pirated unsupported legacy software with bugs.
-
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
-
A very interesting suggestion Acrodoc - thanks for posting what could be a workable solution. ;)
Tweakie.