Understood. Regardless of G81 or G83, here is the issue:
CamBAM produces the following code for a simple Drill cycle. Could be G81 or G88, you get a similar result in Mach4 with respect to the error.
( Made using CamBam )
( Spinner with Brass 1/9/2017 3:16:46 PM )
( T2025011 : 0.25 )
G20 G90 G64 G40
G0 Z0.8
( Pre Drill )
G17
G0 X95.5123 Y45.6613
G98
G83 X95.5123 Y45.6613 Z-0.04 Q0.375 R0.0 F150.0
G83 X92.297 Y46.425 Z-0.04
G83 X92.3761 Y42.9219 Z-0.04
G80
G0 Z0.8
G0 z1.5 X1.5 Y49.5
M30
OR a G81 based drill program from CamBAM:
( Made using CamBam )
( Podium 1/6/2017 1:42:52 PM )
( T1025021 : 0.25 )
G20 G90 G64 G40
G0 Z0.7
( PreDrill 025 )
G17
G98
G81 X95.6034 Y36.4502 Z0.35 R0.0 F170.0
G81 Y25.553 Z0.35
G81 X94.6409 Y23.3137 Z0.35
G80
G0 Z0.8
G0 Z1.5 X1.5 Y49.5
M30
Up until a more recent build of Mach4, these would run both of these without an error.
However, in the current build, Mach4 throws the following error when you load the file:
File "C:\Users\My Computer\Dropbox\CNC\Predrill.nc", Line 11: Q word missing with G73/G83
AND if you try to run the G83 peck file the following error comes up:
Made using CamBam
Spinner with Brass 1/9/2017 3:16:46 PM
T2025011 : 0.25
Pre Drill
Q word missing with G73/G83
If you load the G81 file, it does not produce errors but it stops part way through the GCode list. The machine drills the first hole, traverses to the second location and does nothing more.
I have needed to modify the G83 file as follows:
( Made using CamBam )
( Spinner with Brass 1/9/2017 3:16:46 PM )
( T2025011 : 0.25 )
G20 G90 G64 G40
G0 Z0.8
( Pre Drill )
G17
G0 X95.5123 Y45.6613
G98
G83 X95.5123 Y45.6613 Z-0.04 Q0.375 R0.0 F150.0
X92.297 Y46.425 Z-0.04
X92.3761 Y42.9219 Z-0.04
G80
G0 Z0.8
G0 Z1.5 X1.5 Y49.5
M30
and the G81 file as follows:
( Made using CamBam )
( Podium 1/6/2017 1:42:52 PM )
( T1025021 : 0.25 )
G20 G90 G64 G40
G0 Z0.7
( PreDrill 025 )
G17
G98
G81 X95.6034 Y36.4502 Z0.35 R0.0 F170.0
Y25.553 Z0.35
X94.6409 Y23.3137 Z0.35
G80
G0 Z0.8
G0 Z1.5 X1.5 Y49.5
M30
To my knowledge, CamBAM has not changed any of the way it produces GCode. These files used to run on Mach4 but now they don’t.
Is that more helpful?