Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!
HVAC and Pumping Forum
Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-06-05 11:41 PM
Hello,
Timed task has a fixed period of execution of 100ms, so the code running on this task should be executed in less than 100ms to give space to all the other tasks.
I think you have to review what you have in the timed task, 7.6s is not normal for TM17x PLCs.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-06-04 12:31 PM
Although I am curious to know why the PID advance function block checks cycle time (is it maybe a FB which uses too many resources ?) I think the error in my project comes from a while loop not working correctly.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-06-04 02:58 PM
Please check if you use the PID Advance in the timed task. Normaly I would not expect that you have such a large cycle time in a timed task. You could check the real cycle time via the target variable.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-06-05 07:18 AM
Thanks for your feedback. Yes, the PIDAdvanced is used inside a POU running as a timed task. It is related to this topic on how to handle a variable speed fan working alongside a fixed speed fan.
The PIDadvanced FB is used as input to a CompMgmtVS FB which does the actual handling to the fans.
I checked the variable, it´s about 7600 msec. I never checked before so it means nothing to me. Is it too high ?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-06-05 09:07 AM . Last Modified: 2025-06-05 09:08 AM
According to this article: https://kwoco-plc.com/plc-cycle-time/#:~:text=PLC%20cycle%20time%20is%20the,act%20before%20starting%....
An acceptable PLC cycle time depends on your application’s needs. For most processes, cycle times from a few milliseconds (ms) up to 100 ms are common. Determine what your process requires and set your acceptable threshold accordingly.
So it looks like to either my program is doing something completely unacceptable or I am not understanding the result of the variable correctly.
How does HMI programming in a TM172 affect PLC load itself ? Do they have separate CPUs inside the hood?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-06-05 11:41 PM
Hello,
Timed task has a fixed period of execution of 100ms, so the code running on this task should be executed in less than 100ms to give space to all the other tasks.
I think you have to review what you have in the timed task, 7.6s is not normal for TM17x PLCs.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-06-06 06:38 AM
Thanks. I will asap.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
Welcome to your new personalized space.
of