cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Resetting ALL KIND of error in Motion App

alink
Long-established Member

Resetting ALL KIND of error in Motion App

Hello,

is there a possibility to reset ALL kIND of errors in Motion APP /ctrlX ?

Example this one:

error.JPG

In PLC these two things are used currently:

//reset error in drive

arAxisCtrl_gb[1].Admin.ClearError := TRUE; 

//reset error in motion app
fbDL_WriteNode(
Execute:= TRUE,
Done=> ,
Active=> ,
Error=> ,
ErrorID=> ,
ErrorIdent=> ,
ClientId:= ,
NodeName:= '/diagnosis/clear/error',
Value:= );

But this doesn't reset such an error as shown above.

Tags (1)
8 REPLIES 8
Open
Established Member

Re: Resetting ALL KIND of error in Motion App

Hello alink,

you can use CXA_PLCopen library, single axis command function block MC_Reset to reset the axis error in the motion app.

Open_0-1662954174416.png

alink
Long-established Member

Re: Resetting ALL KIND of error in Motion App

Thanks for response.

But what I mean is resetting error in Motion APP.

Resetting error in drive works fine with command "ADMIN.ClearError".

Several errors in Motion APP can be resetted with fbDL_WriteNode(Execute:=TRUE,NodeName:='/diagnosis/clear/error',);

BUT NOT ALL. In this case the only way is to login on ctrlX, go to MotionAPP and Reset Error.

This has to go with PLC, all other ways are unuseable.

CodeShepherd
Community Moderator

Re: Resetting ALL KIND of error in Motion App

Please have a look to this topic for the different clear errors and see this topic for an implementation example.

alink
Long-established Member

Re: Resetting ALL KIND of error in Motion App

Maybe I'm off the track completely, but for example there's an error in the drive:

F8079

Error_Drive.JPG

 In Motion APP / CtrlX there's an error as well

Error_Motion.JPG

 In PLC, there are meanwhile 3 (!) commands to clear this error:

Error_PLC.JPG

BUT nothing helps. There's a bad "ACCESS_ERROR" when using ImcCtrl.Admin.ClearError. To clear error in all systems, so that it possible to go back to work, is:

If possibility to have access to ctrlX: clear error in ctrlX / Motion APP

If there is no access to ctrlX: turn off/on PLC.

There has to be a better way, with a simple button on the VISU. The button is already implemented and is the command for clearing error.

But clearing ALL errors doesn't work.

Error_Visu.JPG

CodeShepherd
Community Moderator

Re: Resetting ALL KIND of error in Motion App

There are commands for deleting errors in different objects in the system (axes, kinematics system itself), like mentioned in the first link I shared in my last comment.

To do a kind of "clear all" there are in my opinion two ways to do so:

  • The ImcCtrl.Admin.ClearError (only useable when ctrlX MOTION is installed)
  • The address "diagnosis/confirm/all-errors" on the Data Layer (that is triggered above) can also be written by hand via DL_WriteNode.

 

alink
Long-established Member

Re: Resetting ALL KIND of error in Motion App

Thanks for reply.

Don't know what was wrong but today it is possible to clear errors. Because of this issue all these possibilities were tested. But how does ImcCtrl.Admin.ClearError work? It doesn't seem to have the effect like arAxisCtrl_gb[1].Admin.ClearError, isn't it? At the end, there was no noticeable effect of ImcCtrl.... I wonder, this is not arAxis[1.....10] specified, a command in general?

No effect, but ImcStatus.Diag.ClearErrorAck is reporting TRUE....

Writing in DataLayer /diagnosis/confirm/all-erros seems more to clear a message in 'pendign diagnostic' but less to reset/clear an error in motion or at the drive, isn't it?

And I am sorry for so many (simple) questions but it's a complete new technic and system (ctrlX and EtherCat) compared to MLD (with SERCOS) at which I was working the last 10 years. But with this new system the current application with MLD should be replaced, so there always will be an association to that....

CodeShepherd
Community Moderator

Re: Resetting ALL KIND of error in Motion App

Sorry for the confusion. An empty DL_WriteNode (or https PUT) to the address "https://192.168.1.1/automation/api/v2/nodes/diagnosis/confirm/all-errors" will confirm the global errors. Also motion axes errors will be reset with this command. Just tested it in system version 1.12.7 again.

arAxisCtrl_gb and arKinCtrl_gb clear errors are using the clear function in the motion objects itself. E.g. via Data Layer "motion/axs/X/cmd/reset" or the corresponding PLC library function (ML_AxsReset) or PLCopen function block (MC_Reset).

 

alink
Long-established Member

Re: Resetting ALL KIND of error in Motion App

I think the issue is that when clear error the drive swithed to PM. When in PM another (power failure) error occured.

Now, without switching to PM, it seems to work much better.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist