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.
Posted: 2025-08-20 04:20 AM
I need to set up time controlled operations in a new program using the M172 PLC. We use Ewon Netbiter to give our clients an online system where they can set the date and time for when these operations are carried out; I need to compare their input values to the system clock of the PLC, and run the operation between the start and end times.
I have used the M221 previously to do this, and it was pretty straight forward to do, but for the M172 I cant find a way to compare the values for the month, date, day, hour, and minute of the clock. I mapped it out in FB but I think I may need to use ST instead. When using the M221 I had to refence each value individually, but if I could compare a full date and time format, I think that would be a lot easier.
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-08-21 01:50 AM
Hi,
Date and Time of TM172P is inside a structured target variable sysClock
So the way to access to every field is sysclock.seconds, sysclock.minutes, ect..
But take in account also to use the FB YearlyEvent (inside library application in the regul and control folder) to decide when an event occurs
There is also FB WeekSchedule for event with week cycle.
Best regards
Marco Cervati
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.
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