The pallet warehouse is a "of the shelf" product. It has two connections, one for the power supply (230 VAC) and one for the data (25 D-SUB). Inside there is a printed circuit board with the electronics for controlling the stepper motors. On the picture on the right you can see the schematics. Click on the picture for a bigger version of the schematic.
The simplified working of the schematic is as follows.
The lower part is the power supply that delivers two voltages, about 15 VDC for the stepper motors and 5 VDC for the IC's.
IC4, 5 and 6 are for the controlling of the stepper motors. Pin 3 is for the direction, left or right, of the motors. If there is a pulse on pin 15 the motors will turn one step.
The direction of the motors is "remembered" by IC2. The outputs of the IC are set by the chosen direction on the data-inputs 2, 4 en 6 and a clock pulse on data-input 9.
Which motors will turn is selected by the data-inputs 2, 4, and 6 in combination with pulses on the data-input 8.
The "drivers" of IC3 are used as a interface between the 5 VDC IC's and the 15VDC IC's.
The question is why is the schematic so complicated? You could connect the inputs of IC4, 5 and 6 via the "drivers" from IC3 directly to the user-port. The controls would be even more flexible. The reason I can think of is that in the original design there would be 3 zero-position switches. Then the total number of inputs, including the existing 5 would be 8 inputs. And that would be the maximum number of IO on many computers.
Remark: On the IC's 4, 5 and 6 a heat-sink is installed.