Cook pasta according to the directions on the package.
In a saucepan, melt butter over medium heat and stir in 1 1/2 tablespoons flour. Add 1 1/2 cups milk and reduce heat to low. Stir in 3 cups shredded Cheddar cheese slowly until melted and pour over cooked pasta.
Transfer macaroni and cheese to mini springform pans and freeze for 1 hour or until macaroni and cheese discs can be removed from the springform pans without falling apart.
Heat oil in deep fryer or heavy skillet to 375°F.
Set up a dredging station with three bowls — 2 cups flour in the first one, 4 beaten eggs and 1/3 cup milk in the second one and panko breadcrumbs in the third one.
Coat each macaroni and cheese disc in flour, submerge in egg wash and cover in panko breadcrumbs. Repeat this step a second time if necessary.
Fry macaroni and cheese discs for 5 minutes or until golden brown and cooked through and then cool on paper towels.
For the cheese sauce for the sandwiches add 2/3 cup milk to a pan over medium heat and slowly stir in 1 cup shredded Cheddar cheese until melted.
Assemble the sandwiches by topping a deep fried macaroni and cheese bun with ham, cheese sauce and finally another bun on top.