Quantcast
Channel: Modicon / Telemecanique / Schneider Electric Latest Topics
Viewing all articles
Browse latest Browse all 446

Unity Pro XL Get Time of Day

$
0
0

Hi, very new to PLC programming and desperately looking for some help to finish my project!

I need to program a pump to run based on the level in a holding tank. The start/stop set points change throughout the day based on the time. For example, function for the start set point is 1.15372×10^-6 x^6 - 0.000114068 x^5 + 0.00448866 x^4 - 0.0883477 x^3 + 0.877893 x^2 - 3.57417 x + 7.5, where x is in hours. How can I access the PLC time (current hour and minute) so I can use them to calculate the set points? Does Unity Pro XL have pre-defined variables for these?


Viewing all articles
Browse latest Browse all 446

Trending Articles