M12 connectors in I connected them up and made sure that they were wired correctly. The pinout is 1->1 but we didn’t have cable with the correct color codes on hand so I had to wire with Belden 8444, which while it is really nice cable, is not exactly correct if you are trying to wire the cables up. Heres how it got wired:
Pin – Bulkhead/m12 color – belden color
1 – Brown – Red
2 – White – White
3 – Blue – Green
4 – Black – Black
Belden 8444
m12 Wiring diagram