Skip to content

Creating jobs

  1. Start the AdminClient and open the Jobs module.
  2. Select your S7 component in the Project tree.
  3. Click on the Create button in the menu bar or drag and drop the component into the Jobs area.
  4. Check whether the SIMATIC S7 upload type is displayed in the Job configuration area.
  5. Configure the General, Notification, Upload and compare and Create a version automatically after job run sections. The sections Notification, and Create a version automatically after job run are only displayed if the required settings have been made.
  6. Configure the SIMATIC S7 settings section.

    1. Select the project for which the job is to be executed.

      Info

      Only projects that have been checked in to the selected component can be selected. If there is only one project, it is selected automatically.

    2. Select the Access path through which communication with the controller is to take place.

      Info

      Depending on the selection, other input fields are displayed for further configuration of the access path.

  7. Configure the Backup section.

    1. Activate the option Upload only when timestamp is different (reduces network load) to reduce the resource and network load.

      Info

      If this option is activated, only new and edited program blocks are transferred. The latter is determined using the timestamp. Blocks to which no changes have been made are transferred from the previous backup.

    2. Specify which blocks are not to be saved in the backup.

    3. Activate the SIMATIC NET option to exclude the system blocks (SDBs) for the hardware configuration of the PLC from the backup.
  8. Configure the Advanced section.

    1. Activate the SIMATIC NET option if SIMATIC NET is installed in the network transition and is to be used.

      Info

      This option is only available for connection paths with network transition.

    2. Specify the TCP/IP port via which the connection to the S7 Controller is to be established.

      Info

      Port 102 is set by default. If this is already being used by another application, you must select a different port. The port may need to be enabled in your firewall.

    3. Activate the option Enter CPU password manually to be able to enter the password for read access to a protected CPU.

      Info

      This option is only required if the password is not stored in the selected S7 project or if the option Enhanced password security (available from STEP 7 V5.5 SP4) is activated. Entering the password in the job configuration has priority over the password in the S7 project.

    4. Specify how many retries should be performed if an error occurs when uploading a block. Values between 0 and 5 are possible.

      Info

      This can occur if the controller accesses the block during job execution and it is therefore locked. If no access is possible after the defined attempts, the job is aborted with an error.

    5. Adjust the network load by configuring the Sleep between packets.

      Info

      Values between 0 and 5000 ms are possible.

Info

You can make further settings for jobs of this upload type as well as configurations for the upload and comparison in the AdminClient in the Global job settings dialog and using the INI files.

FAQ

The restoration of an S7 project with F-Blocks fails with a message.

Message

"This program contains F-Blocks. For security reasons, the restoration of F-blocks is disabled by default. This function can be enabled on request. Please speak to your administrator if necessary. All blocks except the F-blocks are now restored."

Solution

The prerequisite for the complete restoration of an S7 project with F-blocks is that the following section in the file AgentStation.ini in vdClientArchive\VD$A\Configuration\Upload:

[SimaticS7]
5092=y

Result

The message is still displayed when restoring S7 projects with F blocks. If this message is confirmed by selecting OK, the entire project including the F blocks is restored.

Please observe the procedure prescribed by Siemens when loading F blocks.