Posted 11 Feb 2016 Dear, I need some help with an application in ml1500 with the RTC . I need an exit is enabled by days of the week . I´m programming in Rslogix500. Program follows the image. If possible help me. Thanks Daniel. Share this post Link to post Share on other sites
Posted 11 Feb 2016 (edited) RTC:0.DOW is a 16 bit word which holds the decimal value of the day of week. You have used the bits in that 16 bit word ,bit "0" zero = a value of 1 Bit 1 would be true if the value is equal to 2 and..... Bit 2 would be true if the value is equal to 4 and .... Bit 4 would be true if the value is equal to 16 and ..... Bit 5 would be true if the value is equal to 32 and ..... Think binary numbers. If you want to make something happen during a certain day of the week then you need to use compare instruction(s) to compare the value in RTC:0.DOW to a constant. E.G. If RTC:0.DOW = 2 Then Turn on O:0.0 Edited 12 Feb 2016 by Mickey Share this post Link to post Share on other sites