Hello Guest it is April 20, 2024, 07:30:55 AM

Author Topic: HiCON 7766: __________WARNING: Main Loop Process duration:  (Read 1753 times)

0 Members and 1 Guest are viewing this topic.

HiCON 7766: __________WARNING: Main Loop Process duration:
« on: March 13, 2022, 03:08:35 AM »
Hi,
I get a lot of the “WARNING: Main Loop ..” from the 7766. It seams to depend on what polling frequency you have set, a lower frequency generates less warnings. I have been playing around with the polling frequency and the buffer size, but can get rid of it completely.
     
What does the warning mean? Will it affect the machine in some ways? Do I need to try to get rid of the warning? In that case any ideas what to do, to get rid of it?

The log is from when I run a probing sequence with a lot of slow moves and a lot of probe points.

Best Regards,
Olovsson

Polling Frequency 75 Hz
Mach4300-Integra-4.24_Plugin-2.03.41
Mach4: 4612

[07:17:34.845] Motors are now set still:
       
  • Pos=214157, Actual=214157.00, StepGen 214157, Plugin 214156
  • [1] Pos=194750, Actual=194750.00, StepGen 194750, Plugin 194750
            [2] Pos=-192082, Actual=-192082.00, StepGen -192082, Plugin -192082
            [3] Pos=-1, Actual=-1.00, StepGen -1, Plugin -1

[07:17:34.846] __________WARNING: Main Loop Process duration: 6.9378ms, Polling Interval 13ms
[07:17:35.188] New Start Position: 214157 | 194750 | -192082
[07:17:35.225] __________WARNING: Main Loop Process duration: 5.246ms, Polling Interval 13ms
[07:17:35.289] __________WARNING: Main Loop Process duration: 5.7556ms, Polling Interval 13ms
Re: HiCON 7766: __________WARNING: Main Loop Process duration:
« Reply #1 on: March 14, 2022, 12:36:05 PM »
Please refer this Post

https://www.machsupport.com/forum/index.php?topic=44484.msg285426#msg285426

We recommend keeping the default values. ie. 80Hz and 125 buffer level.
You can go down to 60Hz and 150 buffer level.

As long as the machine is working as intended we do not recommend changing those values even if there is a warning.
Re: HiCON 7766: __________WARNING: Main Loop Process duration:
« Reply #2 on: March 18, 2022, 08:24:40 AM »
I have been trying to change the polling frequency and the buffer level to all values I can imagine. However, I can’t get rid of the ___WARNING message. If I put the polling frequency to 80Hz, I get the “MainLoop Tick Interval Out of Range” error. The “tick error” disappears at 75 Hz polling frequency, but the “___WARNING” is still there.
 
The reason I’m doing this is that the old PC broke down and I had to fix a new one to the mill. This PC is equipped with an AMD 5800X (8 core, 3.7 – 4.8 MHz) processor and 32Gb of internal memory. I would guess that the horsepower of that one should be more than enough to keep the PC frequency on a high level (80Hz) without getting any error.

Any other ideas what to do to get rid of this or to be able to run with your suggested 80 HZ and 125 ms buffer?
The mill seams to be working ok with 75Hz or lower polling frequency, but it feels quite annoying and a bit unsafe when the log window is "spitting" out a lot of warnings the whole time.   

Best Regards,
Olovsson
Re: HiCON 7766: __________WARNING: Main Loop Process duration:
« Reply #3 on: March 18, 2022, 10:08:43 AM »
You can go down to 60hz and 125 safely. Warnings are fine as long as there are no errors. The polling speed is dependent not only on the CPU but the Network card/module on your motherboard. We recommend 1gbit network interface to reduce the number of factors that can affect network latency. 1gbit will ensure the needed network latency but some 100mb/s cards should also be fine. Unfortunately it is hard to predict what factors are involved as there are numerous.

Otherwise the problem could be with "running too many applications at the same time" or some "heavy background activity" or "antivirus slowing the system down" or "HDD is near capacity".