CNC toolhead moving to wrong location?

Hi,

I am using my snapmaker A350 for the first time. I made a test file in Fusion360 of just a 2d line (an “l” written in a .shx font), traced it, simulated it, and exported the g-code. I jogged to and set the work origin at (1cm,4cm). I ran the code from three different usbs and each time i got the message “fabscreen has failed” and could not find the file again when I rebooted the snapmaker. When I use the usb on a computer, I now get the new message “there’s a problem with this drive”. I then tried the usb that came with the snapmaker and it started carving, although I again got the “fabscreen has failed” message when I tried to “run boundary”. My main problem is: when it starts carving, the module moves from the origin (the correct starting location) up/away and to the left of the platform (completely wrong location) and does not seem to be making any motion similar to a single straight cut.

I am a new user so I am not able to upload attachments but here is my g-code:

;1001
;Machine
;vendor: Snapmaker
;description: Generic Snapmaker Marlin v20180725
M3 P100
G4 S2
G21
G90

;Trace4
G0 X-106.135 Y-135.693 Z15.000
G0 X-106.135 Y-135.693 Z15.000
G0 X-106.135 Y-135.693 Z5.000
G1 X-106.135 Y-135.693 Z0.000 F200
G1 X-106.127 Y-139.693 Z0.000 F200
G1 X-106.127 Y-139.693 Z5.000 F3000
G0 X-106.127 Y-139.693 Z15.000
G0 X0.000 Y0.000
M5

I am not a genius at cnc carving.
What firmware do you run?- If you run not the latest,- update to it and see if the issue is there again.
Did you run the code with the postprocessor from snapmaker?
Did you set the work origin by jogging there and press set-work-origin?

I bought the machine in December so maybe I was running v1.10? I just updated the firmware and i could jog and set the origin, start the run, and also run boundary. However, the boundary was again far off of the platform (bottom left instead of top right relative to the work origin) and therefor the run was again in the wrong location.

Hope this article can help.

You can update the firmware to V1.12.1 now.
You need to update three tool-heads separately, which means you need update the firmware when every tool-head is mounted, and update the firmware three times.

For laser module, plug it on and the update the firmware.

Switch to the 3DP module, update the firmware once again.

The same to the CNC module.

I solved the problem. The problem was not with setting the origin on the snapmaker, but rather generating the gcode in Fusion360. Not mentioned in the article above is that at step 3.1.2 the stock box origin is different from the model origin.

Thanks for the tip on updating the firmware 3x.