MpAxisBasic - Axis gets stuck in PlcOpenState 'Stopping'

Hello community,

I’m using MpAxisBasic and I have the problem that the axis sometimes gets stuck in the ‘Stopping’ state and I can’t move it from there. The Stopped output on MpAxisBasic is True and MoveActive is also false, but the PlcOpenState does not change. Does anyone know this problem? I have also had similar behaviour with the ‘Disabled’ state - here the axis did not change into Stillstand even after several reset attempts.
I am using MappMotion 5.24.1

best regards,
Philipp Oberhuber

Hello Philipp,

Can you send a screenshot of the MpAxisBasic function block in watch screen?

Hi,

I would also like to take a look at the full view of the MpAxisBasic FUB in your watch but what you didn’t mention is the Input “Stop”, which, when set, according to the documentation and the PLC State diagram requires a falling edge to get out of Stopping:
A positive edge starts a controlled movement stop and brings the axis into state mcAXIS_STOPPING. The input ensures that the axis does not move as long as the input is set. Only when the input is set to FALSE, the axis state changes to mcAXIS_STANDSTILL.

BR

Hello,
thanks for the feedback, it does look like this is purely a flank issue. I have already had the reverse case, where the axis remains in the discrete motion state even though the stop command is present on the function block. It was only stopped with a positive edge. If you ask me, I wouldn’t let a stop command react to edges, but well, I’ll have to live with that.

Hi,

a remark to your “I wouldn’t let a stop command react to edges”:

Generally speaking, the difference and thus when to use edges vs level is described here - it might help you in your further journey with B&R software.

The interface of MpAxisBasic and it’s inner workings are based on the set of PLCopen function blocks. Looking at the Stop input specifically here, we can see that the decision for that edge came in fact from PLCopen - just so you know that this wasn’t our decision to make :slight_smile:

Thanks for the feedback and hopefully my post could add something of value again, if only to redirect your disappointment to the correct people xD

2 Likes