Is it possible to connect two different nema 17 & 23 onto ramps controller.

I am working on a 3d printer, the motors I am using for the drive are NEMA 23, and I purchase the extruder having NEMA 17 installed on it. when I give the command the motor vibrates but didn't move at all. Turning the potentiometer didn't help at all. But if I attach NEMA 23 to the extruder points it turns without any hazel. If I attached only NEMA 17 it turns but not in the extruder pins, it only revolves in x,y,z points. I am using Ramps 1.4 with Merlin firmware on it. Is there any setting which can solve my issue. Any help would be really appreciated. :frowning: :frowning: :frowning: :frowning: