It's crazy easy with the TC-50.
Just set the channel, fx loop, reverb on the amp the way you want it (I'm assuming fx loop "on" to use the hd-500 effects), pick the program you are gonna use on the hd-500 (say "1" for instance). Then there is a "midi switch" toggle on the back of the amp. Hold...