TimothyMoulder
Member
Actually, it's time tracking I'm interested in...
My usual manner is as follows:
1. Track seconds with an RTO up to 60 (seconds)
2. Strobe a Counter with RTO/DN (Minutes)
3. Reset RTO with RTO/DN (Reset Seconds)
4. If CTR/DN is set, Reset CTR and RTO (Overflow)
Then I monitor the CTR.ACC to see my elapsed minutes
The thing is, this seems inelegant to me. If Micrologix timers could be set for more than 32000, I could just count seconds and divide by 60, but this is close to 8 hours, and we sometimes run ten or twelve.
Anybody know a better way?
My usual manner is as follows:
1. Track seconds with an RTO up to 60 (seconds)
2. Strobe a Counter with RTO/DN (Minutes)
3. Reset RTO with RTO/DN (Reset Seconds)
4. If CTR/DN is set, Reset CTR and RTO (Overflow)
Then I monitor the CTR.ACC to see my elapsed minutes
The thing is, this seems inelegant to me. If Micrologix timers could be set for more than 32000, I could just count seconds and divide by 60, but this is close to 8 hours, and we sometimes run ten or twelve.
Anybody know a better way?