You will find all you codes in the
Yamaha Master IR Collection (PDF's). There is a Hex Generator in the Zip as well.
If you don't want to generate each Hex Code I can send you a couple of Text Files and or CCF Files (can you import them?) with all of them generated. You will just need to match the Custom Code (Device Number) and Data Code (Function Number) from the PDF's to the Codes in the Text or CCF Files.
If you want the Text or CCF Files, mail me (my address is in my Profile).
Cheers
Jason