I admit this is weird and I wasn't lucky enough to get help on machsupport forum so I need your help.

Here's the problem.

I do all the tool changes manually so no G43 for me.

The sample gcode bellow has two operations and each operation uses different tools. No G43 or H or D letter. Steps:

- Just download and install the latest Mach4. You don't need to change Mach4 after installing. Just open Mach4 Mill profile
- Run the code. First operation is drilling and uses T1 and no problem with it. Wait until T2 M6
- When Mach pauses at T2 M6, move Z axis on the negative direction then hit ZERO Z button.
- Now click Cycle start to continue the program.
- Now you expect Z axis to go and stop at position -1 (N145 G0 Z-1 line)
- But it doesn't. It will pass -1 and if it was a real machine it'd crashed.


%
O1 (CYCLOIDAL WHEEL)
N5 G0 G40 G49 G80 G21 (Initialisation)
N10 G0 Z0 (Retour aux origines machine)
N15 G0 X0 Y0
N20 (Outil n° 1 - Diametre 6.0 D1 H1)
N25 T1 M6
N30 S2000 M3
N35 M8
N40 (D-drill1)
N45 G0 G54 X-14.141 Y-14.036
N55 G83 Z-8. R2. Q2. P0 F150
N60 X-19.999 Y0.106
N100 G80
N105 G0 Z25.
N110 (Outil n° 2 - Diametre 6.0 D2 H2)
N115 T2 M6
N120 S3000 M3
N125 M8
N130 (P-contour)
N135 G0 G54 X-14.848 Y-14.743
N145 G0 Z-1
N104385 G0 X0 Y0 M5
M30
%

I downloaded lots of different Mach4 builds and did the same test on each one of them. My finding is this this problem occurs on build 4584 and later. 4582 and earlier versions are good. For example I made 2 videos to show you the difference.

Mach4 version in the first video is 4385. It works as it should. Second video the Mach4 is the latest and it doesn't work.


good



bad


Similar Threads: