i've got an application where i communicate with a frequency converter. in my sequenz i start the frequency converter first. at the second step i wait for a defined time and stopped the frequency converter at last. the cycle rate from the profibus ist 275 times per second. this is enough. but the time i wait (200ms) isnt always the same value. on my oscilloscope the values changed about 30%(200ms +-60ms) wheres the problem?
The problem is that "normal" Windows is not a real time application. Depending upon what you are using for a timer, this can easily happen. What are you using to generate the wait?