# How to re-calibrated DexArm or reset encoder values?

Follow the instructions below to recalibrate your DexArm:&#x20;

**If the robot arm got stuck during operation, you need to reset the encoder value with the following steps:**

1\. Open Rotrics Studio and click Terminal, send command M18, the motor will go into deactivation status.

2\. Adjust the arm to the following position, make sure Axis 1 and Axis 2 is in the maximum position:

![](/files/-M7lFlDBec6LHrfu31n2)

2\.  Send command M889. The robot will read and save this position.&#x20;

3\. Then send command M1112, the Arm will move to HOME position (X0 Y300 Z0).

4\. Encoder value reset completed, you can move the arm smoothly now.&#x20;


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.rotrics.com/faq-troubleshooting/faqs/how-to-re-calibrated-dexarm-or-reset-encoder-values.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
