HELP! limit switch

I guess, but the wires end at the same place. If they’re both going backwards you can swap the connections, swap one coil pair in each motor connection, or adjust your grbl settings (post yours and I’ll tell you what to change).