# mappRobotics G126 command + Scaling factor

**URL:** <https://community.br-automation.com/t/mapprobotics-g126-command-scaling-factor/2243>\
**Category:** Mechatronics & Motion\
**Tags:** machine-centric-robotics, mapp-robotics, mapp-motion\
**Created:** [February 16, 2024, 4:27pm UTC](https://community.br-automation.com/t/mapprobotics-g126-command-scaling-factor/2243 "2024-02-16T16:27:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nrampinelli01](https://avatars.discourse-cdn.com/v4/letter/n/FF8800/32.png) [@nrampinelli01](https://community.br-automation.com/u/nrampinelli01)\
**Post date:** [February 16, 2024, 4:27pm UTC](https://community.br-automation.com/t/mapprobotics-g126-command-scaling-factor/2243/1 "2024-02-16T16:27:10Z")

</div>

Good morning everyone,

I recently started using Mapp Robotics to implement a 2-axis delta robot and came across the following problem relating to the G126 command.

The first problem is that I noticed that the roundings I obtain are not true circles even in the case of symmetrical rounding.

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/d/d8195cc77a08814336ea949cdd4e652998a4c177.png)

In the help, in the section dedicated to ARNC0, I saw that a scaling factor is applied to the spline contour (guid: c0772f25-c5f4-49ec-b03f-25188e96ccf2) which by default takes on a value of 66. However, in mappRobotics I have not found how to modify this value.

Thank you

---

<div class="post-metadata">

**Author:** ![xabier.zaldua](https://avatars.discourse-cdn.com/v4/letter/x/FF8800/32.png) [@xabier.zaldua](https://community.br-automation.com/u/xabier.zaldua)\
**Post date:** [February 19, 2024, 8:24am UTC](https://community.br-automation.com/t/mapprobotics-g126-command-scaling-factor/2243/2 "2024-02-19T08:24:44Z")

</div>

Hi Nicolò, welcome in our community!

Here is the information about the function G126 for mappMotion: [B&R Online Help - G126](https://help.br-automation.com/#/en/4/motion%2Fmapp_motion%2Fprogrammierung%2Fprogrammiersprachen%2Fg-code%2Fg-funktionen%2Fg126_neu.html)

I didn’t find information about the SCALING\_FACTOR in mappMotion. However in mappMotion G126 function you define the radious you want for the rounding edge. In your case you can play with symmetrical or asymmetrical rounding, depending what you want to achieve, which could be similar to the SCALING\_FACTOR in ARNC0. [B&R Online Help - Symmetrical and asymmetrical rounding](https://help.br-automation.com/#/en/4/motion/mapp_motion/programmierung/programmiersprachen/g-code/g-funktionen/symrounding.html)

In fact, the examples proposed in this AS Help page are similar to the image you attached. I overlay you circles in purple to the example proposed in AS Help.

![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/b/bdc94f14035fb6f416c73cfea3dd034ffd386308.png)

---

<div class="post-metadata">

**Author:** ![michael.bertsch](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/michael.bertsch/32/239_2.png) [@michael.bertsch](https://community.br-automation.com/u/michael.bertsch)\
**Post date:** [February 19, 2024, 1:13pm UTC](https://community.br-automation.com/t/mapprobotics-g126-command-scaling-factor/2243/3 "2024-02-19T13:13:05Z")

</div>

Hello,

**G126** is a rounding which uses a polynomial curve to prevent the acceleration jump at the start and end of the rounding. The curvature is constantly increasing and decreasing.  
_The Factor does in fact not exist in MappMotion, it was only available in a special Version of ARNC0 called “OptMot”._

**G25** is a true circle. Here you will have acceleration jumps on the conture at the start of the circle and the end. Thats why its normaly combined with G128 (or the configuration in AxesGroup Parameter File) to prevent stops on the path.  
_Depending on your needs you can also use G02, G03, G102 to Program a circle._

---

<div class="post-metadata">

**Author:** ![austin.carpenter](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/austin.carpenter/32/1196_2.png) [@austin.carpenter](https://community.br-automation.com/u/austin.carpenter)\
**Post date:** [March 5, 2024, 6:33pm UTC](https://community.br-automation.com/t/mapprobotics-g126-command-scaling-factor/2243/4 "2024-03-05T18:33:03Z")

</div>

Hi @nrampinelli01 Nicolò,

It looks like you got some good answers from Xabier and Michael, and it has been a couple of weeks since the last activity on this post. If the answers helped you with your question, can you help the next person with the same question by marking the solution on the information which helped you the most. If you still have open questions on this topic, can you provide an update?
