Type ratings are only for types (mostly) with gas turbine engines, over 5700kg and specific types mentioned in EASA regulations. Under 5700kg with a regular piston engine needs a class rating. You don't do type ratings for a type within a class. If you're flying a C172 and want to move to a PA28, you need a checkout from an instructor, which is called 'differences training'.