Camera to PLC Communication Fails
This page explains how to troubleshoot when the OV80i camera fails to communicate with a PLC. You can integrate via:
- EtherNet/IP (network-based communication using EDS files)
- Hardwired Digital I/O (DO/DI signals)
Option 1: EtherNet/IP (Network Integration)
How It Works
- The OV80i functions as an EtherNet/IP adapter
- Your PLC acts as the scanner/master, reading/writing I/O assemblies cyclically
- Use EDS file to configure the camera in your PLC's engineering environment
Setup Steps
- Assign static IP to OV80i and ensure it's on the same subnet as the PLC
- Enable EtherNet/IP Mode in the camera UI under Industrial Ethernet
- Download and import the
OV80i_EDS
file into your PLC tool - Add the camera as a device, configure Input/Output assembly instances, and set the RPI (Requested Packet Interval)
- Map assembly I/O tags to PLC variables and verify real-time data exchange
What You Get
- Input Assembly includes status bits (Online, Trigger Ack, Result Available), Recipe ID, ROI results, etc.
- Output Assembly allows PLC to send commands like hardware trigger or recipe switch
Troubleshooting EtherNet/IP
- Check PLC I/O connection status in your PLC tool
- Ping the camera's IP to ensure network reachability
- Ensure RPI is set within supported cycle time (20–10,000 ms)
- Confirm
Inspection Completed
and ROI data bits are toggling correctly in I/O
Option 2: Digital I/O (Physical Wiring)
- Use Digital Output (DO1) to signal results
- Use Trigger Input for PLC-initiated capture
- DO/DI lines are NPN sinking (pull-down to GND)
Wiring Overview
- Connect DO GND to PLC GND
- Wire DO1, Trigger IN, or other I/O to corresponding PLC input/output
- PLC is configured for active-low detection since DO1 sinks to GND
When to Use a Relay
A relay is required when:
- PLC expects PNP/sourcing signals
- Load exceeds 100 mA (max DO current)
- Isolation is needed between systems
Relay wiring example:
nginx
CopyEdit
DO1 ──⟶ Relay Coil ──+24 V
│
DIO GND ──────────┘
- Relay's contacts then deliver a clean signal to PLC without drawing current from DO1
Troubleshooting Digital I/O
- Measure DO1 voltage toggling from 24 V → 0 V when active
- Ensure
DIO GND
shared with PLC - Verify PLC input is configured for NPN/active-low logic
Final Checklist
Checkpoint | EtherNet/IP | Digital I/O |
---|---|---|
OV80i on same subnet as PLC | ✅ | n/a |
Static IP configured | ✅ | n/a |
EDS file imported | ✅ | n/a |
EtherNet/IP I/O assembly mapped | ✅ | n/a |
DIO GND wired to PLC GND | Optional | ✅ |
DO1 wired to PLC input or relay | Optional | ✅ |
Relay used when required for sourcing/voltage | Optional | ✅ |
PLC reads valid inspection result | ✅ | ✅ |