CNC machine reports incorrect end stop trigger.
Marlin 3D Printer Firmware running on Arduino Mega with RAMPS 1.4 shield. Controlled via Pronterface.
The status of the end switches can be checked using the command
M119. The procedure below explains how to check the status of the switches.