Hello, whoever said the Mach3 post-processor will work for Mach4 is WRONG! Mach4 will not process the G81 commands that the Mach3 post-processor spits out. Mach3 post-processor produces the first G81 line correctly but if there is more than one hole in the canned cycle operation, it prefixes "G81" on each line after until the G80 command. While this may have worked on Mach3...it causes big issues for Mach4 with errors that don't hint at the issue going on. In Mach4, there can only be ONE G81 command before G80. Any holes after the first must be X/Y coordinates only...not proceeded by G81!
As an example of several holes that need to be drilled with a canned cycle, Mach3 post-processor generates (with the extra G81 codes causing Mach4 problems in RED):
( Make Screw Hole )
G17
M3 S18000
G0 X2.5 Y77.875
G98
G81 X2.5 Y77.875 Z-0.7 R0.0 F87.0
G81 X13.5313 Z-0.7
G81 X24.5625 Z-0.7
G81 X35.5938 Z-0.7
G80
A Mach4 post-processor (Centroid post-processor also does this) needs to output the same gcode as follows:
( Make Screw Hole )
G17
M3 S18000
G0 X2.5 Y77.875
G98
G81 X2.5 Y77.875 Z-0.7 R0.0 F87.0
X13.5313 Z-0.7
X24.5625 Z-0.7
X35.5938 Z-0.7
G80
Hopefully a wiz at Cambam post-processor writing can help the community out with a proper post-processor for Mach4.