1

**Mach4 General Discussion / Re: Regen Toolpath Hangs**

« **on:**February 19, 2020, 12:26:49 PM »

In version 4300, removing all the M codes made no difference.

Hello Guest it is June 04, 2020, 04:52:39 PM

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

1

In version 4300, removing all the M codes made no difference.

2

Since there is interest in the gcode, I've attached a file which causes the problem.

3

Just curious MitchB, What program did you use to generate the .nc file. I use BobCad. v 28.

Pat

I used MadCam from Rhino.

4

I think you should try this version :-

ftp://www.machsupport.com/Mach4/DevlopmentVersions/

Thanks for that suggestion. As a test, I reinstalled 4300 after seeing that 3804 worked. 4300 still didn't work. Then I tried version 4410 and that works fine.

5

Sorry for not replying to Graham. The files I am trying are quite simple and small and have no special M codes. They worked previously and I'm pretty sure they worked in version 4300 - so that is a bit mysterious.

6

Thanks for that suggestion. Going back to version 3804 fixed my problem as well.

7

Are the gcode files very big

No. Very small.

8

I am using Mach4 Build 4300 on Win 7. When I load or regenerate a toolpath, the progress bar progresses a little and then hangs. This just started happening and nothing that I'm aware of has changed with my system. This occurs with all .nc files including ones which have worked fine previously.

9

Oh. It's a bug with the latest version. The previous version works as expected. Except with that version (and maybe the latest also) selecting CW doesn't change the path to CW - it remains CCW.

10

I'm trying to make a rectangular pocket using MillWizard (2.0.5 although it says v4). I want the outside of the pocket to be defined by the corners (0.5, 0.5) and (1.5, 2.5). I pick SW corner and parameters Xorign: 0.5000 Yorign: 0.5000 Length 1.0000 Width: 2.0000 and a 0.250 end mill. I wouldn't expect to see negative coordinates in the Gcode but I do. Is there something I don't understand about this? Here is the Gcode file:

(***New File Started***)

(created by NFS Mill, V4)

(New File Started 01/18/20 13:22:02)

(posted for Aluminum )

(Strategy: Equal )

(Rapid height: 0.1000 Clearance height: 0.0500 )

G98 G80 G17 G90 G54 G64 G91.1

G20 G90

(***New Tool Selected***)

(ToolNum: 04 Diameter: 0.2500 )

(Feed: 10.0000 SFM: 500.0000 Plunge: 10.0000 ChipLoad: 0.0001 )

M06 T4 (1/4 MILL)

G43 H4

M03 S7639

(***Rectangular Pocket***)

(Xorign: 0.5000 Yorign: 0.5000 Length 1.0000 Width: 2.0000 )

(Ztop: 0.0000 Zdepth: -0.5000 Zstep: 0.1000 )

(Cut Direction: CW)

(will make 5.0000 cuts of: 0.1000 )

G00 X1.0000 Y-1.0000

Z0.0500

G01 Z-0.1000 F10.00

Y-2.0000

X1.1071 Y0.8929

X0.8929

Y2.1071

X1.1071

Y0.8929

X1.2143 Y0.7857

X0.7857

Y2.2143

X1.2143

Y0.7857

X1.3214 Y0.6786

X0.6786

Y2.3214

X1.3214

Y0.6786

X1.3750 Y0.6250

X0.6250

Y2.3750

X1.3750

Y0.6250

G00 Z-0.0500

X1.0000 Y-1.0000

G01 Z-0.2000

Y-2.0000

X1.1071 Y0.8929

X0.8929

Y2.1071

X1.1071

Y0.8929

X1.2143 Y0.7857

X0.7857

Y2.2143

X1.2143

Y0.7857

X1.3214 Y0.6786

X0.6786

Y2.3214

X1.3214

Y0.6786

X1.3750 Y0.6250

X0.6250

Y2.3750

X1.3750

Y0.6250

G00 Z-0.1500

X1.0000 Y-1.0000

G01 Z-0.3000

Y-2.0000

X1.1071 Y0.8929

X0.8929

Y2.1071

X1.1071

Y0.8929

X1.2143 Y0.7857

X0.7857

Y2.2143

X1.2143

Y0.7857

X1.3214 Y0.6786

X0.6786

Y2.3214

X1.3214

Y0.6786

X1.3750 Y0.6250

X0.6250

Y2.3750

X1.3750

Y0.6250

G00 Z-0.2500

X1.0000 Y-1.0000

G01 Z-0.4000

Y-2.0000

