How Can We Help?

Print

The HMI screen freezes, the CPU load increases, communication is lost…

 

If you encounter this problem, can you try doing these?

Reset historical and area data

  • If you can’t no longer download a project: HMI DIP switch, no. 2, on ON
  • Restart HMI
  • Check that all boxes are ticked in HMI-Tool settings > Printing and downloading
  • Download program again and check if the problem persists
  • HMI DIP switch, no. 2, on OFF

 

Check IP address

In the HMI and the connected device, delete the “Gateway IP”, which makes no sense if the device is on the same network (eg:192.168.1.x).

Check the CPU Load

By displaying the LW60334 register, you can see the processor load in %.

A workaround in the meantime

In the meantime, here’s a script to get around the problem before it happens again

If the CPU load > 75% for more than 30 seconds (if the script is called every 1 sec), the HMI is restarted (optional: if the screensaver is active).

#include "MacroInit.h"
void Macro_main(IN *p)
{
MarcoInit
//ToDo
if (LocalWord[60334] > 75) // Check if CPU load exceeds 75%
{
LocalWord[5000]++; // Increment countdown (starts from 0)
if (LocalWord[5000] > 30) // 30 sec if called every second
{
if (LocalBit[60142]) LocalBit[60105] = 1; // HMI reset if screen saver is enabled
}
}
else LocalWord[5000]=0; // CPU load < 75%
}

 

Add this script to the script editor, compile it, then call it every second