Knowledge · Integration

Connecting a Vision System to the PLC: Triggers, Results and Industrial Interfaces

Which fieldbus protocol, which type of triggering and which feedback structure a vision system actually needs for process-reliable connection to the machine control.

A process-reliable PLC integration requires the deterministic definition of the trigger signal, synchronous exchange of product identifiers, and structured feedback of inspection data. Modern vision systems use real-time-capable fieldbuses such as PROFINET, EtherCAT or EtherNet/IP for process data, as well as OPC UA for higher-level IT and MES systems.

The deterministic inspection cycle in detail

The reliable operation of an inline quality inspection is based on a strictly timed communication chain between the machine control (PLC) and the camera system:

  1. The part reaches the defined inspection position in the tool or on the conveyor.
  2. The PLC transmits the part type identifier (recipe number) to the vision system in advance.
  3. A time-critical hardware trigger initiates image capture with microsecond precision.
  4. The vision system evaluates the image and maintains the busy status.
  5. The result data (good/bad, error codes, measurement values) is passed to the PLC and acknowledged.

Comparison of industrial communication protocols

InterfaceReal-time capabilityTypical application (THOP practice)
Digital I/O (24V)Very high (hardware)Simple triggering, ready signals, binary good/bad output.
PROFINET (RT/IRT)High to very highStandard in Siemens environments; transmission of recipes, error codes.
EtherCATExtremely high (< 1 ms)Motion control applications, on-the-fly image capture synchronised to servo axes.
EtherNet/IPHighStandard in Rockwell / Allen-Bradley automation environments.
OPC UAMedium (non-real-time)Vendor-independent export to MES, ERP systems or quality databases.

Hardware triggering versus software bus communication

For image capture, industrial image processing follows the principle: the trigger for image acquisition belongs on a direct digital hardware input of the camera or vision controller (e.g. via a fast photoelectric sensor or a direct 24V signal from the PLC output module). A software trigger via fieldbus protocols is subject to jitter (runtime variation) on the network. For moving parts, this can cause positional shifts in the image and thus false rejects. Data such as product IDs, batch numbers or detailed measurement results, on the other hand, are transmitted in parallel and flexibly via the fieldbus.

💡 Practical Tip from THOP AG

Every THOPinspect system has galvanically isolated, ultra-fast hardware digital inputs for the camera trigger, as well as standardised software blocks (Siemens TIA Portal, Beckhoff TwinCAT), which significantly shortens integration time into your existing system.