Hey everyone
I've been struggling with real time clocks on cx-programmer. Basically what I wanted to do was to increment different words (UDINT data type) according to the the different hours during a day. Let's pick an example, if an output goes ON between 6AM-7AM, then word W500 is incremented although if the same output goes ON at 8PM the word W600 is incremented. I don't know if I'm being clear, but I truly hope you guys can fill me in.:nodi:
Thanks in advance
I've been struggling with real time clocks on cx-programmer. Basically what I wanted to do was to increment different words (UDINT data type) according to the the different hours during a day. Let's pick an example, if an output goes ON between 6AM-7AM, then word W500 is incremented although if the same output goes ON at 8PM the word W600 is incremented. I don't know if I'm being clear, but I truly hope you guys can fill me in.:nodi:
Thanks in advance