The trick is to think of it as a two part thing
1) Assign a controller (footswitch or expression pedal) to toggle an effect or (for expression pedals) to change a parameter.
2) Use a Midi CC to control the controller.
As the gents above have said, full details in the Appendix to the Advanced guide. Make sure that your firmware is 2.0 or greater.