Skip to main content

Creating a Template for the Deployment of the Application to PLCs

With the help of a template for an application and the commissioning ticket, a service technician can deploy the application on suitable PLCs in the specified gateway. The service technician deploys the application on PLCs that have not been registered yet on the CODESYS Automation Server.

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

  • The application for which a template will be created has already been uploaded to the CODESYS Automation Server.

  • A service technician has been added to the CODESYS Automation Server.

  1. In the CODESYS Automation Server, open the Applications → CODESYS Projects view.

    All projects of the CODESYS Automation Server are shown.

  2. At the project that contains the application, click the _cas_icon_arrow_right.png button and then click the application.

    The Application view opens.

  3. Click Create as Template.

    The Template Structure for Application ID: <no> view opens.

  4. Here you can change the displayed names so that they are unique.

    • Template name: Name of the template

    • PLC role name: Name of the PLC that should be shown on the CODESYS Automation Server in PLCs → List View after commissioning the PLC

    • Application role name: For example, the name for the application or function of the application

  5. Click Add Template Structure.

    The message confirms that the template structure has been added.

  6. Open the Template → Applications view.

    The template that has just been created is displayed.

  7. Click the _cas_icon_extend.png symbol for the template and then click Details.

    The following view opens:

    _cas_img_create_commissioning.png
  8. Click Create Commissioning Ticket.

    The Create Commissioning Ticket view opens and shows the information about the commissioning ticket.

    In this view, you can also select a registered service technician.

  9. Select the gateway where the PLC will be searched for during commissioning.

  10. Click Create Ticket.

    The commissioning ticket is created.

  11. Open the Tickets → All Tickets view.

    The ticket that has just been created is displayed.

    With this ticket, the application can now be deployed to a desired PLC.

  12. Click the _cas_icon_print.png button to print out the ticket.

  13. You can also send the ticket to the service technician selected in Step 8. To do this, click the _cas_icon_mail.png button. In the Send Email dialog, click Send Email to send the ticket.

    Now the ticket is available to you or the service technician.

  14. Scan the QR code of the ticket with a smartphone or tablet, or click the ticket link.

    The Commission App <application name> dialog opens.

  15. Type in the serial number of the new PLC and a Feedback, meaning a message to the CODESYS Automation Server. Then click Commissioning this PLC.

    After commissioning, this PLC is displayed on the CODESYS Automation Server in PLCs → List View as the name that you specified in Step 4 as PLC role name.

For more information, see: Template Applications