Skip to content

Wiring, pin to pin

OnRobot RG2 ↔ Universal Robots UR20

Which contacts a cable joins, taken from each vendor's published pinout. Whether the two products work together is a different question — this page does not answer it.

Back to OnRobot RG2

A · OnRobot RG2

M8 · 8-pin

female · sockets · inferred

gripper cable to the robot tool connector

M8, 8 contacts, 8 with a recorded signalM81AI2 (robot tool…2AI3 (robot tool…3DI9 (robot tool…4DI8 (robot tool…5Power 24V DC6DO9 (robot tool…7DO8 (robot tool…8GND 0V DC

B · Universal Robots UR20

M8 · 8-pin

male · pins

tool-side connector

M8, 8 contacts, 8 with a recorded signalM81AI2 / RS485+2AI3 / RS485-3TI14TI05POWER6TO1/GND7TO0/PWR8GND

Other plugs:M8 · 8-pin · wrist flange

Swap sides · Pick another counterpart

The plugs mate directly

Same connector, opposite sides: contact 1 meets contact 1, 2 meets 2, and so on — no cable in between.

Each contact pair below is checked for direction: an output onto an input, a supply onto a load. Every recorded pair fits.

Contacts (8)

OnRobot RG2Universal Robots UR20AI2 (robot tool analog input 2) (pin 1) — AI2 / RS485+ (pin 1)▶AI3 (robot tool analog input 3) (pin 2) — AI3 / RS485- (pin 2)▶DI9 (robot tool input 1) (pin 3) — TI1 (pin 3)▶DI8 (robot tool input 0) (pin 4) — TI0 (pin 4)▶Power 24V DC (pin 5) — POWER (pin 5)◀DO9 (robot tool output 1) (pin 6) — TO1/GND (pin 6)◀DO8 (robot tool output 0) (pin 7) — TO0/PWR (pin 7)◀GND 0V DC (pin 8) — GND (pin 8)Pin 1: AI2 (robot tool analog input 2) (analog out)1AI2 (robot tool analog …Pin 2: AI3 (robot tool analog input 3) (analog out)2AI3 (robot tool analog …Pin 3: DI9 (robot tool input 1) (digital out)3DI9 (robot tool input 1)Pin 4: DI8 (robot tool input 0) (digital out)4DI8 (robot tool input 0)Pin 5: Power 24V DC (supply)5Power 24V DCPin 6: DO9 (robot tool output 1) (digital in)6DO9 (robot tool output …Pin 7: DO8 (robot tool output 0) (digital in)7DO8 (robot tool output …Pin 8: GND 0V DC (ground)8GND 0V DCPin 1: AI2 / RS485+ (RS-485 A)1AI2 / RS485+Pin 2: AI3 / RS485- (RS-485 B)2AI3 / RS485-Pin 3: TI1 (digital in)3TI1Pin 4: TI0 (digital in)4TI0Pin 5: POWER (supply)5POWERPin 6: TO1/GND (digital out)6TO1/GNDPin 7: TO0/PWR (digital out)7TO0/PWRPin 8: GND (ground)8GND

▶ ◀ which way power or data flows · ◆ both ways · dashed: confirm the naming · hollow ring: left for your application

Wires, A to B
A · OnRobot RG2B · Universal Robots UR20Flow
1 AI2 (robot tool analog input 2) · analog out1 AI2 / RS485+ · RS-485 AA → Bconfigurable contact — set AI2 / RS485+ to match
2 AI3 (robot tool analog input 3) · analog out2 AI3 / RS485- · RS-485 BA → Bconfigurable contact — set AI3 / RS485- to match
3 DI9 (robot tool input 1) · digital out3 TI1 · digital inA → B
4 DI8 (robot tool input 0) · digital out4 TI0 · digital inA → B
5 Power 24V DC · supply5 POWER · supplyB → A
6 DO9 (robot tool output 1) · digital in6 TO1/GND · digital outB → A
7 DO8 (robot tool output 0) · digital in7 TO0/PWR · digital outB → A
8 GND 0V DC · ground8 GND · groundcommon reference

What each plug carries

OnRobot RG2
24 V DC supply on pin 5

Check supply voltage and current against both data sheets before powering — the pinout says where the supply is, not how much.

Pins from OnRobot RG2 (source ↗) and Universal Robots UR20 (source ↗). Contact positions on the faces are schematic.