# CODESYS Versions

There are different CODESYS versions available depending on the CCpilot display computer and the CODESYS project itself.

You need to make sure that you are using compatible versions:

CODESYS runtime, CODESYS project version and CODESYS license.

## Check CODESYS version

Start with checking the CODESYS runtime version installed on the display:

This can be done in multiple ways:

Read the version file in CODESYS folder:

    ccs@v700:~$ cat /opt/CODESYS/version
    V3.5.17.30

Check the installed package using opkg:

    ccs@v700:~$ opkg list | grep codesys
    codesys-visuwebvisu - V3.5.17.30-1.1

The second options gives more information regarding which runtime it is visuwebvisu and which release package it is 1.1

## Check Device version

Start with checking to see if you have the correct “Device” setup in your CODESYS project! Check if the CODESYS version and the display arcitecture is corresponding to your display.

Right click on the Device in your project and choose Update Device…:

You can see all the available PLC devices in the Update Device tab. You can also check the Display all versions(for experts only) box to see more device options.

Note! Double check to make sure that both the name of the device and the version is the same as your CODESYS runtime on the CCpilot display!

The device descriptor for each CODESYS runtime version can be downloaded from the website where CODESYS runtimes are available. More on that can be found on next section Installation

## Check CCAux version

### CCAux version on the display

The following command shows the OS and FW versions including CCAux:

    ccs@v700:~$ ccsettingsconsole --version
    2.18.3.0
    Prod revision: 1.0
    SSVersion: 1.0.2.0
    CCAuxVersion: 2.19.0.0-v700
    OSVersion: 3.3.0.6

Above shows the CCAux version 2.19.0.0

### CCAux version in CODESYS runtime on the display

All the CODESYS related files can be found in /opt/CODESYS directory including the CCAux and CCSap libraries:

    ccs@v700:~$ ls /opt/CODESYS/
    3S.dat                    expat.3rdp.a       libCCCamera.so.1      libCCSap.so.1.1.0
    cert                      libCCAux.so        libCCCamera.so.1.0    OpenSSL.3rdp.a
    CodeMeterEmbedded.3rdp.a  libCCAux.so.1      libCCCamera.so.1.0.0  PlcLogic
    codesyscontrol            libCCAux.so.1.0    libCCSap.so           rts_set_baud.sh
    CODESYSControl.cfg        libCCAux.so.1.0.7  libCCSap.so.1         SysFileMap.cfg
    codesys-launch.sh         libCCCamera.so     libCCSap.so.1.1       version

But to check the compatible CCAux version for the CODESYS runtime you can run the following command:

    ccs@v700:~$ ll /usr/lib/libcc-aux2.so
    lrwxrwxrwx 1 root root 20 Mar  9  2018 /usr/lib/libcc-aux2.so -> libcc-aux2.so.2.19.0

This shows libcc-aux2-so library that is pointing to a 2.19.0 version.

Note! We need to make sure that this version is the same as the CCAux version from earlier.

### CCAux library version in CODESYS IDE

For the compatible version of the CCAux library in CODESYS IDE, head to RELEASENOTES section and read the version of CCAux.library included in the desired CODESYS runtime version release.