New z axis stepper motor

I have installed my new stepper motor for my 220 volt system. When I power up and get it to home it slams up and then I get alarm homing error and x-motor alarm. I also replaced my ax motor and it shows an error on the motor as well. One thing I did do is turn all my dip switches up. Any help would be absolutely phenomenal

Check your motor resolution. There might be a legend for 1-4 on the motor… i knew what 5 was but can’t recall and 6 is reverse

Thank you, where would I find that

I’m pretty sure it has something to do with the dip switches, to know where each goes .

It’s either on the motors themselves or here