Hi Jim and
to the forum.
Unfortunately, it is difficult to say what is causing your problem without further testing.
I suggest that you start by measuring the battery voltage on the main output wires of the battery to ensure the correct voltage is available.
If the battery's
BMS was faulty, this can prevent the battery from delivering sufficient voltage/current to power the controller/motor.
If the battery voltage reading is OK with the battery disconnected, check it again at the battery's output connector when it is connected and turned on to ensure the correct voltage is still available.
Sometimes a faulty
BMS will give a good output without any load, but the output will drop completely when any load is applied to it.
Unfortunately, if a controller fails in a short circuit state, this will also cause the
BMS to instantly cut all power when it was connected and turned On.
Measuring the resistance across the controller's battery connections while disconnected from the battery should allow you to see if the controller is short circuited.
If it measures less than 1~2 Ohms between the thick Red and Black power cables, this would confirm an internal short circuit has occurred somewhere within the controller itself or its external wiring.
If the controller is not short circuited, but the battery voltage is reading far too low with everything plugged in and turned On, then the fault is likely to be within the battery itself, the battery connectors, battery switch or battery wiring.
Alan