Skip to main content

View: Applications - Schedules

Function: Schedules can be created and edited in the view. A schedule can be used to define when applications are deployed on PLCs, or that new versions of applications are deployed on PLCs as soon as they have been transferred to the CODESYS Automation Server.

Call: CODESYS Automation Server → Applications

Search

Searches the displayed schedules for those whose name, application, or selected PLC contain the string specified in the search field.

Filter by status

The displayed schedules are filtered by the selected status. Selection options:

  • Active

  • Disabled

  • Draft

  • Executing

  • Completed

Filter by tag

Filters the displayed schedules according to the selected tag of PLCs

Add Schedule

Opens the Create Schedule dialog

Table with information about the schedules

Displayed information of the schedules:

  • Name: Name of the schedule

  • Application

  • Commit

  • Affected PLCs: Number of PLCs

  • Scheduled Time: Update time specified in the schedule

  • State: Status of the schedule (for example, Completed or Active)

  • Rollback on Failure: If the deployment of the application on the PLC triggered by the schedule fails, then a rollback is performed. Rollback means that the application which was on the PLC before the deployment was triggered by the schedule is loaded again. The state which was previously configured on the Automation Server is restored on the PLC.

  • _cas_icon_editing.png: Opens the Update Schedule <schedule> dialog. The dialog contains the Schedule and Log tabs.

    • Tab: Schedule: The settings and entries, which were defined when the schedule was created in the Create Schedule dialog, can be changed here.

    • Tab: Log: The log entries are displayed here.

    • Reset: Click this button to reset the edited changes.

  • _cas_icon_erase.png: The schedule is deleted.

  • _cas_icon_details.png: Opens the <schedule> dialog.

    • Tab: Schedule: Display of the information which is contained in the schedule

    • Tab: Logs: Display of log entries. For more information, see: Tab: Logs

Table 22. Dialog: Create Schedule

Name

Name of the schedule

Description

Optional description

Update time

Time when the application(s) should be deployed on the PLCs. Alternatively, the Trigger on commit option could be enabled.

Trigger on commit

_cas_icon_option_activated.png: When a new version of the application is committed, this version is deployed on the PLCs. The selected commit is used only to identify the application.

Rollback on failure

Rollback means that the application which was on the PLC before the deployment was triggered by the schedule is loaded again. The state which was last configured on the Automation Server is restored on the PLC.

  • Off: A rollback is not performed.

  • Only failed PLCs: The rollback is performed only for the failed deployments.

  • All: As soon as an deployment fails, a rollback is performed for all PLCs.

Schedule status

  • Active: The schedule is applied.

  • Draft: The schedule is not applied yet.

  • Disabled: The schedule is not applied yet.

Project

List box with the projects on the CODESYS Automation Server

Commit

List box for the commit of the selected project

Application

List box for the application of the selected commit.

When an application is selected, the corresponding PLC is inserted into the table located below.

Note: The selected application has to match the PLC of the Automation Server. If this is not the case, then a schedule cannot be created.

Search

Searches the displayed PLCs for those whose name contains the string specified in the search field.

Filter by tag

Filters the displayed PLCs for tags which contain the string specified in the search field.

Table with PLCs

Displayed information:

  • Enabled/Disabled

  • Name

  • Version

  • Device

  • Sync: Click the respective icon to open the Configuration tab of the PLC Details view, where the applications and parameters of the PLC can be synchronized.

    • _cas_icon_synchronize.png: Applications and parameters are synchronized.

    • cas_icon_non_sync.png: Applications and/or parameters are not synchronized.



Table 23. Tab: Logs

Installed PLC

List box with the PLCs for which there is already a log entry

When a PLC is selected, the corresponding log entries are displayed in the table located below.

Table with log entries

Displayed information

  • Log Type: Possible types of a log entry:

    • Information

    • Success

    • Error

  • Timestamp: Time when the log entry was created

  • Log: Log entry