This video shows how to use a midi controlled FX unit in Logic Pro - also in this setup you will see how to route the audio to another track so you can record the FX output if desired as well as the midi data (there is no audio just watch)
Youtube Video
cheers