CAN Connector
CAN connector pinouts should match this image. The yellow line is the edge of the board and the connector is mounted on the front in this image.
M12 Power Connection
We use A-coded M12s with the following pinout:
TBD
Power sources use <TBD> contacts and devices that take power input use <TBD/opposite> contacts. All cables should then be male-to-female.
M12 Ethernet Connection
We use D-coded M12s with the following (common in industry) pinout:
The ports on our boxes should have female contacts, and the wires linking the boxes together should be be male-to-male.