Hi,
Tom is right, m26 seems misplaced.
Note also the spattering of g17 and g18's throughout the code. g17 declares the machining lane as xy whereas
g18 declares the machining plane as xz.
The link that Tom posted suggests that m26 is somehow related to lathe operations and the g18 seems to confirm it.
Could it be that Fusion is generating code for a lathe not a mill?
If I understand your situation you are new to Mach4 and possibly even CNC? If that is the case you have too many
'variables' going on. Mach4 in itself takes a little learning, using faulty code is making that learning impossible.
Likewise Fusion takes a lot of learning as well, but worse is that you clearly cannot read Gcode nor are you confident
of the machine software.
May I suggest ditch Fusion.....for the moment. What you need is good Mach compliant code that you can run through your
machine so you can gain familiarity and confidence in it. You also need to start to read Gcode. There are many online
tutorials about Gcode. You don't need expertise in Gcode but you should be familiar with what good code looks like.
For that purpose you should be writing Gcode manually or using a wizard. My recommendation is Mill Wizard.
Download it for free and experiment with it. You should be able to produce goo Gcode for simple operation in
under half an hour.
As an example about a week ago I had to machine a heatsink for a electronic project I'm working on. The material
(extruded finned heatsink) had previously been used. I required that the top face be surfaced and then four rectangular
pockets be formed. I stood at my machine for about 5 minutes and had Gcode, and about another 5 or 10 using s Gcode
viewer to verify and fine tune it before running the job. I had four heatsinks to do, it took 20 minutes to machine all
four.
This is an example of simple jobs that don't require a CAM program. You may have seen advertising material for Fanuc, Hass,
and Siemens and they both bang on about 'conversational programming' It is exactly the process I have just explained.
It allows a machine operator to stand at the machine and in short order chain together simple machining ops
all WITHOUT using CAM. This allows a machinist to be highly productive despite not be a programmer.
Of course there is a place for CAM programs as well. They typically are used in the office and then given to the operator
to run on the machine.
Craig