RM-TP501E is for TA-E9000ES, without learning function. And use battery only.
RM-TP504E is for STR-V555ES and most AV products, because it got the Learning function and could use the AC adapter to plug.
It could save more battery fee for you. So the TP504E is the 4th generation of thr remote function.