Automation requires networking and in the industrial environment there is a proven versatile solution for connecting e.g. sensors or actuators: M12 circular connectors with A-coding can be used to transmit signals, data or as electrical cables. What needs to be taken into account is explained below.
Dust and liquids cannot harm the M12-A circular connector from Würth Elektronik eiSos: The connectors, which comply with protection classes IP67 and IP68 are suitable for use in harsh environments.
When connectors from different manufacturers can be combined, a standard has been established. This is the case with M12 circular connectors. The industrial connectors represent a compact, standardized interface that is suitable for many applications: Â from the transmission of signals and data to power transmission. Pretty much anything is now possible using this robust, mechanically, and environmentally resistant long-serving connector. The term M12 refers to the 12 mm nominal diameter of the locking thread. The wide range of applications for M12 connectors is also reflected in the number of mechanical codings[1] that comply with the standards (DIN EN 61076-2-xxx) for the respective areas of application.
The A-coding mechanical shape is the origin of all M12 codings; all other mechanical locking systems have developed from it, which is why there are different codings (A, D, L, X, S, etc.), each with different numbers of contacts available. Although M12 interfaces can have from 2 up to 17 contacts, in the practice the most commonly used are three, four, five, eight or twelve pins. The number of pins depend on the various requirements. For example, sensors and power supply applications require three and four pins, whereas Profinet and Ethernet applications require four and eight pins, and Fieldbus, CAN bus and DeviceNet typically require four and five pins. Twelve pins are required for sophisticated signal transmission. Table 1 shows an overview of the protocols and number of connector pins required at the physical level.
Physical Layer | Suitable M12 A-coded |
10BASE-T | 8-pin |
100BASE-T | 8-pin |
Higher BASE-T | 8-pin |
IO LINK Class A (Master) | 5-pin |
IO LINK Class A (Cable) | 4-pin |
IO LINK Class A (Device) | 4-pin or 5-pin |
IO LINK Class B | 5-pin |
USB A 2.0 | 4-pin |
micro USB 2.0 | 5-pin |
CANbus | 5-pin |
RS-485 | 4-pin or 5-pin |
RS-422 | 4-pin or 5-pin |
RS-423 | 4-pin or 5-pin |
RS-232 | 8-pin |
Overview of the physical level of the M12-A coding. Würth Elektronik offers circular connectors with M12-A coding with 4, 5 or 8 pins.
Data line with power supply
Würth Elektronik eiSos offers the M12 circular connectors as male and female connectors with A-coding (DIN EN 61076-2-101). M12-A stands for signals with the option of DC power supply, which are particularly suitable for fieldbus applications in industrial automation. The WR-CIRCM12 family with a screw lock housing and cable assembly is available with 4, 5 or 8 pins. The current Würth Elektronik eiSos portfolio includes plugs and sockets for control cabinet assembly and for panel mounting with solder cups pre-wired leads or THT versions for circuit boards. Areas of application can be found in industrial environments, particularly in automation and robotics, as well as in the field of renewable energies, communication technology and mechanical engineering. In addition, the panel and field wireable models of the M12 connectors are cULus-certified (UL2238). All M12 connectors provide minimum protection to IP67 or IP68 against the ingress of dust, dirt, and water.
Fast and error-free
Fast and error-free transmission of digital signals via cable are vital for sensor and actuator applications. The basis for this is Ethernet Over Twisted Pair (EOTP), which is considered one of the most important physical layers for Ethernet. It serves as the basis for the EtherCAT, EtherNet/IP, Profinet, CC-Link IE, Powerlink, Sercos III and Modbus TCP protocols.
Although M12A is not the original connector on which the EOTP interface was developed, it is still possible to use the connector in various adaptations. For example, the eight-pin M12 circular connector can be used as a replacement for the RJ45 in an ANSI/TIA-568 Category 3 cabling system used for the 10BASE-T Ethernet interface at 10 Mb/s. The Cat 3 cable consists of four twisted pairs with a typical differential impedance of 100 Ohms. Figure 1 shows the recommended assignment when wiring an RJ45 (8P8C modular plug) with an M12 A-coded circular connector. On the other hand, when wiring an M12 A-coded circular connector with an M12 A-coded circular connector, a pin assignment as shown in Fig. 2 is recommended.
10BASE-T transmission: Recommendation for wiring an RJ45 (8P8C modular plug) with an M12 A-coded circular connector.
This is the recommended pin assignment from M12-A to M12-A for 10BASE-T transmission.
This pin assignment minimizes the delay offset between contacts of the same pair. This wiring is a widely used configuration for A-coded M12 EOTP cabling. Although 10BASE-T uses only two pairs for signal transmission, it is not advisable to have only two pairs in the cable or to use a four-pole A-coded circular connector, as this can lead to confusion with other widely used applications. On the other hand, a D-coded connector is recommended for two-pair EOTP cabling with M12. Other Fast Ethernet variants are also possible, specifically 100Base-T for applications up to 100 Mbps, which require D-coded circular connectors with two-pair cables, or higher Base-T for data rates of up to 10 Gbps. For the latter, however, X-coded circular connectors with four-pair cables are required.
The question is: Can higher clocked EOTP standards be implemented alternatively with M12-A coding without compromising on speed and signal integrity? For 100 Mbit/s EOTP standards, it is possible to create an interface with an A-coded circular connector by following the same pin assignment as for 10-BASE-T. Signal integrity must be considered when designing such an interface. The entire cable assembly, including the connectors, must conform to ANSI/TIA-568. Each of the plug/socket pairs and the cable itself have a budget for loss and crosstalk that must not be exceeded. It is recommended to test the S-parameters of such an interface, which mainly depends on the cable category and the cable length. Even at significantly higher data rates of up to 10 Gbit/s, it is possible to create an interface with an M12 circular connector with A-coding by implementing the same pin assignment as for 10-BASE-T and 100-BASE-T and applying the same signal integrity considerations. Such an interface will generally have a much shorter cable length.
Other applications
There are more applications for the robust M12-A circular connectors. For example, the IO-Link communication system can be used to cleverly connect intelligent sensors and actuators to an automation system in accordance with IEC 61131-9 – using four- or five-pin A-coded M12 circular connectors that are connected to a three- or five-wire 20-metre cables. The connection on the three-wire cable is referred to as “Class A” and the connection connected to a five-wire cable as “Class B”. The device connection can be a captive cable or a four- or five-pin M12 A-coding, depending on the desired cross-compatibility.
The M12 connection technology is ideally suited as an intermediate link for industrial bus systems, especially for CANbus, RS-485, Profibus and the physical levels RS-422, RS-423 and RS-232. While the CANbus was originally designed for use with a small D-SUB connector, the five-pin M12-A coded round connector is a popular interface for the CANbus. Only the CAN_H and CAN_L signal pair, which is wired to pins 4 and 5, is mandatory. The device can be supplied with power in this configuration. Twisted signal cable pairs with a nominal impedance of 120 ohms is used for electrical transmission.
The RS-485 physical layer is often used for the industrial protocols Modbus, OSDP, SSCP, SCSI-2, SCSI-3, Profibus, Nanoréseau, DMX 512 and AES 3. Figure 03 shows a typical RS-485 pin assignment for five-pole A-coded cables. Alternatively, four-conductor shielded cables can also be used. The wiring largely depends on the required power supply, but always includes at least the symmetrical TxD/RxD pair in positions two and four to minimize the delay time.
Pin assignment of a five-pin M12-A coded socket for the RS-485 interface.
Profibus enables decentralized concepts. The fact that Profibus can be adapted to different applications using a modular principle also makes this technology attractive in production automation and the process industry. Here the M12 connection technology is indispensable. While the A-coded variants are used for power supply, the B-coded circular connectors are specifically designed for Profibus signal transmission (Fig. 04).
Pin assignment of a 5-pin M12-A coded socket for used to power Profibus peripheral devices. Other industrial bus systems in which the M12 circular connectors with A-coding are used are the RS-411, RS-423 and finally the RS-232. Eight-, five- and four-pole connectors are suitable for this. The wiring mainly depends on the required signals, the power supply, and the required earthing.
About The Authors :
Baptiste Bouix
Product Manager International von Würth Elektronik France
His areas of responsibility include board-to-board, card connectors and Ethernet connectors. Previously, he worked in the microelectronics industry in research and development of manufacturing processes. With degrees in materials science and nanotechnology, he has extensive expertise in silicon technologies, signal processing and measurement technology and has become a specialist in signal chain-oriented product management and design over the years.
Caroline Poulard
Product Manager for circular connectors and DSUB connectors at Würth Elektronik France. Mechanical engineer, started to work in the automotive industry, then reached for new challenges in the electronic field.
[1] Codings refer to unique mechanical profiles of the housing for specific applications to ensure the wiring matches the application.