Barrel Cam in a sewing machine

hi fellas, I want to make a barrel cam just like the video I am gonna upload but I can't, I've tried so much but every time there is a problem in it.

here is the file

SolidworksAssemblies