A wiring diagram to set up limit switches for this motor is HERE.
This is a compact, single-phase, 115v ac to 230v ac input, permanent magnet, brushless gear motor with reversible, on/off, speed adjustable controls. Speed range varies depending on the shaft load. Motor's maximum speed is 150 RPM. Rotation is reversible by a signal wire. This combination will be described in two parts: brushless dc gear motor and power adapter.
Brushless DC Gear Motor: NEMA 23 frame. 2.2 N-m (1.7 ft-lb) torque at 150 RPM. Permanent magnet rotor. 60mm x 60mm square front. 4 M5 threaded holes located at front for face mounting. Motor length is 6.5 inch (165mm) long and its controller is integrated as part of the motor. Shaft is 8mm in diameter with a flat and is 1 inch (25.4mm) long. The control line, which contains speed adjustment (with a pot soldered already), reversing signal wire, on/off signal wire, and signal ground wire, is 20 inch (508mm) long. Connector line that is to connect to the power adapter is 20 inch (508mm) long. Motor control is very simple. To turn the motor OFF, simply connect the on/off (blue) wire to signal ground (black) wire. A typical practice is to introduce a switch between the on/off wire and the ground wire, but one may
simply connect the reverse (white) wire to the same ground wire and the motor will reverse its rotation. PLEASE BE SURE THAT THE MOTOR IS AT FULL STOP BEFORE REVERSING.
To vary the speed, simply turn the potentiometer.
Power Adapter: The power cord is 5 ft(152 cm) long and has a standard plug ready to plug into a standard appliance outlet. The adapter is able to universally accept 115v ac or 230v ac. Connector line that is to connect to the motor is 3 ft (91 cm) long. Adapter's dimensions are 2.5 in(64mm) width by 4.75in(121mm) length by 1.75in(44mm) depth.