Wiring an M12 sensor to a Micro850 PLC is a very common straightforward task.

Starts with identifying the sensor type—typically a 3-wire PNP or NPN proximity sensor. Most standard M12 connectors follow a common pinout:

  • Pin 1 (Brown): Supply voltage (+24VDC)

  • Pin 3 (Blue): Ground (0V)

  • Pin 4 (Black): Signal output

Start by ensuring the Micro850 is powered off. Connect the sensor’s brown wire (Pin 1) to the PLC’s 24VDC power supply terminal, and the blue wire (Pin 3) to the 0V (common) terminal. The black wire (Pin 4), which carries the signal, should be connected to one of the PLC’s digital input terminals (e.g., I:0/0).

Once the wiring is complete, power on the system and use the Connected Components Workbench (CCW) software to configure the input in the Micro850’s program. You can monitor the input status to verify the sensor is functioning correctly when triggered.

For NPN sensors, the signal wire would pull the input to ground instead, so be sure the input logic is appropriate to the sensor type.