frangoteam / FUXA

Web-based Process Visualization (SCADA/HMI/Dashboard) software
https://frangoteam.org
MIT License
2.86k stars 831 forks source link

Added 350ms Polling Interval Option for PLC #1347

Closed mauroalexandre closed 2 months ago

mauroalexandre commented 2 months ago

This pull request introduces the option to set the PLC polling interval to 350ms. Although this might seem like a minor change, in certain scenarios—like the one I'm encountering—this adjustment in polling time is critical and could benefit other users of the project.

Thank you for considering this change, and I'm open to discussing it further.

Thank you!

PedroHDDomingos commented 2 months ago

Important improvement for small PLCs where we normally cannot work with 200ms.

MatthewReed303 commented 2 months ago

I feel we should start from 100ms with 50ms increments or have ability to enter in custom polling number. High performance systems can do 100ms no problem and great for real time motion control applications where trending updates and PID tuning is important on high speed systems. What are your thoughts on this @unocelli

PedroHDDomingos commented 2 months ago

Excellent @MatthewReed303, I believe that 50 to 50ms would be enough, today there is a jump from 200 to 500ms, this makes fine adjustment very difficult.

unocelli commented 2 months ago

I am positively for adding 50, 100, 150, 350

unocelli commented 2 months ago

@mauroalexandre Thanks, I will merge this PR and add later the other values.