Hmm...I do not facing something like your issue but want to help you that's why sharing Casio CTK-7200 Manual with you. Go through it hope you will get an idea how to change styles and all. Hope it would be better.
You need to check if the code you have is telling your keyboard to change to the drum sounds. Sometimes this is as simple as making sure that the MIDI channel is set to number 10. Go to Casio CTK-6200 Manual and check out how to fix this issue effectively.