Job configuration
- Start the AdminClient and open the Jobs module.
- In the project tree, select the component for which you want to create the job.
Note
- This can be a component of any component type.
- In the menu tab, click on create or drag-and- drop the components into the jobs section.
- Check in the Job configuration if the correct upload type has been selected.
- In the dropdown menu Execute, select the option Triggered by URL.
- In the section General, the fields for entering the Trigger URL and the Acknowledge URL are displayed.
- 1.Image: Job configuration, section General
- In the Trigger URLÂ field, enter the URLÂ corresponding to the command variable defined on the PLC.
- In the Acknowledge URL field, enter the URL corresponding to the status variable defined on the PLC.
- If authentication has been activated for the OPC UA Server, enter the corresponding login data in the User and Password fields.
- Define the other fields of the job as desired and confirm by clicking on OK.
The versiondog server checks the value of the command variable (trigger-URL) every 1 minute. If the variable takes the value 1, the job is added to the job execution queue.
When the job starts, versiondog writes a 1 to the status variable on the controller. Once the job has been successfully completed, the status variable is assigned the value 2. This can be set back to 0 on the controller, for example, to allow a restart. This functionality has to be implemented in the application program of the controller.
Related Topics
Last update: September 15, 2023