Hi
have an axis application in which I’m using the mcHOMING_BLOCK_TORQUE homing procedure.
I’ve configured and tested it, and everything is working correctly so far.
The drive configuration in AS:
- My AS Version: 6.5.1.7
- mappCockpit Version: 6.5.0
- mappMotion Version: 6.5.1
I’m now trying to adjust the homing parameters using MpAxisBasicConfig.
I have already implemented this function block, and I use it extensively across all my axes.
(As a matter of fact, when the machine powers up, I first perform a read operation to retrieve all current parameters and populate the data structure. After that, I only modify the parameters I actually need to change.)
For the homing configuration, I’m able to manipulate all parameters except the Minimum Return Distance. And that’s where my issue lies…
According to the help documentation, the Minimum Return Distance parameter is used when the Reference Pulse is Not Used (mcSwitch_OFF).
The explanation of when it is in mcSwitch_OFF:

The table shows that the variable “ReferencePulseBlockingDistance” seems to be used for both “Reference pulse blocking distance“ and “Minimum return distance“:
![]()
Then, I also checked the MpAxisBasicConfigType:
With this information, it seems reasonable to assume that I should be able to set the ReferencePulseBlockingDistance parameter when using mcSwitch_OFF, and that this value would then be used as the Minimum Return Distance.
However, when I download the drive configuration — as shown in the first screenshot — I can see in mappCockpit that the parameter is configured correctly:
Then, when I execute MpAxisBasicConfig with the updated value for ReferencePulseBlockingDistance — for example, 6.0:
I get the following result in mappCockpit it goes to 0:
Out of curiosity, I then changed the Reference Pulse setting to mcSwitch_ON, and in this case the drive correctly accepts the value I write.
However, as soon as I switch it back to mcSwitch_OFF, it stops accepting the value again.
Obviously, I cannot keep the Reference Pulse set to mcSwitch_ON, because it does not achieve what I need, which is to return 5.0 mm after the homing process.
I would appreciate some help understanding whether this behavior is a known characteristic of the system, a limitation, a bug, or something related specifically to how MpAxisBasicConfig handles this parameter.
Additionally, I’d like to know the recommended way to work around this issue.
Thanks in advance.