X1.1071 Y0.8929

X0.8929

Y2.1071

X1.1071

Y0.8929

X1.2143 Y0.7857

X0.7857

Y2.2143

X1.2143

Y0.7857

X1.3214 Y0.6786

X0.6786

Y2.3214

X1.3214

Y0.6786

X1.3750 Y0.6250

X0.6250

Y2.3750

X1.3750

Y0.6250

G00 Z-0.3500

X1.0000 Y-1.0000

G01 Z-0.5000

Y-2.0000

X1.1071 Y0.8929

X0.8929

Y2.1071

X1.1071

Y0.8929

X1.2143 Y0.7857

X0.7857

Y2.2143

X1.2143

Y0.7857

X1.3214 Y0.6786

X0.6786

Y2.3214

X1.3214

Y0.6786

X1.3750 Y0.6250

X0.6250

Y2.3750

X1.3750

Y0.6250

G00 Z-0.4500

Z0.1000

M09

M05

M30 (end of file)

(***New File Started***)

(created by NFS Mill, V4)

(New File Started 01/18/20 13:22:02)

(posted for Aluminum )

(Strategy: Equal )

(Rapid height: 0.1000 Clearance height: 0.0500 )

G98 G80 G17 G90 G54 G64 G91.1

G20 G90

(***New Tool Selected***)

(ToolNum: 04 Diameter: 0.2500 )

(Feed: 10.0000 SFM: 500.0000 Plunge: 10.0000 ChipLoad: 0.0001 )

M06 T4 (1/4 MILL)

G43 H4

M03 S7639

(***Rectangular Pocket***)

(Xorign: 0.5000 Yorign: 0.5000 Length 1.0000 Width: 2.0000 )

(Ztop: 0.0000 Zdepth: -0.5000 Zstep: 0.1000 )

(Cut Direction: CW)

(will make 5.0000 cuts of: 0.1000 )

G00 X1.0000 Y-1.0000

Z0.0500

G01 Z-0.1000 F10.00

Y-2.0000

X1.1071 Y0.8929

X0.8929

Y2.1071

X1.1071

Y0.8929

X1.2143 Y0.7857

X0.7857

Y2.2143

X1.2143

Y0.7857

X1.3214 Y0.6786

X0.6786

Y2.3214

X1.3214

Y0.6786

X1.3750 Y0.6250

X0.6250

Y2.3750

X1.3750

Y0.6250

G00 Z-0.0500

X1.0000 Y-1.0000

G01 Z-0.2000

Y-2.0000

X1.1071 Y0.8929

X0.8929

Y2.1071

X1.1071

Y0.8929

X1.2143 Y0.7857

X0.7857

Y2.2143

X1.2143

Y0.7857

X1.3214 Y0.6786

X0.6786

Y2.3214

X1.3214

Y0.6786

X1.3750 Y0.6250

X0.6250

Y2.3750

X1.3750

Y0.6250

G00 Z-0.1500

X1.0000 Y-1.0000

G01 Z-0.3000

Y-2.0000

X1.1071 Y0.8929

X0.8929

Y2.1071

X1.1071

Y0.8929

X1.2143 Y0.7857

X0.7857

Y2.2143

X1.2143

Y0.7857

X1.3214 Y0.6786

X0.6786

Y2.3214

X1.3214

Y0.6786

X1.3750 Y0.6250

X0.6250

Y2.3750

X1.3750

Y0.6250

G00 Z-0.2500

X1.0000 Y-1.0000

G01 Z-0.4000

Y-2.0000

X1.1071 Y0.8929

X0.8929

Y2.1071

X1.1071

Y0.8929

X1.2143 Y0.7857

X0.7857

Y2.2143

X1.2143

Y0.7857

X1.3214 Y0.6786

X0.6786

Y2.3214

X1.3214

Y0.6786

X1.3750 Y0.6250

X0.6250

Y2.3750

X1.3750

Y0.6250

G00 Z-0.3500

X1.0000 Y-1.0000

G01 Z-0.5000

Y-2.0000

X1.1071 Y0.8929

X0.8929

Y2.1071

X1.1071

Y0.8929

X1.2143 Y0.7857

X0.7857

Y2.2143

X1.2143

Y0.7857

X1.3214 Y0.6786

X0.6786

Y2.3214

X1.3214

Y0.6786

X1.3750 Y0.6250

X0.6250

Y2.3750

X1.3750

Y0.6250

G00 Z-0.4500

Z0.1000

M09

M05

M30 (end of file)