Excuse me if I don't put this in the right place, don't ask the question correctly, or anything else a new person would do.
I am trying to develop a NodeRed system to run several motors through an Eaton PLC. Ladder logic I'm good at but NodeRed I'm new. What happened is that my friend had his Eaton HMI to his PLC has started having trouble. It's 12 years old and dying. I am trying to develop a Node Red (using UI Builder) custom user interface for him, running on a linux Ubuntu 5.4.0-137-generic fanless computer. It communicates to the PLC using the ModBus node. When I first start it up it runs great. All the screen buttons instantly turn outputs on and off and everything is good. My screen buttons react instantly to the change in output condition reported from the PLC, through Modbus, to node red, and to my screens in UIBuilder. After about an hour the response becomes very slow. It still eventually works, but ist slow. For instance, if I click the start button on the screen, it can take upwards of 5 seconds for the PLC to respond. After an hour of sitting, just doing nothing but monitoring, I get a message saying “Sorry, the program “node” closed unexpectedly.
Your computer does not have enough free memory to automatically analyze the problem and send a report to the developers.”
My memory is 8 gigabytes, and 3 gigabytes is “used” when this happens. All I have to do to get it all back to running correctly again is close and restart NodeRed.
I’m not what is causing this to happen. Is it a problem with ModBus polling to fast or something stupid I’ve done?
I hope I’m not asking to much of NodeRed to control all this through UIBuilder, using ModBus.
Any help would be appreciated, and If you need other information I will upload it. I’m just not sure where to start. Like I said, I’m new to this.