# MpAxisBasic

**URL:** <https://community.br-automation.com/t/mpaxisbasic/3720>\
**Category:** Mechatronics & Motion\
**Tags:** mapp-axis, automation-studio\
**Created:** [July 9, 2024, 6:49am UTC](https://community.br-automation.com/t/mpaxisbasic/3720 "2024-07-09T06:49:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oliver\_Stockinger](https://avatars.discourse-cdn.com/v4/letter/o/FF8800/32.png) [@Oliver\_Stockinger](https://community.br-automation.com/u/Oliver_Stockinger)\
**Post date:** [July 9, 2024, 6:49am UTC](https://community.br-automation.com/t/mpaxisbasic/3720/1 "2024-07-09T06:49:41Z")

</div>

Hi  
I’m using the MpAxisBasic FB, is there a possibility to detect start point of deccelerating the axis?  
The purpose is to connect additive movements of the axis with different velocities and distances without stopping between the movements.

Regards ,  
Oliver

---

<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:** [July 9, 2024, 7:11am UTC](https://community.br-automation.com/t/mpaxisbasic/3720/2 "2024-07-09T07:11:49Z")

</div>

Hello,

As far as i know, there is no information when the Axis is starting to deccelerate.

Option 1)  
You could supervice the Set-Velocity and as soon its reducing you know that your in the Deceleration phase.

IF (MpAxisBasic.Velocity - VelocityOld) \< 0 THEN // optional us a threshold  
// Slowing Down  
END\_IF  
VelocityOld := MpAxisBasic.Velocity;

* * *

Option 2)

Use the Feature PathGen which will enable you to use Buffer modes. So you can combine multiple MoveAdditive Instances and program your Countur. The Path will be planed on the PLC and not on the ACOPOS, which means it consumes more PLC ressource.

[AS-Help: Axis-Feature ProfGen Configuration](https://help.br-automation.com/#/en/4/motion%2Fmapp_motion%2Fkonfiguration%2Fbasic_components%2Faxis_feature%2Fprofgen.html)

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

[Buffer Modes](https://help.br-automation.com/#/en/4/motion%2Fmapp_motion%2Fprogrammierung%2Fbibliotheken%2Fkonzept%2Fverschleifen_und_puffern_von_bewegungen%2Fpuffer_modi_der_achse%2Fpuffer_modi_achse.html)

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

```auto
MC_MoveAdditive_0. ....
MC_MoveAdditive_0.BufferMode := mcABORTING; 
MC_MoveAdditive_0.Execute := 1; 
MC_MoveAdditive_0();
MC_MoveAdditive_0. ....  
MC_MoveAdditive_1.BufferMode := mcBLENDING_LOW; 
MC_MoveAdditive_1.Execute := 1; 
MC_MoveAdditive_1();

```

You can combine the MpAxisBasic with the MC\_MoveAdditive from the PLCopen McAxis Library.

Greetings  
Michael
