# M Code from Carbide Create and UGS

**URL:** <https://forum.sienci.com/t/m-code-from-carbide-create-and-ugs/583>\
**Category:** UGS\
**Created:** [February 9, 2020, 10:44pm UTC](https://forum.sienci.com/t/m-code-from-carbide-create-and-ugs/583 "2020-02-09T22:44:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MRay](https://forum.sienci.com/letter_avatar_proxy/v4/letter/m/3da27b/32.png) [@MRay](https://forum.sienci.com/u/MRay)\
**Post date:** [February 9, 2020, 10:44pm UTC](https://forum.sienci.com/t/m-code-from-carbide-create-and-ugs/583/1 "2020-02-09T22:44:21Z")

</div>

I ran into a problem using carbide create and UGS. When I uploaded a file and hit run it would immediately halt the operation. After some research on the forum I opened the code in notepad and deleted the Mcode which according to the forum is a tool change. Now the project runs without a hitch.

One curious thing though??? Shapeoko’s do not have tool changers, so why would this code be generated?

Anyway just thought I’d share my discovery in case someone else runs into the issue.

---

<div class="post-metadata">

**Author:** ![chrismakesstuff](https://forum.sienci.com/user_avatar/forum.sienci.com/chrismakesstuff/32/10759_2.png) [@chrismakesstuff](https://forum.sienci.com/u/chrismakesstuff)\
**Post date:** [February 9, 2020, 10:54pm UTC](https://forum.sienci.com/t/m-code-from-carbide-create-and-ugs/583/2 "2020-02-09T22:54:50Z")

</div>

@MRay It is a curious thing isn’t it? I can’t think of why they decided to leave in the M code generation other than maybe they wanted to keep their options open for future machines 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![MRay](https://forum.sienci.com/letter_avatar_proxy/v4/letter/m/3da27b/32.png) [@MRay](https://forum.sienci.com/u/MRay)\
**Post date:** [February 9, 2020, 11:01pm UTC](https://forum.sienci.com/t/m-code-from-carbide-create-and-ugs/583/3 "2020-02-09T23:01:52Z")

</div>

It is. I am using carbide create for now but plan to move on to fusion 360 once I am a bit more comfortable. Do you know if there is any issues with UGS and fusion for future reference?

---

<div class="post-metadata">

**Author:** ![chrismakesstuff](https://forum.sienci.com/user_avatar/forum.sienci.com/chrismakesstuff/32/10759_2.png) [@chrismakesstuff](https://forum.sienci.com/u/chrismakesstuff)\
**Post date:** [February 9, 2020, 11:31pm UTC](https://forum.sienci.com/t/m-code-from-carbide-create-and-ugs/583/4 "2020-02-09T23:31:22Z")

</div>

No, Fusion has a lot more control over the g-code output by having a list of user-selectable post-processors; this allows you to select one which doesn’t contain m-code commands.

If you’ll be using Carbide Create for the time being, I made a forum post which outlines how to make UGS ignore these commands permanently without further manual intervention: [Permanent fix to "An error was detected while sending 'M6..."](https://forum.sienci.com/t/permanent-fix-to-an-error-was-detected-while-sending-m6/395)
