Skip to content
Technical guide12 min read

Machine vision cables and connectivity

Cable choice decides whether a vision link stays up: know the reach of GigE, USB3, CoaXPress and Camera Link, PoE budgets, flex ratings and grounding.

Start with reach, motion and environment

Cabling is usually specified last and blamed first. A marginal cable rarely fails cleanly: it produces occasional dropped frames, a camera that disappears once a shift, or a link that behaves on the bench and not on the machine. Those faults cost far more to find than the cable costs to specify, so treat the cable as part of the design and settle three things early: run length including routing and service loops, how the cable moves, and what surrounds it.

Measure the routed length, not the straight-line distance. Trays, drag chains and slack at the cabinet can easily double an estimate. If you are within about 20% of a limit, move to a better cable grade or an interface with more reach, because the real limit also depends on connectors, temperature and ageing.

The figures below are typical. Actual limits depend on cable grade, speed and connectors, so always check the camera and cable datasheets.

  • GigE Vision over copper: about 100 m on Cat5e or better.
  • 10GigE over copper: about 100 m on Cat6A; about 37 to 55 m on Cat6.
  • USB3 Vision: about 3 to 5 m passive; roughly 5 to 15 m active copper; tens of metres active optical.
  • CoaXPress: roughly 10 to 35 m at CXP-12 and 13 to 60 m at CXP-6, depending on the coax; around 100 m at CXP-3 on low-loss cable.
  • Camera Link: a few metres up to about 10 m, shorter at higher pixel clocks.
  • Optical fibre: hundreds of metres to kilometres, with full galvanic isolation.

Ethernet: Cat6, Cat6A and X-coded M12

Gigabit Ethernet uses all four pairs and runs on Cat5e up to the 100 m channel limit, with Cat6 adding margin in noisy plants. 2.5GBASE-T and 5GBASE-T were designed to reuse existing cabling: Cat5e for 2.5G, with Cat6 preferred for 5G. 10GBASE-T needs Cat6A for the full 100 m, while Cat6 is typically limited to about 37 to 55 m depending on crosstalk. Cameras often outlive their interface choice, so Cat6A from the start is reasonable where a later speed step is plausible.

The 100 m figure comes from the structured-cabling channel model: about 90 m of solid-core permanent link plus 10 m of patch cords, with up to four connections. Machine cables are stranded, often in smaller gauges such as 26 AWG, and have more loss than solid conductors, so a continuous-flex cable may not reach 100 m. Use the length rating of the specific cable, which can be well below that figure. Count every connector too: each bulkhead, coupler and adapter adds loss and another failure point.

A standard RJ45 is not designed for vibration or sealing. Screw-lock RJ45 plugs secure the connection on cameras with matching holes, and they come in variants for horizontal and vertical screw positions, so check your camera. Where ingress protection or heavy vibration matters, M12 is the standard answer, and the coding matters as much as the size. M12 ratings apply only when mated and torqued to specification, typically a fraction of a newton-metre, so follow the connector data rather than guessing.

Fibre is the right tool when the run exceeds copper limits, when machine grounds cannot be made equal, or when EMI is severe, as around welding and high-power drives. It carries no power, so the camera needs a local supply, and its connectors need to be kept clean. Media converters add another powered box to maintain, so use a camera with an SFP or SFP+ port where the option exists.

  • D-coded M12: 4 pins, two pairs, 100 Mbit/s Ethernet. Common on field devices and many code readers; it cannot carry Gigabit.
  • X-coded M12: 8 pins, four shielded pairs, rated up to 10 Gbit/s. The usual choice for rugged GigE and 10GigE.
  • A-coded M12: general sensors, I/O and power. Some devices carry Ethernet on 8-pin A-coded connectors, but they do not mate with X-coded cables.

USB3: length limits and active or optical cables

USB3 Vision runs SuperSpeed signalling at 5 Gbit/s. The USB specification sets electrical loss limits rather than a fixed maximum length, but in practice passive cables are reliable to about 3 m, and up to about 5 m on heavier-gauge assemblies qualified for vision use. Beyond that, signal loss closes the link. Use cables tested with your camera and port, because compatibility varies.

Power is the second limit. A standard USB 3.x port guarantees 900 mA at 5 V, or 4.5 W, and voltage drop along the cable counts against you. A bus-powered camera drawing 0.6 A through 5 m of 24 AWG power conductors (about 0.084 ohm per metre, so 0.84 ohm round trip) loses about 0.5 V before connector losses. The symptom often looks like a data problem: the camera enumerates, then drops out when acquisition starts. Use a shorter cable, or power the camera through its I/O connector where supported.

Active copper cables include signal conditioning and typically extend reach to about 5 to 15 m. Active optical cables convert to fibre and reach tens of metres, sometimes around 100 m. Four cautions apply. Active cables are directional, with marked host and device ends. They draw power from the port, leaving less for the camera. Purely optical cables may not carry power at all, so the camera needs its own supply or a hybrid cable with copper power conductors, and many carry SuperSpeed only, with no USB 2.0 fallback. Finally, host controllers vary, so test the exact combination at full bandwidth before release.

The receptacle is the mechanical weak point. Use screw-locking connectors where the camera supports them, and clamp the cable a short distance from the camera so its weight does not lever on the port. Avoid hubs and shared controllers in production, and disable USB power-saving modes on the host, because selective suspend can cause dropouts.

Hirose I/O and PoE power budgets

Most industrial cameras have a separate circular connector for power, trigger and strobe. Hirose-style 6-pin and 12-pin connectors are common, with M8 and M12 on others. Pinouts are not standardised across camera families, and neither are flying-lead colours, so read the pinout for the specific camera and confirm whether the drawing shows the mating face or the solder side. A wrong cable can put supply voltage on a trigger input. Check a new cable type with a multimeter before connecting it.

