# Z-min Switch Error

The Z-min switch is used orient the probe in 3D space, and is an important and required part of setting up a successful print.

`Unable to move to`` ``z``-switch (``z``-``min``), switch did not trigger`\
\
`Unable to measure at z-switch (z-min), switch did not trigger during initial approach`\
\
`Unable to home z-axis, could not measurez-switch (z-min)`\
\
`Unable to retract from`` ``z``-switch (``z``-``min``), switch did not release during retract movement`

If you've received any of the above errors mentioning the Z-min switch, the first step is to test the actuation of the switch itself.&#x20;

Using the eraser end of a pencil, or your finger, check the movement by actuating it and verifying that it can move up and down.

<figure><img src="https://2994552790-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKMS1I2mCuOJeZyXjzOqV%2Fuploads%2FoIG4ZgUiJWhXJ1RSH1Ix%2Fz-min%20actuation.gif?alt=media&#x26;token=9a16e6fd-c442-4538-8bab-89032c5b0c42" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
If the Z-min switch appears to be sticking, or has visible ink, paste or debris on or around it, try cleaning it using isopropyl alcohol and a cotton swab (Q-tip).
{% endhint %}

Next, with the printer connected and probe mounted, use `ALT+C` or `~` in the software to open the console. Use the `D2` command to check the status of all of the switches on the machine. Your output should look like the screenshot below.

<figure><img src="https://2994552790-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKMS1I2mCuOJeZyXjzOqV%2Fuploads%2FbjGgIbuEBBEoVah9LbCk%2FD2%20zmin.png?alt=media&#x26;token=7f8e87ce-b34c-4c67-9e82-52be27936728" alt=""><figcaption></figcaption></figure>

Finally, hold down the Z-min switch with your pencil or finger, and while it's depressed, run the `D2` command once again. Your output should now show the z-switch is triggered.

<figure><img src="https://2994552790-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKMS1I2mCuOJeZyXjzOqV%2Fuploads%2F0D6OqBJvSMiu6Iy11pLW%2Fd2%20zmin%20triggered.png?alt=media&#x26;token=199ce372-9fc8-40f0-b8b6-2f1ea00314e0" alt=""><figcaption></figcaption></figure>

If these tests are all as expected and you continue to receive errors while using the printer, please take a screenshot of the `D2` test and reach out to our [support team](mailto:support@voltera.io).
