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

diagnosis system: can't confirm a pending error

LunatiX
Long-established Member

diagnosis system: can't confirm a pending error

I did some tests with the diagnosis system. I'm able to create ERROR's, WARNING's and MESSAGE's. Attached you'll find my example built in Node-RED.

In one case, I set-and-reset a ERROR. But then I'm not able to confirm this ERROR within Node-RED. I get the following error:

LunatiX_0-1625144460835.png

you can check this with the attached flows:

LunatiX_1-1625144572248.png

 

 

9 REPLIES 9
Krauskopf
Established Member

Re: diagnosis system: can't confirm a pending error

How did you confirm the error (flow 4.)? It is important to set the payload to null to confirm all errors. See here on how to do this:

https://github.com/boschrexroth/node-red-contrib-ctrlx-automation/blob/master/doc/EXAMPLES.md#confir...

LunatiX
Long-established Member

Re: diagnosis system: can't confirm a pending error

Hi Sebastian

I tried it with payload=null some weeks ago, but with V1.8 it's not possible. Today I tried to confirm only my pending error instead of all errors in this way:

(flow 4.)

LunatiX_0-1625161900319.png

Then I got the error I mentioned before.

 

With payload=null I get a DL_TYPE_MISMATCH:

LunatiX_1-1625162124216.png

 

P.S.: the examples on GitHub will really help

 

Krauskopf
Established Member

Re: diagnosis system: can't confirm a pending error

Can you please attach your flows from the first post as export, so that I can try to reproduce the behaviour?

Thanks!

LunatiX
Long-established Member

Re: diagnosis system: can't confirm a pending error

Please see the attachment. I inserted the example from GitHub to confirm all diagosis too, but without success.

Krauskopf
Established Member

Re: diagnosis system: can't confirm a pending error

Hi,

I have looked into your example. Here my results:

Confirming a single diagnosis (flow 4.)

It works, as soon as you remove the prefix "0x" from the diagnosis message.

Working:

Krauskopf_0-1625572443393.png

Not working:

Krauskopf_1-1625572493714.png

This is neither consistent nor intuitive but will be fixed with one of the next releases to accept both variants. For the moment, there is only the workaround to stick with the first variant (without 0x).

Confirming all diagnosis

Please make sure to have at least the version 1.8.4 of the nodes installed in your Node-RED app. In older versions of the nodes, there was a bug. But with the newer nodes it works fine for me to use msg.payload=null. What version are you using?

Krauskopf_2-1625572784643.png

Hope this helps.

LunatiX
Long-established Member

Re: diagnosis system: can't confirm a pending error

Thanks for the answer. Now everything is working 😁 . I worked with a old Node-RED ...ctrlx-automation-palette of  1.8.2 and updated now to 1.8.6.

LunatiX
Long-established Member

Re: diagnosis system: can't confirm a pending error

Sorry, but I've got another issue. I'm not able to reset a motion axis (cmd/reset). The axis is in state errorstop. How can I reset a axis error?

LunatiX_0-1625582235782.png

As an attachment you can find the Node-RED flow.

 

Krauskopf
Established Member

Re: diagnosis system: can't confirm a pending error

Your flow is correct. Please upgrade to at least version 1.8.8 of the nodes. This should fix your issue.

CodeShepherd
Community Moderator
Moved:

Re: diagnosis system: can't confirm a pending error

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