Camming multiple parts

I have 4 vices set up in my mill. I'm trying to do the same 4 parts in 1 cycle hopefully using aG54,G55,G56 AND G57.

Can anybody point out a tutorial to make this possible?