Alarm 1 is a hard limit switch being triggered, meaning the controller is seeing one of the limit switches pressed. This can happen because something physically contacted the switch, or because something induced enough power in that wire that it thinks the switch was hit.
Lasers use high voltage power supplies that can be very electrically noisy (especially the ones in K40’s) so I would look at wiring, make sure all your wires are connected securely, grounds are running everywhere, and you don’t have Arduino wires running too close to the laser wires.