A tablet press comprises a gate and a control apparatus configured to generate a switching signal. A drive apparatus is configured to move the gate in response to the switching signal received from the control apparatus between a first switching position and at least a second switching position. At least one sensor is configured to generate a detection signal when the gate reaches one of the switching positions. The control apparatus receives the detection signal and is configured to output a switching signal to the drive apparatus to at least partially move the gate back into a home position when there is a switching signal to move the gate out of the home position and there is no detection signal received from the at least one sensor. The control apparatus subsequently outputs a switching signal to again move the gate out of the home position to a target position.