I posted a picture of some code that will do this for you that is simpler than using a case structure. It uses some logic gates in the code and ensures that the relay is set only once during each loop execution. If you are controlling jaguars or victors than you can just change the set relay to set speed and submit constants (255, 127, or 0 or any degree thereof) to the true/false cases for the select blocks.
Here is the thread.
http://www.chiefdelphi.com/forums/sh...ad.php?t=73908
feel free to post if you have any more questions! Hope this helps!