> For the complete documentation index, see [llms.txt](https://docs.wcproducts.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wcproducts.com/welcome/shop-accessories/omio-cnc-router-x8-usb/basic-operation/running-a-program.md).

# Running a Program

Before loading a program into Mach3, the gcode needs to be generated. Use the CAM software of choice to make the program and then post the code using the generic Mach3 post processor.&#x20;

Recommended CAM programs to use are HSMworks, which is a part of Fusion360 or can be added to Solidworks, or Vetric VCarve. Any other CAM software with a Mach3 post processor will work as well.

## Step 1

Save gcode file to a known folder.&#x20;

Open Mach3 and have the machine powered on.&#x20;

Click File -> Load G-code or click the “Load G-code” button on the “Program Run” menu.&#x20;

File Explorer will open and select the desired file. Click Open.

<figure><img src="https://2963754036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtazLe8slhTgcUVkiLjQ%2Fuploads%2Fv6COYCnNjxQPgrb4u70P%2FCapture.svg?alt=media&amp;token=5a37c0cc-a6a8-4358-befd-4467ec2b763d" alt=""><figcaption></figcaption></figure>

## Step 2

Zero all axis’ to set the origin for the program.&#x20;

Click “Cycle Start” on the “Program Run” menu. The spindle should turn on and the machine will start to execute the program.

<figure><img src="https://2963754036-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBtazLe8slhTgcUVkiLjQ%2Fuploads%2FUtJXsk505O80SVb3oFnz%2FCapture.svg?alt=media&amp;token=cd033c8f-61cb-4655-be8c-0e2699cddbf5" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.wcproducts.com/welcome/shop-accessories/omio-cnc-router-x8-usb/basic-operation/running-a-program.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
