Comms Lockups

Topics about the Hardware of Revolution Pi
Post Reply
TrentB
Posts: 1
Joined: 04 Jun 2019, 01:06

Comms Lockups

Post by TrentB »

Hi all,
Hoping for some guidance with a issue I'm having with the RevPi running Node-Red.
Currently I have the RevPi communicating to a Allen Bradley Compact Logix PLC via Ethernet connection, and have setup a timestamp in milliseconds to constantly update to the PLC.
The problem is at regular time intervals, the PLC tag stops updating for about 400ms. While in top or htop, i can see that the instance for Node-Red spikes the CPU quite high, and these spike correlate with the comms 'stutter' I'm experiencing at the other end.
Has anyone experienced something like this before? I'm not sure what the root cause of the issue is, testing so far hasn't yielded any obvious results.
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Comms Lockups

Post by dirk »

Dear TrentB, what RevPi are you using? Please update to the latest Image which is currently Stretch 03/2019. You can verify the current image with

Code: Select all

cat /etc/revpi/image-release
zhan
Posts: 52
Joined: 16 Apr 2019, 13:31

Re: Comms Lockups

Post by zhan »

Dear TrentB,

I think this is probably a problem of Node-Red.
And also there are some discussions about this in internet:
https://github.com/originallyus/node-re ... /issues/67
https://discourse.nodered.org/t/cpu-hogging-to-100/2944
Maybe you can follow this to find some solution.
Simon
KoenW
Posts: 24
Joined: 12 May 2019, 16:15
Location: Sydney
Contact:

Re: Comms Lockups

Post by KoenW »

Hi TrentB,

I am curious - are you using NodeRed to connect to the Allen Bradley? I am hoping to do something similar and was hoping if you had some feedback on what setup you used.

Kind regards
Koen
Post Reply