# Set Up Parameters of MpAxisBasic

**URL:** <https://community.br-automation.com/t/set-up-parameters-of-mpaxisbasic/10813>\
**Category:** Mechatronics & Motion\
**Tags:** mapp-motion\
**Created:** [April 8, 2026, 11:22am UTC](https://community.br-automation.com/t/set-up-parameters-of-mpaxisbasic/10813 "2026-04-08T11:22:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ray923](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@Ray923](https://community.br-automation.com/u/Ray923)\
**Post date:** [April 8, 2026, 11:22am UTC](https://community.br-automation.com/t/set-up-parameters-of-mpaxisbasic/10813/1 "2026-04-08T11:22:46Z")

</div>

Hello, I found in a other Post a Solution to set up the MP\_Link Input of the mpAxisBasic but how does it work for the Parameters Input?

Thanks for your help.

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/5/5050917136a737c6b6c8f122a68f181d0a9767fe.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:** [April 8, 2026, 12:17pm UTC](https://community.br-automation.com/t/set-up-parameters-of-mpaxisbasic/10813/2 "2026-04-08T12:17:30Z")

</div>

Hello,

There is one Variable for the Functionblock Instance of MpAxisBasic and another Variable for the Parameter Structure.

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

```auto
PROGRAM _CYCLIC
	
	FBMpAxisBasic(....,
                  Parameters := ADR(FBMpAxisBasicPar),
                   ........);
	
END_PROGRAM

```

---

<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:** [April 8, 2026, 12:21pm UTC](https://community.br-automation.com/t/set-up-parameters-of-mpaxisbasic/10813/3 "2026-04-08T12:21:25Z")

</div>

Hello,

i just saw that your Functionblock is a Coustom spezific one just only looking very similar.  
IN\_Parameter is not Parameters.

Can you show us your Functionblock Deklaration, there should be a .fun File similar to the one of the MpAxisBasic?

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

Greetings  
Michael

---

<div class="post-metadata">

**Author:** ![Ray923](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@Ray923](https://community.br-automation.com/u/Ray923)\
**Post date:** [April 8, 2026, 12:24pm UTC](https://community.br-automation.com/t/set-up-parameters-of-mpaxisbasic/10813/4 "2026-04-08T12:24:37Z")

</div>

Hello Michael,

here is it.

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

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

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/0/01ed6b533985113394959cf11e6501837943ba6e.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:** [April 8, 2026, 12:41pm UTC](https://community.br-automation.com/t/set-up-parameters-of-mpaxisbasic/10813/5 "2026-04-08T12:41:58Z")

</div>

Hello,

looks quite fine, i think you only have the declaration in the Calling-Task wrong.  
Here my screenshots for your situation, reduced to MpLink and Paramters Structure.

**Library**

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

```auto
FUNCTION_BLOCK FB_MotionAxis
	
	IF IN_Parameter = 0 THEN
		// Wait until Paramter input to prevent access to invalid address 0 	
	ELSE	
		pPara ACCESS IN_Parameter;
		
		MpAxis(MpLink := MP_Link, 
			Parameters := IN_Parameter); 
	END_IF 	

END_FUNCTION_BLOCK

```

**Task**

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

```auto
PROGRAM _CYCLIC
	
	FBAxis(MP_Link := ADR(gAxisQX) , 
			IN_Parameter := ADR(FBAxisPar));
		
END_PROGRAM

```

**Watch Window**

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

Greetings  
Michael
