Catch Com S7 error

Hello,

I'm using the palette node-red-contrib-s7 to collect data from a PLC S71500. The communication works nicely but I want to get the error if the connexion fail.
For example if I unplug my PLC I see the error in the debug sidebar. I want to get this error or at least the information that the connection is lost (to show it on my dashboard). I tried with the catch node but didn't succed to make it work...I just started with node-red.
image

Thank you in advance

Hi. In order for the catch node to work, the node must be designed to call node.error with a 2nd parameter.

Have a read of this issue on the GitHub repository - add a comment to it if necessary.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.