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:
you can check this with the attached flows:
Solved! Go to Solution.
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:
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:
Then I got the error I mentioned before.
With payload=null I get a DL_TYPE_MISMATCH:
P.S.: the examples on GitHub will really help
Can you please attach your flows from the first post as export, so that I can try to reproduce the behaviour?
Please see the attachment. I inserted the example from GitHub to confirm all diagosis too, but without success.
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.
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?
Hope this helps.
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.
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?
As an attachment you can find the Node-RED flow.