[[Template core/front/global/updateWarning is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
Thought I would put up a easy code using Micrologix controller that can be converted to an easy timer program I used this for work hope it helps. (Note I also have a short version if interested)