The LAST button and ENTER from the guide depend on programming within the unit, way way inside past where the IR goes in, to go to the channel. The unit does not send any channel number codes when you hit those buttons.
A good answer is easier with a clear question giving the make and model of everything. "The biggest problem in communication is the illusion that it has taken place." -- G. “Bernie” Shaw