Skip to content

Job configuration

  1. Start the AdminClient and open the Jobs module.
  2. In the Project tree, select the component for which a Job is to be created.

    Info

    This can be a component of any component type.

  3. Click on the Create button in the menu bar or drag and drop the component into the Jobs area.

  4. Check whether the correct upload type is selected in the Job configuration area.
  5. Select the entry Triggered by URL in the Execute dropdown menu.
    Figure: Job configuration, General section

  6. In the General section, the fields for entering the Trigger URL and the Acknowledge URL are displayed.

  7. Enter the URL to the command variable defined on the PLC in the Trigger URL field.
  8. Enter the URL to the status variable defined on the PLC in the Acknowledge URL field.
  9. If authentication has been activated for the OPC UA server, enter the corresponding login data in the Username and Password fields.
  10. Define the other fields of the Job as required and confirm with OK.

The octoplant server checks the value of the command variable (Trigger URL) at specified intervals of 1 minute. If the variable has the value 1, the job is added to the queue for job execution.

When the job starts, octoplant writes a 1 to the status variable on the controller. As soon as the job has been successfully executed, the status variable receives the value 2. This can be set back to 0 on the controller, for example to allow a restart. This functionality must be implemented in the application program of the controller.