In searching around the MX-500 code list, I found that audio 154, which is supposed to be a Harman Kardon code, makes the power on and power off buttons work as discrete on and off for my Marantz SR-5200 Receiver.
Just FYI.
01000111
Just FYI.
01000111