3-Pin 4-Pin M8 Connector Pinout And Color Code
Shine Industry2023-03-11T09:43:57+00:00What Is M8 Connector Pinout And Color Code
The pinout and color code for M8 connector shows the pin position , pin quantity , pin arrangement , insulator shape , color of wire that connected to the pins , can help the enginners make the right wiring .
Why Should Engineers Know M8 Connector Pinout
M8 connectors have A coded 3-pin , 4-pin , 6-pin , 8-pin , B coded 5-pin , D-coded 4-pin , they are very popular for industrial automation applications, such as sensors, actuators and data transmission, knowing the M8 connector pin-out and color code is essential for anyone who works with equipment that uses this type of connector.
- Proper wiring: The M8 connector is used in a wide range of applications, including industrial machinery, sensors, and automation equipment. Knowing the pinout ensures that you wire the connector correctly and prevent any wiring errors, which could cause malfunctions or even damage to the equipment.
- Interoperability: Understanding the M8 connector pinout allows you to easily connect equipment from different manufacturers or suppliers that use the same connector. It can help to ensure that the connections are made correctly and that the equipment functions properly.
- Troubleshooting: If there are any issues with the equipment, knowing the M8 connector pinout can help you diagnose the problem. It can help you identify which pins are responsible for transmitting power, signals, or other types of data.
- Maintenance: When performing maintenance on equipment that uses M8 connectors, understanding the pinout can help you identify any damaged pins or connectors that need to be replaced.
Does Different M8 connector Have Different Pin-out
M8 connectors are available for different types, such as field wireable connectors , bulkhead connector, PCB mount connector , M8 splitters, if they have same coding type , same pins, same gender, then they will have same pin-out and color coding.
M8 3-Pin Connector Pinout

The above picture shows the 3 pin M8 A coded connector pinout, we can see the male and female pins are mirrored, the above picture also shows the position of the pins. Do you know why there is no pin 2 ?
M8 3-Pin Connector Color Code

-
- Pin 1 : BN, short of brown, brown color wire
- Pin 3 : BU, short of blue, blue color wire
- Pin 4 : BK, short of black, black color wire
M8 3-Pin Connector picture
The following 3 pole M8 field wireable connector is screw terminal, available for male and female, straight and angle.

A Code M8 4-Pin Connector Pinout

M8 A-coded 4 Pin Connector Color Code

-
- Pin 1 : BN, short of brown, brown color wire
- Pin 2 : WH, short of white, white color wire
- Pin 3 : BU, short of blue, blue color wire
- Pin 4 : BK, short of black, black color wire
All M8 connectors have 4 pin for option
M8 4-Pin Connector Picture
This is Zinc alloy M8 field wireable connector, screw termination, available for 3 pole and 4 pole.

M8 D Code 4-Pin Connector Pinout
D coded M8 connector only have 4 pin type, don’t have other pin quantity for option, it can be used for 100M data transmission, such as industrial ethernet , its pinout is different with the M8 A-coded 4 pin.
M8 D Code 4-Pin Connector Color Code
Following chart shows the color code of M8 D-coded 4 pin , the wire color for the pins is different with M8 A coded 4 pin.

-
- Pin 1 : YE, short of yellow, yellow color wire
- Pin 2 : WH, short of white, white color wire
- Pin 3 : OG, short of orange, orange color wire
- Pin 4 : BU, short of blue, blue color wire
D code 4 pin M8 to RJ45 Pinout
The D-coded M8 to RJ45 ethernet cable have 4 cores, the 8 pin RJ45 will have only 4 pin connected to the M8 connector, details as following, if the wire is wrong connected, it will not work normally.

M8 D Code 4-Pin Ethernet Connector Picture
D -coded M8 connector is mainly used for data tranmisssion, such as industrial ethernet. The thernet cable is Cat5e , if used in drag-chain, will need high flex moving cable, the cable have different color and cable jacket for option.

B Code M12 5 pin Connector Pinout

M12 B Coded 5-Pin Connector Color Code
The color code is mainly used for the overmolded M8 cable , as we cann’t see which wire connect which pins, B-coded 5 pin can be used for fieldbus or logistics sorting system.

-
- Pin 1 : BN, short of brown, brown color wire
- Pin 2 : WH, short of white, white color wire
- Pin 3 : BU, short of blue, blue color wire
- Pin 4 : BK, short of black, black color wire
- Pin 5 : GY, short of grey, grey color wire
Snap-In M8 B-coded 5 Pin Connector Picture
It’s snap in M8 connector, also can be made with A-coded 3 pin, 4 pin, suitable for test equipments where the male and female cable need to dis-connect .

M8 6-Pin Connector Pinout

M8 6-Pin Connector Color Code

-
- Pin 1 : BN, short of brown, brown color wire
- Pin 2 : WH, short of white, white color wire
- Pin 3 : BU, short of blue, blue color wire
- Pin 4 : BK, short of black, black color wire
- Pin 5 : GY,short of grey, grey color wire
- Pin 6 : PK, short of pink, pin color wire
A-coded M8 6 Pin Connector Picture
The moulded M8 A code connector is available for straight and angled, have PVC, PUR cable jacket.

D Code M8 6 pin Connector Picture
The D-coded M8 6 pin cable have same pin position as A coded M8 6 pin, but the Pin-1, and Pin-2 have bigger size, it is hybrid connector, which could supply data and power connection at one connector, and size is only M8 size, it’s also used for industrial ethernet .

M8 8 Pin Connector Pinout

M8 8 Pin Connector Color Code

-
- Pin 1 : WH, short of white, white color wire
- Pin 2 : BN, short of brown, brown color wire
- Pin 3 : GN, short of green, green color wire
- Pin 4 : YE, short of yellow, yellow color wire
- Pin 5 : GY,short of grey, grey color wire
- Pin 6 : PK, short of pink, pink color wire
- Pin 7 : BU, short of blue, blue color wire
- Pin 8, RD, short of red, red color wire
M8 8-Pin Connector Picture
The M8 8 pole cable have straigt and angled shape, shielded or unshielded.

Is Color Code All The Same With M8 Connector From Different Brands
The color code can be different if the M8 cables are from different manufacturers , however , most manufacturers will adopt same color code to reduce problems.
Welcome to contact us if you have any questions for the M8 connector pinout and color code.
Leave a Reply