# How to create a mechanism for the Standalone Controller and XYZ Gantry in RobotStudio

**URL:** <https://tech-community.robotics.abb.com/t/how-to-create-a-mechanism-for-the-standalone-controller-and-xyz-gantry-in-robotstudio/9498>\
**Category:** RobotStudio\
**Tags:** stand-alone-controller, standalone-controller, gantry, xyz, mechanism\
**Created:** [May 12, 2020, 1:24pm UTC](https://tech-community.robotics.abb.com/t/how-to-create-a-mechanism-for-the-standalone-controller-and-xyz-gantry-in-robotstudio/9498 "2020-05-12T13:24:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxim](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/maxim/32/4429_2.png) [@Maxim](https://tech-community.robotics.abb.com/u/Maxim)\
**Post date:** [May 12, 2020, 1:24pm UTC](https://tech-community.robotics.abb.com/t/how-to-create-a-mechanism-for-the-standalone-controller-and-xyz-gantry-in-robotstudio/9498/1 "2020-05-12T13:24:56Z")

</div>

Hello all,

I’ve created a video with instructions on how to create a mechanism for the Standalone Controller and XYZ Gantry.

[![](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/b/b4fbd02ec06440dc8a67381712ed1e13767167a9.jpeg "How to create a mechanism for the Standalone Controller and XYZ Gantry in RobotStudio") ](https://www.youtube.com/watch?v=ju6vYbPDK2o)

Big thanks to @Anders_S for showing me how to do this properly!

---

<div class="post-metadata">

**Author:** ![pat.clifton](https://avatars.discourse-cdn.com/v4/letter/p/53a042/32.png) [@pat.clifton](https://tech-community.robotics.abb.com/u/pat.clifton)\
**Post date:** [January 5, 2021, 11:25am UTC](https://tech-community.robotics.abb.com/t/how-to-create-a-mechanism-for-the-standalone-controller-and-xyz-gantry-in-robotstudio/9498/2 "2021-01-05T11:25:47Z")

</div>

Nice concise video with all the required steps. Made a few things clear to me with respect to setting up a SAC. Many thanks.

---

<div class="post-metadata">

**Author:** ![pat.clifton](https://avatars.discourse-cdn.com/v4/letter/p/53a042/32.png) [@pat.clifton](https://tech-community.robotics.abb.com/u/pat.clifton)\
**Post date:** [January 7, 2021, 1:56pm UTC](https://tech-community.robotics.abb.com/t/how-to-create-a-mechanism-for-the-standalone-controller-and-xyz-gantry-in-robotstudio/9498/3 "2021-01-07T13:56:12Z")

</div>

Next one could have 5 axis with rotation etc. That would be really useful.

---

<div class="post-metadata">

**Author:** ![roboteromx](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@roboteromx](https://tech-community.robotics.abb.com/u/roboteromx)\
**Post date:** [June 29, 2021, 2:33pm UTC](https://tech-community.robotics.abb.com/t/how-to-create-a-mechanism-for-the-standalone-controller-and-xyz-gantry-in-robotstudio/9498/4 "2021-06-29T14:33:57Z")

</div>

Hi, thanks for the video, very instructive. I was able to configure the standalone controller and jog the gantry robot. The problem is that the software does not change the axis limits. I input different values and re-start the controller but keep using the default 1 meter/ 1 radian range. I am using RobotStudio 2021.1.2 (64-bit)

---

<div class="post-metadata">

**Author:** ![Maxim](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/maxim/32/4429_2.png) [@Maxim](https://tech-community.robotics.abb.com/u/Maxim)\
**Post date:** [June 29, 2021, 7:01pm UTC](https://tech-community.robotics.abb.com/t/how-to-create-a-mechanism-for-the-standalone-controller-and-xyz-gantry-in-robotstudio/9498/5 "2021-06-29T19:01:32Z")

</div>

To change the default joint bound max/min values, you have to change them directly in the MOC.cfg.

Go to Controller tab, expand Configuration, right-click Motion, select Save Parameters.

Open MOC.cfg in Notepad++ or equivalent, find the section called ARM: and look for the  
“-upper\_joint\_bound\_max 1 -lower\_joint\_bound\_min 0” for the relevant axis.

When done editing the file, save it, then back into RS, right-click Configuration of the Controller, select Load Parameters and load the MOC.cfg that you just edited.

---

<div class="post-metadata">

**Author:** ![Ricki88](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@Ricki88](https://tech-community.robotics.abb.com/u/Ricki88)\
**Post date:** [July 21, 2021, 11:55am UTC](https://tech-community.robotics.abb.com/t/how-to-create-a-mechanism-for-the-standalone-controller-and-xyz-gantry-in-robotstudio/9498/6 "2021-07-21T11:55:51Z")

</div>

Hi, nice video. Is it possible to use safemove to monitor axes speeds or safe ranges for axes on gantry solutions?

---

<div class="post-metadata">

**Author:** ![innebandy](https://avatars.discourse-cdn.com/v4/letter/i/67e7ee/32.png) [@innebandy](https://tech-community.robotics.abb.com/u/innebandy)\
**Post date:** [July 21, 2021, 1:24pm UTC](https://tech-community.robotics.abb.com/t/how-to-create-a-mechanism-for-the-standalone-controller-and-xyz-gantry-in-robotstudio/9498/7 "2021-07-21T13:24:27Z")

</div>

# Quote from Application manual, SafeMove 2.

Non ABB track motion units, non ABB positioners, and other additional axis may be supported by the SafeMove option but this needs to be verified case by case. To verify if a non ABB additional axis can be used with SafeMove, tune the additional axis before configuring the SafeMove parameters. If a properly tuned and configured non ABB additional axis still generates error messages regarding servo lag, then  
it cannot be used with SafeMove.

---

<div class="post-metadata">

**Author:** ![JHID](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JHID](https://tech-community.robotics.abb.com/u/JHID)\
**Post date:** [July 22, 2021, 7:00am UTC](https://tech-community.robotics.abb.com/t/how-to-create-a-mechanism-for-the-standalone-controller-and-xyz-gantry-in-robotstudio/9498/8 "2021-07-22T07:00:28Z")

</div>

> [@Maxim Riabichev](#):
>
> To change the default joint bound max/min values, you have to change them directly in the MOC.cfg.
> 
> Go to Controller tab, expand Configuration, right-click Motion, select Save Parameters.
> 
> Open MOC.cfg in Notepad++ or equivalent, find the section called ARM: and look for the  
> “-upper\_joint\_bound\_max 1 -lower\_joint\_bound\_min 0” for the relevant axis.
> 
> When done editing the file, save it, then back into RS, right-click Configuration of the Controller, select Load Parameters and load the MOC.cfg that you just edited.

Dont forget a warmstart to see changes reflected in station.

---

<div class="post-metadata">

**Author:** ![Daper](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@Daper](https://tech-community.robotics.abb.com/u/Daper)\
**Post date:** [August 16, 2024, 7:17am UTC](https://tech-community.robotics.abb.com/t/how-to-create-a-mechanism-for-the-standalone-controller-and-xyz-gantry-in-robotstudio/9498/9 "2024-08-16T07:17:59Z")

</div>

@Maxim or anyone else, is it possible to change the frames orientation and calibration orientation through the MOC file after mechanism compilation ? If yes, is it the “attitude” and “theta\_home” parameters ?  
For example, after realizing that a mistake was made and in order to avoid rebuilding the mechanism from start
