Instead of having to crimp wires and pins, I got this molex cable
assembly (WM15769-ND) from Digikey. Fits perfectly into the DOS port. No crimping of pins and inserting into a molex connector. The second picture is of the cable assembly to connect to the optical sensors. You could go direct from the optical sensors to the molex cable assembly, but I wanted a separate plug(s). Plug a optical sensor into each of the 3S JST EH cables so you know what end not to cut and then cut connector the other end to expose the wires, do this for both optical sensors. You then cut one end of the microfit cable and splice together the two sets of four wires from the optical sensors (follow the colors on the optical sensor) in with the six wires from the molex cable. I just used butt connectors that had shrink tubing on them and then electrical tape to keep it neat.
On the Digi-key page for this cable is a
drawing document that shows the specs of the cable including wire colors.
1-Black, 2-Brown, 3-Red, 4-Orange, 5-Yellow, 6-Green
The pin layout of the microfit 6 circuit socet matches what was posted earlier for the DOS.
Digikey has the microfit cable up to 5m lengths and you might be able to find a vendor that sells them individually or not on backordered, they had lots of the 0.5 meter cables. This cable has the same socket on each end, so if needed you can cut the cable in the middle and wind up with two microfit cables and could build out four optical sensors if you have multiple DOS units.
As in any DIY, perform at your own risk.