Most Japanese manufacturers have standardised their gearbox outputs to accept a M22 x 1.5mm threaded sensor which has a round peg drive with a ‘lug’ pinched onto the side.
Technical specification: 4 pulses per revolution (20mA sink capability). Hysteresis type sensor. 5 volts to 13 volts power supply.