jonas_rotter
Dear Community,

I'm about to write a little programming with OpenPLC Editor. For this I need a timer which switches an output every day from 6-22 o'clock. I had thought about reading the time with an RTC function block and comparing it with the desired time (difference of the times, if difference equals 0, then switching).

Do you have any other ideas on how to do this more elegantly?

Thanks for your help and many greetings,

Jonas
Quote 0 0
lc625
Hi Jonas,
perhaps this might help:
https://openplc.discussion.community/post/oscat-library-building-section-10276433
Take a look to the attached PDF: TIMER_1 or TIMER_2.
Quote 0 0