Probably electrical noise from your spindle motor interfering with the USB communications. Is this a VFD spindle motor? They can be particularly noisy.
Do you have the PMDX-411 plugged into any kind of breakout board or driver system (PMDX-340, GeckoDrive G540, etc.)?
Make sure the power wiring for your spindle is as far away from any other wiring as possible. Specially any limit switch wiring. These are notorious for picking up noise (long wires make good antennas). And the PMDX-411 doesn't have any isolation on its inputs like some other PMDX models.