This guide will walk you through setting up basic Ethernet/IP communication between an OV20i and a Rockwell PLC using Studio 5000.

EthernetIP Setup Video walk through for Rockwell PLCs

EthernetIP Setup Video walk through for Rockwell PLCs

Enabling Ethernet/IP Communication in the OV20i Software

The first step will be to connect to the OV20i software and navigate to the External IO menu on the left hand side. From this menu, complete the following steps:

  1. Select Ethernet/IP protocol to enable communication with your Rockwell PLC (top left).

<aside> đź’ˇ The External IO menu allows you to enable Ethernet/IP as a global setting for the OV20i. After Ethernet/IP has been selected, you will still need to enable PLC Triggering and the Inspection Pass/Fail function in the Recipe Editor (more details below) for any recipes that will be controlled by your PLC.

</aside>

  1. Note your OV20i’s network settings in the Device Information window. We recommend you set a Static IP for the device. For instruction on that process…

    Factory network setup (Static IP)

  2. Download the EDS file to a computer running Studio 5000 (Top right). You will need to register this file in Studio 5000’s device library later on.

Screenshot 2023-08-17 151107.png

  1. To enable PLC Triggering for a given recipe, navigate to the Recipe Editor, then go to the Imaging Setup menu. Under Trigger Settings, select PLC Trigger to allow the PLC to trigger the camera using the Ethernet/IP output assembly bit.

    Untitled

<aside> 💡 Once PLC Trigger has been selected, the camera will no longer be able to trigger manually from the software or provide a live camera view—only the PLC Trigger will capture a new image. For this reason you may find it helpful to keep Manual Trigger enabled while getting the cameras mounted and working on the AI Blocks, and switch over to a PLC Trigger when you are ready to control captures via the PLC.

</aside>

  1. The Inspection Pass function in the Ethernet/IP input assembly will always be set to 0 for new recipes by default. You can use the IO Block to define pass/fail conditions for a recipe, which will set the Inspection Pass bit to equal 1 for passing images and 0 for failing images. You can use the Classification Block Logic node in the IO Block to configure pass/fail conditions without writing any scripts—see Classification Block Logic Setup for details. You can also use the IO Block to send and receive custom data for more complex inspections.

Setting up OV20i in Rockwell Studio 5000

Once you’ve enabled Ethernet/IP functions in the OV20i software, you’re ready to add module(s) for the OV20i in your PLC project and test communication.