The function only works for Sony TV's. For the Panasonic TV, the easiest way is to make a macro with the number of input commands to get you to the correct input.
If you want to get into discrete codes, then
click here to learn about advanced/discrete codes. Click
here to see the advanced codes available for your Panasonic TV.