Sparky
Member
I was asked by my supervisor to program some automated bulding controls so that they would perform different operations during the weekends than what they would perform on weekdays. Using a AllenBradely PLC 5/40. I looked into the well known Doomsday algorithm. This proved to complicated for me to impliment into a ladder logic program. I could work it in my head but the conversions were not strickly mathamaticaly related. I ended up using a 7 digit preset counter that counted up using the PLC's own Status time file. Counting up daily at 18:00 and a limit instruction for the control bit (2-6 being mon-fri and 0-1 being Sat and Sun). Does anyone know how to convert the Doomsday Agorithm into ladder logic ussing a PLC 5. Or is my counter basical the best way to go about this operation?
Thanks guys
Here are some links on the Doomsday Algorithm.
http://rudy.ca/doomsday.html
Thanks guys
Here are some links on the Doomsday Algorithm.
http://rudy.ca/doomsday.html