I am having some diffculty with the exact operation of the [DNCtr]. I am using it as a simple timer for a motor. When it times out, motor stops. I am using the built in Clk:1.0s to decrement the counter. I am using the SetCtrSV function to set the timer value.
Issues:
1) I need to be able to adjust the time on the fly. However, I can't seem to move a new value into the counter until it has been reset. ?
2) When the counter is reset, the CtrPV is equal to -01. Is there a better way to do what I am doing?
Thanks,