Maybe firmware options: X_MAX_POS, X_MIN_POS, Y_MAX_POS, Y_MIN_POS. That is provided the software endstops are enabled (min_software_endstops, max_software_endstops). These settings are in Configuration.h.
↧