Installing the Finder OPTA Plug-in in CODESYS

CODESYS is one of the leading development environments for PLCs and it allows

Guide and Tutorial | Installing the Finder OPTA Plug-in in CODESYS

Overview

CODESYS is one of the leading development environments for PLCs and it allows you to program Finder OPTA using standard languages, like LD and ST.

To program Finder OPTA using CODESYS, you need to install the official plug-in. This tutorial will guide you through the installation in just a few simple steps.

Goals

  • Download and install the OPTA Configurator plug-in.
  • Verify the correct functioning of OPTA CODESYS within the CODESYS development environment.

Requirements

Before starting, make sure you have:

  • Finder OPTA CODESYS PLC (x1)
  • USB-C cable (x1)
  • CODESYS development environment installed. You can download it here.
  • OPTA Configurator plug-in. You can download it here.

Instructions

Installing the plug-in

After downloading the OPTA Configurator plug-in, extract the contents of the compressed archive. The extracted file will be named OPTA_Configurator.

OPTA Configurator

Open CODESYS and from the Tools menu, select CODESYS Installer...:

Open CODESYS Installer

Leave the CODESYS Installer open and close CODESYS:

Close CODESYS

Now, in the CODESYS Installer, click on Install File(s):

Install file

Select the OPTA_Configurator file that you extracted earlier:

Select file

After selecting the file, a confirmation screen will appear. Click OK and authorize CODESYS to make changes to the system:

Confirm installation

Wait for the installation to complete:

Installation progress

Once the installation is complete, a success message will appear:

Installation success

To verify that the plug-in was installed correctly, check the list of installed components: you should see OPTA Configurator in the list.

Plugin list

Configuring the CODESYS Gateway

Now close the CODESYS Installer:

Exit installer

Reopen CODESYS. Then, connect the Finder OPTA PLC to your computer using the USB-C cable and create a new standard project:

Standard project

When prompted to select a device, choose Finder Opta (FINDER SPA). For the programming language, you can choose from the available options, such as ST:

Select device

Double-click on Device (Finder Opta):

Click on the device

Expand the hidden icons in the Windows taskbar and right-click on the CODESYS Gateway service icon:

Gateway icon

Click the Start Gateway button:

Start gateway

Once the Gateway service is running, you need to configure it. First, add a new Gateway:

New gateway

Assign a name to the Gateway and select TCP/IP as the driver, then confirm by clicking OK:

Confirm new gateway

Now you should see the Gateway with the assigned name in the list:

Add gateway

Click on Gateway, then select Configure the Local Gateway...:

Configure gateway

A window will appear with a list of configured interfaces. If you see any interfaces other than the UDP interface, remove them. Your configuration window should look like this:

UDP interface

Connect the OPTA CODESYS device to your computer via USB, then open Windows Device Manager:

Device manager

Check the COM port to which OPTA CODESYS is connected, and take note of the port number. In this example, the COM port is number 7:

Device port

Return to the Gateway configurator, press the Add button, and then select Add Interface...:

Add interface

A COM port will appear. Click on its Settings box:

COM port

Set the Port parameter to the port number found in Windows Device Manager. In this example, we set the value to 7:

COM port number

The other port parameters do not need to be changed. Click OK to proceed:

Gateway configured

Finally, restart the CODESYS Gateway service. In the Windows taskbar, stop the service:

Stop service

Then restart it:

Start service

Verifying the configuration

From the Device screen, click the Scan Network button to start scanning for connected devices:

Scan network

If a communication error with the Gateway appears, close and reopen CODESYS to allow the IDE to recognize the Gateway service that was restarted earlier.

If the configuration was successful, Finder Opta will be detected, and information about the device, such as name, serial number, and vendor, will be visible. To proceed, click OK.

Device detected

A window will appear showing the connection configuration: the computer will be connected to the Gateway, which will then communicate with Finder Opta. At this point, Finder Opta is ready to be programmed using CODESYS.

Connessione

Conclusion

By following these steps, you have successfully installed the Finder OPTA Configurator plug-in in CODESYS and verified that the device is correctly recognized. This allows you to fully utilize OPTA CODESYS within the CODESYS development environment, using standard PLC programming languages like LD and ST.

If you encounter any issues during installation or configuration, check that you have followed all the steps correctly.