• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Profinet Bus Failure
#2
The current source code example implementation in Node-RED does not allow to look closer to the error that happened. It is of course possible to extened the source code.

But I know this error very well and know when it happens. You have to know that once started the netX51 network controller runs a watchdog to monitor its user application - in our case Node-RED - if it is still running. If now during normal operation Node-RED crashed by any reason, or you slowed down Node-RED too much, or you simply call a "kill $PID" with $PID as process ID of Node-RED then Node-RED and the fieldbus node does not have any chance to trigger the watchdog in time and netX51 automatically goes into this fail state. This is the only error that can happen.

Node-RED is an application that is running in a single thread. So once you program an infinite loop in javascript for example with no return, this will lead to such an error.

What else can you tell us when you see this error happened? Was it happening during experimentation phase, during complex data aggregations in Node-RED? When did it happen in your case?
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
Answer - by Schranz - January-19th-2018, 11:15 AM
Answer - by Armin@netPI - January-19th-2018, 02:19 PM
Answer - by Schranz - January-22nd-2018, 03:33 PM
Answer - by Armin@netPI - January-22nd-2018, 04:33 PM
Answer - by Schranz - January-22nd-2018, 04:53 PM
Answer - by Armin@netPI - January-22nd-2018, 05:38 PM
Answer - by Schranz - January-23rd-2018, 11:57 AM
Answer - by Armin@netPI - January-23rd-2018, 02:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Profinet to Siemens PLC j.langlois 4 3,731 January-26th-2021, 06:11 PM
Last Post: j.langlois
  Profinet name lost after reboot Dipro 7 5,097 November-16th-2020, 01:07 PM
Last Post: Armin@netPI
  Profinet stopped working (spidev spi0.0: SPI transfer timed out) Schranz 7 5,262 November-2nd-2020, 04:20 PM
Last Post: Armin@netPI
  netPI profinet device name WalterSchaefer 2 2,610 October-7th-2020, 11:10 AM
Last Post: WalterSchaefer
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 5,925 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  PROFINET IO startup compilation arpan.patel@slscorp.com 3 3,002 February-24th-2020, 12:47 PM
Last Post: Armin@netPI
  Profinet Startup Time Schranz 3 3,597 November-18th-2019, 03:22 PM
Last Post: Armin@netPI
  Codesys RTE profinet echteler 2 3,527 September-25th-2019, 09:56 AM
Last Post: Armin@netPI
  normal ethernet port using for Profinet MGharat 4 4,857 August-7th-2019, 10:39 AM
Last Post: hannes
  Detecting NetPI in Siemens TIA via Profinet andrewc 3 4,016 April-11th-2019, 06:42 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)