IFI published a white paper last year on how to implement timers
http://www.ifirobotics.com/docs/time...004-jan-14.pdf
When the timer rolls over an interrupt is triggered, code execution is interrupted, and you can either perform your action (if it's VERY short), or set a flag your regular code can check whenever it's convenient to execute your special command.