Man gets 30 years for robbery and defilement