# What is the reason I am getting the error -1064239096?

**URL:** <https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003>\
**Category:** Programming\
**Tags:** automation-studio\
**Created:** [October 15, 2026, 7:31am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003 "2026-10-15T07:31:23Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhys](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@rhys](https://community.br-automation.com/u/rhys)\
**Post date:** [October 15, 2026, 7:31am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/1 "2026-10-15T07:31:23Z")

</div>

```auto
Config.Execute := TRUE;
Config.MpLink := ADR(gAxA);
Config.Parameters := (ConfigPar);
Config(); 

```

I have made the assignments as follows; my AS version is v6.7.1.5

---

<div class="post-metadata">

**Author:** ![rhys](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@rhys](https://community.br-automation.com/u/rhys)\
**Post date:** [October 15, 2026, 7:50am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/2 "2026-10-15T07:50:32Z")

</div>

Config.Command := mcAXIS\_BASIC\_CFG\_READ

---

<div class="post-metadata">

**Author:** ![michael\_w](https://avatars.discourse-cdn.com/v4/letter/m/FF8800/32.png) [@michael\_w](https://community.br-automation.com/u/michael_w)\
**Post date:** [October 15, 2026, 8:06am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/3 "2026-10-15T08:06:02Z")

</div>

Hello @rhys ,

while your post is missing a LOT of details, leaving users to guess what your `Config` FB is and what you have already done to try and figure it out yourself, I’ll take an educated guess:

FB is MpAxisBasicConfig. Thus, looking for the error in the help: [B&R Online Help](https://help.br-automation.com/#/en/6/motion%2Fcomponents%2Fmpaxis%2Ffehler%2F8_mpaxis_err_config_null.html)

Ok, that says something about configuration and a pointer being NULL

Looking at the FB itself  
[B&R Online Help](https://help.br-automation.com/#/en/6/motion/mapp_motion/mapp_axis/programmierung/technologiebibliotheken/axis/funktionsbausteine/mpaxisbasicconfig/mc_x.html),  
expand the MpAxisBasicConfigParType and see something that asks about an address:

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

→ Set this to something valid and try again

Hope that helps

---

<div class="post-metadata">

**Author:** ![rhys](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@rhys](https://community.br-automation.com/u/rhys)\
**Post date:** [October 15, 2026, 8:35am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/5 "2026-10-15T08:35:02Z")

</div>

Thank you; yes, I provided some incomplete information, so I will make sure to be more detailed next time.

Even after performing checks and making changes, I continue to encounter the same error. Here are the latest changes:

MpAxisBasicConfig.Execute := TRUE;  
MpAxisBasicConfig.MpLink := ADR(gAxA);  
MpAxisBasicConfig.Parameters := (MpAxisBasicConfigParType);  
MpAxisBasicConfigParType.Data := ADR(MpAxisBasicConfigType);  
MpAxisBasicConfig();

---

<div class="post-metadata">

**Author:** ![christoph.hilchenbac](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/christoph.hilchenbac/32/423_2.png) [@christoph.hilchenbac](https://community.br-automation.com/u/christoph.hilchenbac)\
**Post date:** [October 15, 2026, 11:23am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/6 "2026-10-15T11:23:05Z")

</div>

I hope this will help:

```auto
TYPE
	STEPS_enum : 
		(
		W_INIT,
		W_CONFIG_READ,
		READY,
		ERROR_AXIS,
		ERROR_CONFIG
		);
END_TYPE

```

```auto
VAR   

   axis_configuration : MpAxisBasicConfigType;   
   MpAxisBasicConfig_01 : MpAxisBasicConfig;   
   axis_parameters : MpAxisBasicParType;   
   MpAxisBasic_01 : MpAxisBasic;   
   step : STEPS_enum;

END_VAR

```

```auto
PROGRAM_INIT

   MpAxisBasic_01.MpLink := ADR(gAxis_1);
   MpAxisBasic_01.Parameters := ADR(axis_parameters);
   MpAxisBasic_01.Enable := TRUE;

   MpAxisBasicConfig_01.MpLink := ADR(gAxis_1);
   MpAxisBasicConfig_01.Parameters.Data := ADR(axis_configuration);
   MpAxisBasicConfig_01.Command := mcAXIS_BASIC_CFG_READ;
 
   step := W_INIT;

END_PROGRAM

```

```auto
PROGRAM _CYCLIC

   CASE step OF
      W_INIT:
	  IF MpAxisBasic_01.Active THEN
         MpAxisBasicConfig_01.Execute := TRUE;
		 step := W_CONFIG_READ;

	  ELSIF MpAxisBasic_01.Error THEN
		 step := ERROR_AXIS;
      END_IF

	  W_CONFIG_READ:
	  IF MpAxisBasicConfig_01.Done THEN
	     step := READY;
	  ELSIF MpAxisBasicConfig_01.Error THEN
	     step := ERROR_CONFIG;
	  END_IF

	  ERROR_AXIS:

	  ERROR_CONFIG:

   END_CASE

   MpAxisBasic_01();

   MpAxisBasicConfig_01();

END_PROGRAM

```

[axis.zip](https://community.br-automation.com/uploads/short-url/xvP7H4NXxAKsAg3rq1O0PfRCDyE.zip) (1.6 KB)

---

<div class="post-metadata">

**Author:** ![rhys](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@rhys](https://community.br-automation.com/u/rhys)\
**Post date:** [October 16, 2026, 7:11am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/7 "2026-10-16T07:11:34Z")

</div>

> [@christoph.hilchenbac](#):
>
> `axis_configuration`

Thanks for everything; your explanation was quite good, but there are a few points I haven’t fully grasped. First of all:  
Shouldn’t `MpAxisBasicConfig_01.Parameters` be mapped to `MpAxisBasicConfigParType`?

Also, I don’t quite understand why a construct like `MpAxisBasicConfigParType.Data := ADR(axis_configuration);` isn’t used. Furthermore, are we currently performing save and load operations via `MpAxisBasicConfig_01.Command`?  
Should there be a statement similar to the following within the `case` structure:  
`MpAxisBasicConfig_01.Command := mcAXIS_BASIC_CFG_WRITE;`

`MpAxisBasicConfig_01.Command := mcAXIS_BASIC_CFG_LOAD;`  
…or is it sufficient to simply set `MpAxisBasicConfig_01.Execute := TRUE;`?

Additionally, whenever I attempt to modify components such as the axis drive settings—specifically `axis_configuration.Drive.Homing.StartVelocity`—the system switches to “service” mode. I am aware of this situation (error code 25314); however, I had linked the configuration via a variable using the expression `axis_configuration ACCESS ADR(MpAxBasic_ConfigType[1]);`.

---

<div class="post-metadata">

**Author:** ![christoph.hilchenbac](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/christoph.hilchenbac/32/423_2.png) [@christoph.hilchenbac](https://community.br-automation.com/u/christoph.hilchenbac)\
**Post date:** [October 16, 2026, 7:59am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/8 "2026-10-16T07:59:14Z")

</div>

> [@rhys](#):
>
> Shouldn’t `MpAxisBasicConfig_01.Parameters` be mapped to `MpAxisBasicConfigParType`?

the input ‘MpAxisBasicConfig\_01.Parameters’ is already of this data type. And since it is not pointer input it can be directly set.

But it is ok to assign a second variable of type ‘MpAxisBasicConfigParType’ to it.

> Also, I don’t quite understand why a construct like `MpAxisBasicConfigParType.Data := ADR(axis_configuration);` isn’t used

same answer as last. You can define a separate variable of type ‘MpAxisBasicConfigParType’ and name it ‘MpAxisBasicConfigParType’, too.  
But it is not necessary.

---

<div class="post-metadata">

**Author:** ![christoph.hilchenbac](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/christoph.hilchenbac/32/423_2.png) [@christoph.hilchenbac](https://community.br-automation.com/u/christoph.hilchenbac)\
**Post date:** [October 16, 2026, 9:19am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/9 "2026-10-16T09:19:50Z")

</div>

> [@rhys](#):
>
> Furthermore, are we currently performing save and load operations via `MpAxisBasicConfig_01.Command`?

input ‘.Command’ is just a parameter for the next operation which is then started by a rising edge on ‘.Execute’.

> I am aware of this situation (error code 25314); however, I had linked the configuration via a variable using the expression `axis_configuration ACCESS ADR(MpAxBasic_ConfigType[1]);`.

Unfortunately we have to use pointers and pointer operations are potentially dangerous.

---

<div class="post-metadata">

**Author:** ![rhys](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@rhys](https://community.br-automation.com/u/rhys)\
**Post date:** [October 16, 2026, 9:53am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/10 "2026-10-16T09:53:13Z")

</div>

Thanks for the explanation; however, the system switches to service mode. When I check the PC log, it points me to the following location:  
PROGRAM \_CYCLIC  
axis\_configuration.Drive.Homing.StartVelocity := gAxis.x.Drive.Homing.Start\_Velocity ;  
END\_PROGRAM

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

---

<div class="post-metadata">

**Author:** ![rhys](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@rhys](https://community.br-automation.com/u/rhys)\
**Post date:** [October 16, 2026, 9:54am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/11 "2026-10-16T09:54:17Z")

</div>

I understand; you explained it very well.

---

<div class="post-metadata">

**Author:** ![valerio.manenti](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/valerio.manenti/32/11712_2.png) [@valerio.manenti](https://community.br-automation.com/u/valerio.manenti)\
**Post date:** [October 16, 2026, 10:20am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/12 "2026-10-16T10:20:04Z")

</div>

Hi @rhys ,  
since we have MpAxisBasicConfig FUB available in mapp Motion I use that in all my prjs and to be honest I have positive feedback from my customers.  
The interface of that FUB has the same style implemented from other mapp function blocks.  
Christoph has developed a task that explained in details how to use MpAxisBasicConfig FUB, so I’m a little lost why you still have an issue.  
Portion of system logger doesn’t help our investigation and I see can only increase your frustration.  
Could you upload your task and systemDump? I can test that with arsim or with real hw, I have few APC2200s on my desk.

Thanks  
Ciao  
Valerio

---

<div class="post-metadata">

**Author:** ![rhys](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@rhys](https://community.br-automation.com/u/rhys)\
**Post date:** [October 16, 2026, 11:28am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/13 "2026-10-16T11:28:34Z")

</div>

I couldn’t send the project file due to its size; I saved it as a .zip file, but the file size is still too large.

---

<div class="post-metadata">

**Author:** ![rhys](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@rhys](https://community.br-automation.com/u/rhys)\
**Post date:** [October 16, 2026, 11:48am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/14 "2026-10-16T11:48:21Z")

</div>

I found the source of the problem. I had defined my function blocks using `ACCESS` and then used them within `PROGRAM_CYCLIC`.

I should have used `PROGRAM_INIT` instead; I overlooked that.  
Regarding how to write the parameters—is there a specific order to follow when using `.Command` for operations like:  
`mcAXIS_BASIC_CFG_READ`  
`mcAXIS_BASIC_CFG_WRITE`  
`mcAXIS_BASIC_CFG_LOAD`…?

---

<div class="post-metadata">

**Author:** ![kovarj](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/kovarj/32/537_2.png) [@kovarj](https://community.br-automation.com/u/kovarj)\
**Post date:** [October 16, 2026, 11:48am UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/15 "2026-10-16T11:48:44Z")

</div>

Sorry guys,… at the moment it looks like more that official support should take a look at it. It can be handled as support or consultancy directly in the project if needed. The community is not intended for sharing projects where customer know-how may be involved.

---

<div class="post-metadata">

**Author:** ![rhys](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@rhys](https://community.br-automation.com/u/rhys)\
**Post date:** [October 16, 2026, 12:28pm UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/16 "2026-10-16T12:28:54Z")

</div>

> [@kovarj](#):
>
> resmi destek ekibinin incelemesi daha

I had mentioned that my issue was resolved and asked a question regarding a different matter; I am concluding the discussion here and moving on to another topic.

---

<div class="post-metadata">

**Author:** ![valerio.manenti](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/valerio.manenti/32/11712_2.png) [@valerio.manenti](https://community.br-automation.com/u/valerio.manenti)\
**Post date:** [October 16, 2026, 1:11pm UTC](https://community.br-automation.com/t/what-is-the-reason-i-am-getting-the-error-1064239096/13003/17 "2026-10-16T13:11:11Z")

</div>

Thanks @rhys !

Ciao  
Valerio
