This a running application using ACP10 with Mapp Services both on versions 6.8.0. I have 11 axes of servos on P3. However, the MpAxisBasic status.info.AxisInitialized is always false with no errors reported on the axis. I can still connect to the test window and energize and run each drive individually
Hello,
There is only little information in your post we can work with, so maybe we start with the questions which may sound stupid…
Did you set the Enable of the Function block?
MpAxisBasic.Enable := TRUE;
Is the functionblock Called in the Programm?
MpAxisBasic();
Link to Automation Studio Help.
MpAxisBasic
How about a Screenshot of Studio Logger and Watch Window?
Greetings
Michael
Hi Michael,
Apologies for the late reply. I have been away on site. Yes, the function block is enabled. I suspect it is to do with the error 29219 but the unfotunately the error diagnostics do not specify which parameter is invalid. When left alone for sometimes, hours, the system resolves itself and the axes are re-energised. I have taken screenshots of all the Axis Parameters from the watch Windows and shared them with B&R, UK, to see if there are obvious outliers. When they run my sample project in simulation using default parameters, the problem went away. The problem is that I am using all the following Function Blocks in the project so I need to try to identify which parameter is invalid:
MpAxisBasic
MpAxisCamSequencer
MpAxisCoupling
MpAxisCyclicSet
Hello,
gAxis03 has an issue with its Encoder… i would assume that there is a brocken Cable, No Power, wrong Settings.
For the invalid Parameters, check inputs for this FunctionBlock “MC_WriteParameter”.
If you get a feedback from local UK support feel free to give an update.
Greetings
Michael
You can try writing PARID 340 (CMD_ERR_STATE_INTO_FIFO) to 1. This will enter all the reasons that keep it from being ‘ReadyToPowerOn’ in the error text and network command trace.
Thanks Jan,
Will try this and get back to you. Interestingly, ReadyToPowerOn is always TRUE when this problem occurs. It is AxisInitialized that is FALSE. I will still try your suggestion and check the Network Command Trace.
Regards,
Mulemba
Hi Michael,
Sure. I will update the forum as soon as we get a solution. Well spotted. gAxis03 has not got a motor connected. Its one of those reconfirgurable conversion machines that can have anything from 1 to 5 heads connected. They literally disconnect each head and unplug the motor. In this case, the axis is not powered up. The alarm you see was me trying to power it up remotely using the test window - i had not realised it was unplugged.
Regards,
Mulemba
Hi Jan,
Writing PARID 340 (CMD_ERR_STATE_INTO_FIFO) to 1 has helped me see the error(s) generated from each axis.
6057 - Position loop controller: Load encoder error. No other information is given.
I believe its a red herring because I can reset the error in the Test Window and also power up the axis and move it. I have used Parameter 727 in the past to ignore encoder errors but can not seem to find any help on how the bits are allocated.
Hi @Mulemba_Kandeke I found this old discussion, can you update us with your final solution?
Hi Jaroslav,
Thank you for the reminder. The problem turned out to be CPU load. When I experienced the problem, the CPU usage was close to 100%. But when the axes initialised ok, it was around 50%. I also run MpDataRecorder in the background. Although the USER memory area is not full, I believe the problem happened when the system was trying to log new data. I am not yet sure what the problem is as it will not let me connect to the folders using FTP. To stop the problem, I stopped recording any new data and the system is now fine. The axes initialise every time. However, I still can not connect to CPU using an FTP Software (FileZilla) to download and/or delete any potentially corrupted files. I will wait until I am physically on site to clear the memory and re-install a new configuration.
Hope the above helps!
Mulemba


