I created a simple drill pattern using Solidworks and HSMWORKS (posted code is shown below). When I run the program using Mach4 the machine will move to the X Y location of the first hole and the Z will drop down to .200 above the part as programed, but it will then skip the drill cycle at the first hole(G98 G73 X38.325 Y28.25 Z-0.27 R0.2 Q0.0625 F20.) and move directly to the second hole (Y25.5)and begin its Drill/peck cycle.

Also, If I re-run the program I find the Z axis will now retract to Z0 as if I had programed it "G28 G91 Z0" between each hole location in stead of retracting to .200 ( I have to now restart Mach4 & ESS to fix the retract issue).

If I run this program in Mach3 it works perfectly...

So, is this a Plug-in problem for the ESS or is it a Mach4 issue????



(CNC FLOOD TABLE SHEILDS)
(T1 D=0.25 CR=0. - ZMIN=-0.27)
G90 G94 G91.1 G40 G49 G17
G20
G28 G91 Z0.
G90

(.250 DRILL1)
M5
M9
T1 M6
S1800 M3
G54
M8
G0 X38.325 Y28.25
G43 Z0.6 H1
Z0.2
G98 G73 X38.325 Y28.25 Z-0.27 R0.2 Q0.0625 F20.
Y25.5
Y19.95
Y17.2
X26.6 Y11.65
Y8.9
Y3.35
Y0.6
X6.6
Y3.35
Y8.9
Y11.65
Y17.2
Y19.95
Y25.5
Y28.25
G80
Z0.6