Generally quick disconnect at the panel is in order for ease in machine shipping or moving, another option is 1/2" conduit flex strain relief, these can be obtained to suit all diameters of cable.
They require a standard 1/2" conduit hole in the panel and once the cable is inserted, they are tightened to form a sealed entry in and secures the cable.
On the servo/stepper end, again, it is usually is done to allow quick change out of a replacement motor.
Also with less connectors, the less likely hood of connection/continuity woes.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.