Skip to content

Configuring jobs for CODESYS

  1. Create a job with the CODESYS upload type.
  2. Go to the CODESYS settings section.

    Figure: Job configuration, CODESYS settings section

  3. If the component contains several projects, select the desired project from the dropdown menu.

    • CODESYS V2 projects have the ending PRO.
    • CODESYS V3 projects have the ending PROJECT.
  4. From the Interface Type dropdown menu, select the interface via which you want to address the PLC. You can select Gateway V2, ARTI V2, Gateway V3 or ARTI V3 here. The corresponding CODESYS version is used accordingly. Alternatively, you can also enter the entry "interfacetype=..." in the Access parameters input field.

    Info

    Jobs for CODESYS V2 projects can only be configured via the access parameters.

  5. In the Gateway IP, Gateway port and Gateway password fields, enter the connection data of the gateway. If no port is specified here and in the Access parameters field, the default port 1217 is used.

  6. In the Device, PLC IP and PLC port fields, enter the connection data of the device. If no port is specified here or in the Access parameters field, the default port 11740 is used.
  7. In the User account and User password fields, enter your access data for the device.
  8. If the PLC saves the data in Motorola byte order (big endian), activate the corresponding checkbox.

  9. Only for CODESYS V2 projects: Select the Upload boot project option, if you want to perform an upload of the boot project and compare it with the data from the runtime. This allows you to check whether the runtime that is executed on the IPC was created from the boot project in the memory. Jobs can be used to save the following online data: {Project name}.SDB ProjectID and Timestamp {Project name}. PRG Bootproject

The access data that you can specify in the fields above can also be listed in the Access parameters field.

If data is entered both in the individual fields above and in the Access parameters field below, the values in the Access parameters field take precedence for backward compatibility.

The entries in the Access parameters field follow the CODESYS specifications for INI files in both format and content. For more information, refer to the CODESYS documentation.