M12 Standards

M12 A-Coded, 4-Pin

DC Power

M12A Pin 1 - Excitation+

M12A Pin 2 - Excitation-

M12A Pin 3 - Sense+

M12A Pin 4 - Ground

M12 B-Coded, 5-Pin

RS485 with DC Power

M12A Pin 1 - Excitation+

M12A Pin 2 - Excitation-

M12A Pin 3 - RS485/A

M12A Pin 4 - RS485/B

M12A Pin 5 - Ground

M12 D-Coded, 4-Pin

4-pin (100 Mbps) Ethernet

M12D Pin 1 - RJ45 Pin 1

M12D Pin 2 - RJ45 Pin 3

M12D Pin 3 - RJ45 Pin 2

M12D Pin 4 - RJ45 Pin 6

Not used: RJ45 Pin 4, 5, 7, 8

M12 X-Coded, 8-Pin

8-pin (1+ Gbps) Ethernet

M12X Pin 1 - RJ45 Pin 1

M12X Pin 2 - RJ45 Pin 3

M12X Pin 3 - RJ45 Pin 2

M12X Pin 4 - RJ45 Pin 6

M12X Pin 5 - RJ45 Pin 7

M12X Pin 6 - RJ45 Pin 8

M12X Pin 7 - RJ45 Pin 5

M12X Pin 8 - RJ45 Pin 4

⚠️

For AC Power Reference, please review NEMA Nomenclature and wiring standards for NEMA 5-15. Refer to an electrician for more information.

⚠️

M12 S-Coded, 4-Pin

AC Power

M12S Pin 4 - Ground (Green)

M12S Pin 1 - X (Live)

M12S Pin 2 - W (Neutral)

M12S Pin 3 - Y (Unused)