Here are some notes that took down while diagnosing why the sustain pedal was not working when controlling my Behringer Pro VS Mini with a Edirol PC-50.
So firstly I had to check it was not the Edirol PC-50. It is quite old. And maybe someone who owned it before me plugged something i and fried it somehow.
But my using MIDI-OX on windows 7 and a long chat with Google Gemini:
https://g.co/gemini/share/f3112cfd08a2
I was able to figure out that the problem lies with the Behringer Pro VS Mini.
What the PC-50 Does
This is what you get from the PC-50 when the DP-2 pedal is pressed. Which according to Gemini is correct.
TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT
0000365B 1 -- B0 40 7F 1 --- CC: Pedal (Sustain)
0000378B 1 -- B0 40 00 1 --- CC: Pedal (Sustain)