Skip to main content

AI-POWERED DOCS

What do you want to know?

Pinouts (M12 & Terminal)

This page provides complete pinout details for the OV20i smart camera’s connectors, including the 17-pin M12 Power & I/O interface and the M12 X-coded Ethernet port.


M12 A-Coded 17-Pin – Power & I/O Connector

The OV20i uses a male M12 17-pin connector for power, digital I/O, and reset functionality.

Legacy pinout diagram showing the 3M and 5M cable wire colors

note

Legacy cable image: this diagram shows the original flying-leads colors used by the 3M & 5M cables. If your cable matches these colors, wire directly from it. If it does not match (10M cable, solid colors plus a Yellow/Green lead on pin 12), see the Wire Color Reference for the 3M & 5M vs 10M cable colors.

Pin Layout

PinSignal NameFunction
5, 6Power GND0V return path
7DIO GNDGround return for digital I/O
8Digital Input 0NPN logic input
9Digital Input 1NPN logic input
10Digital Output 0NPN open collector
11Digital Output 1NPN open collector
12RS232 RX (optional)Not used in standard configuration
13, 14Power VIN (+24 VDC)Primary power supply input
15Reset InputPull low to reboot
16Trigger InputNPN trigger or dry contact
OthersReserved / NCNot electrically connected
note

Pins 5, 6, 13, and 14 are required for powering the device.


Wire Color Reference (M12 17-Pin)

The wire colors of the flying-leads Power & I/O cable depend on the cable length. The 3M and 5M cables use striped secondary colors, while the 10M cable uses solid colors and includes an extra lead on pin 12. Identify your cable by its length before wiring.

Flying-leads wire colors for the 3M & 5M cables compared to the 10M cable

PinSignalWire Color (3M & 5M Cable)Wire Color (10M Cable)Function
5GNDPink (PK)Pink (PK)Power Ground
6GNDYellow (YE)Yellow (YE)Power Ground
7DIO GNDBlack (BK)Black (BK)Digital I/O Ground
8DI0Gray (GY)Gray (GY)Digital Input 0 - NPN Active Low
9DI1Red (RD)Red (RD)Digital Input 1 - NPN Active Low
10DO0Violet (VT)Violet (VT)Digital Output 0 - NPN Sinking
11DO1Orange (OG)Orange (OG)Digital Output 1 - NPN Sinking
12ReservedNo leadYellow/Green (YEGN)Not connected internally
13Vin+Light Blue (LTBU)Blue (BU)Power Input Positive (19-24V)
14Vin+Black/White (BKWH)White (WH)Power Input Positive (19-24V)
15ResetBrown/White (BNWH)Brown (BN)System Reset - NPN Active Low
16TriggerRed/White (RDWH)Green (GN)Trigger Input - NPN Active Low
1,2,3,4,17Reserved--Not connected
caution

On the 10M cable, the Yellow/Green lead on pin 12 is not a protective earth conductor, and the solid Green lead on pin 16 is the Trigger input. Do not wire by color convention alone. Leave the pin 12 lead unconnected.


M12 X-Coded Ethernet Connector

This 8-pin connector supports Gigabit Ethernet.

PinSignalFunction
1TD+Transmit Data (+)
2RD+Receive Data (+)
3TD–Transmit Data (–)
4RD–Receive Data (–)
5–8Bi-DirectionalGigabit pairs
note

Use an X-coded M12 Ethernet cable for connectivity.


Digital I/O Electrical Summary

TypeLogicTrigger MethodCurrent Limit
Trigger InputNPN-compatiblePull to GND
Digital InputsNPN-compatiblePull to GND
Digital OutputsNPN Open CollectorPulls to GND when active100 mA per line
warning

Digital outputs (DO0 / DO1) are NPN open-collector, sinking only. They pull the line to GND when active and cannot source +24 V. An external pull-up or load to +24 V must be provided for proper operation.

note

Always tie DIO GND (Pin 7) to your system or PLC ground.


Best Practices

  • Use M12 screw-lock cables rated for industrial use
  • Verify wiring polarity before powering up
  • Add ferrules or strain reliefs in control panels
  • Never hot-swap the M12 Power/I/O connector