Skip to main content

Creating a Schedule for Updating Applications

A schedule can be used to define the time when a particular application should be deployed on one or more PLCs. In addition, a schedule can define that an application of a commit is deployed on one or more PLCs as soon as it has been transferred to the Automation Server.

. Requirements
  • You are signed in to the CODESYS Automation Server.

  • One or more PLCs are registered on your Automation Server and displayed in the List View.

  • A project with a boot application has already been transferred to the Automation Server.

  • Permissions:

    • To create and edit a schedule, you need to have read permissions for the project and deployment permissions for the PLCs of the schedule.

    • To remove a PLC from a schedule, you need to have deployment permissions on the PLC that you want to remove.

    • To add a PLC to a schedule, you need to have read permissions for the project and deployment permissions for the PLC.

  1. In the menu, click the ApplicationsSchedules view.

  2. In the Schedules view, click the Add Schedule button.

  3. In the Create Schedule dialog, type a name for the schedule in the Name input field.

  4. In the next step, select the Project, Commit, and Application of the commit.

    The available PLCs are displayed in the table located below.

  5. In the displayed list, select the PLCs where the application should be deployed.

  6. If you want a new version of an application to be deployed on the PLC as soon as it has been transferred to the Automation Server, then enable the Trigger on commit option.

  7. If you want the application of a specific commit to be deployed at a certain time on one or more PLCs, then select an Update time. To do this, click the icon (cas_icon_calendar.png) and then select a date and time.

  8. Under Rollback on failure, select the desired action for the case that the deployment of the application on the PLC should fail. If a rollback should be performed in this case, then it means that the state on the PLC which was last configured on the Automation Server is restored.

  9. Select a Schedule status. The default setting is Active.

  10. Finally, click the Save button.

    The schedule which has just been created is listed in the Schedules view. When you click the button (_cas_icon_details.png) for your schedule, the settings will be displayed on the Schedule tab of the dialog. On the Logs tab, you can see the log entries for the schedule.