Check the electrical side as well. Opto-isolated inputs have a stated voltage and current range. Opto-outputs are usually open-collector with limited current, often tens of milliamps, and need a pull-up. Driving a relay or lamp directly can destroy them, so use an interposing device with flyback protection on inductive loads. Use shielded cable for trigger lines and keep them out of motor trays: a spike on an unshielded trigger wire looks exactly like a part arriving.

Power over Ethernet carries about 44 to 57 V on the data pairs. Each standard has a source rating and a lower power guaranteed at the device; the difference covers cable loss on a long run. PoE draws are often higher than the same camera's draw from a 24 V I/O supply, because of the on-board conversion.

Two budgets apply: per port and total. Worked example: eight cameras drawing about 7 W each total 56 W, which looks comfortable on a switch with a 120 W budget. But if each camera declares Class 3 and the switch allocates by class, it reserves 15.4 W per port, or 123.2 W in total, and refuses power to the eighth camera. Check whether the switch allocates by class, by LLDP negotiation or by actual draw, include every other powered device on it, and confirm whether its budget derates at high ambient temperature.

  • IEEE 802.3af (Type 1): 15.4 W at the source, 12.95 W at the device.
  • IEEE 802.3at (Type 2, PoE+): 30 W at the source, 25.5 W at the device.
  • IEEE 802.3bt Type 3: 60 W at the source, 51 W at the device.
  • IEEE 802.3bt Type 4: 90 W at the source, about 71 W at the device.

Drag chains, torsion, shielding and grounding

Cables are rated by type of motion. A static-rated cable can typically bend at about 4 to 5 times its outer diameter (OD) during installation. Continuous-flex cables for drag chains use fine-stranded conductors and a controlled lay. Typical ratings are a minimum bend radius of about 7.5 to 10 x OD and millions of cycles, but that rating is tied to the stated radius, travel, speed and acceleration. An 8 mm cable rated at 10 x OD needs at least an 80 mm chain radius.

Torsion is a separate rating, typically around +/-180 degrees per metre for robot cables. A wrist rotating +/-270 degrees then needs at least 1.5 m of free cable length to stay within it. A drag-chain rating does not imply a torsion rating, or the reverse.

Installation decides much of the service life. Lay the cable without twist and let it float in the chain. Do not tie cables together in the moving section; use dividers and clamp at both chain ends. Keep connectors out of the bend zone. Choose the jacket for the environment: PUR resists abrasion and oils, while PVC is best left to static, clean installations. Plan a break point at the chain end so the wearing section can be swapped without pulling the whole run, and count that connector in your signal budget.

Shielding works only if it is terminated properly. High-speed shields need a 360-degree bond at the connector shell; a long drain-wire pigtail acts as an inductor and loses most of its high-frequency benefit. Route signal cables away from motor and drive power, typically at least 20 to 30 cm when parallel, crossing at right angles, ideally in separate metal trays.

For high-speed digital links, the general rule is to bond the shield at both ends and provide a low-impedance equipotential connection between the two grounded points, so noise currents do not use the cable as their return path. The classic failure occurs when the camera body is bonded to the machine frame, the PC to a distant cabinet earth, and the shield carries the difference: frame loss at best, damaged ports during welding or motor faults at worst. Fix the bonding first. If it cannot be improved, isolate the camera from its mount with a non-conductive plate, following the camera maker's earthing guidance, or use fibre to break the path. Single-end shield grounding belongs to low-frequency analogue signals and generally does not suit high-speed interfaces.

Common field failures and how to diagnose them

When a link misbehaves, gather evidence before swapping hardware. Cameras, network adapters and frame grabbers expose counters: packet resends and lost packets on GigE Vision, link status and CRC errors on CoaXPress. Read them while the machine runs through its full cycle, including motor starts, and compare errors with machine position and events. Then isolate: a known-good short cable on the bench separates cable faults from camera and host faults. Change one variable at a time.

Keep spares for cables in motion and log their installation dates. A chain cable is a consumable with a finite life, and planned replacement costs far less than a shift of unexplained stops.

Most cable problems appear only on the real machine, with drag chains, drives and long runs. AIS Vision takes the cabling into account when it integrates a station, so it is worth raising early in the project.

  • Dropouts at a particular axis position: conductor fatigue in the chain or at a connector. Stream while flexing the cable by hand to find it, and replace it with the correct flex rating.
  • GigE link renegotiates to 100 Mbit/s: often a broken or badly terminated pair. A cable tester confirms it.
  • Errors coinciding with a drive starting: EMI or ground current. Check routing, shield bonding and equipotential bonding.
  • USB camera disappears under load: voltage drop, a marginal active cable or host power management.
  • PoE camera reboots or never powers up: class or total budget exceeded, or a connector fault. Check the switch's allocation report.
  • CoaXPress fails only at full speed: excessive cable loss, pinched coax, a damaged connector or wrong impedance. Test with a shorter cable.
  • Double or phantom triggers: unshielded I/O, inductive coupling or missing debounce.
  • Faults after washdown: water in an unmated or under-torqued connector, or corroded contacts.
  • Broken camera receptacle: cable weight or pull with no strain relief. Add a clamp close to the camera.

Frequently asked questions

Related categories

  • Cables and connectivity
  • Accessories
  • Frame grabbers

Related guides

Recommended hardware

Cables and connectivity

All cables and connectivity →

Request a technical quote

If you have a specific application, we help you select the right hardware and validate it.