Fork limit sensors are used on the print head carriage (X Axis) or alternatively used on the capping station vertical drive movement.
There functionality is to perform home position setting of either movement, and without the signal produced by such sensor the printer woulf not function at all.