PLC Communication - Profinet
  • 25 Jun 2024
  • PDF

PLC Communication - Profinet

  • PDF

Article summary

PROFINET Setup

This guide will walk you through setting up PROFINET on your OV20i.

Enabling PROFINET 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 PROFINET protocol to enable communication with your PLC (top left).

  2. 💡 The External IO menu allows you to enable PROFINET as a global setting for the OV20i. After PROFINET 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.

  3. 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, see Factory Network Setup (Static IP)

  4. Change the PROFINET Device Name to whatever you would like. Hit save. These should be unique if you have multiple OV20i’s communicating with the same PLC.

  5. Download the GSD file.

  6. To enable PLC Triggering for a given recipe, navigate to the Recipe Editor and then to the Imaging Setup menu. Under Trigger Settings, select PLC Trigger to allow the PLC to trigger the camera using the PROFINET output assembly bit.

    💡 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.

  7. The Inspection Pass function in the PROFINET 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.

PROFINET Tag Mapping

Use the following IO Module Reference Table to start communicating with your OV20i.

GSDML file for TIA portal -

OV20i_GSDML
22.96 KB

💡 Keep in mind

To assign a permanent static IP to the camera, users must set it in TIAPortal during the standard procedure for setting up a PROFINET device. If users wish to revert to the default IP address (192.168.0.100) and disable PROFINET, they should connect via microUSB at 192.168.55.1, deactivate PROFINET, switch to DHCP with Fallback, and then reboot the camera.


Was this article helpful?

ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence