I have been doing some testing and some research about this, and have come to the conclusion that it is not possible to do this. I have a Casio DG20 digital guitar which I tried it on, without sucess. I can pretty much guarantee that all Casio keyboards with this feature, such as the SK5 and SK8, will behave in the same way.
I have sought to bypass the APO signal line from the DG20's processor and connect an external 5V supply to the power circuit transistors to keep the keyboard awake. I thought that this would do it, and now the rest of the keyboard does stay powered up, but the processor itself actually shuts itself down after 7 mins. The lights stay on, but nobody's home. The instrument will not operate.
Referring to the service manual, you can basically work out what i've done. But I believe the processor itself has a timer in it that is hard-wired internally in the chip that shuts the processor itself off, no matter what else goes on in the keyboard. That's a damn shame, I really thought I was on to something.
There IS one way that you can work around this feature, and that is to press any button or key on the keyboard every 6 or so minutes, before the APO switches off. Knowing this, it should be able to make a small timer circuit with a tiny relay or electronic switch that is hotwired to some relatively unused function button on the keyboard, that will do this automatically.
Anyone have anything to add to this?
Cheers, Graham