Configuring jobs for Siemens SIMATIC STEP 7
- Create a job with the SIMATIC S7 upload type.
-
Go to the SIMATIC S7 settings section.
-
If the component contains several project files, select the desired project from the S7 program path dropdown menu.
-
Select the Access path used to communicate with the controller.
The Access path details section changes according to the selected access path.
The supported access paths are described on the Configuring the access path page.
-
Go to the Backup section.
-
Select the Use timestamp to reduce network traffic checkbox to transfer only new and changed program blocks. The differences are determined using the timestamp. Blocks without changes are transferred from the previous backup.
-
Click into the Blocks are excluded from upload field, to specify which blocks to exclude from the upload.
- In the Edit excluded blocks dialog, select the Exclude system blocks (SDB) checkbox.
-
From the Type dropdown menu, select any other blocks (DB, FB, FC, OB) that you can define in the From and To input fields or select the All blocks checkbox.
-
Go to the Advanced section.
-
Select the SIMATIC NET checkbox, if you have installed SIMATIC NET for use during the network transition.
Info
This option is only available for connection paths with network transition.
-
Define the TCP/IP port used to establish the connection with the S7 Controller.
Port 102 is set by default. Select a different port, if it is already being used by another application and enable it in your firewall if necessary.
-
Select the Enter CPU password manually checkbox to enter the password for 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.
-
In the Number of repeats if upload of a block fails field, specify how many times the system should retry uploading a block if an error occurs. This may happen if the controller accesses the block during job execution and temporarily locks it.
Values between 0 and 5 are possible. If no access is possible after the defined attempts, the job is aborted with an error.
-
In the the Sleep interval between data packets (in ms) field, adjust the network load.
Values between 0 and 5000 ms are possible.
Related topics
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
:
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.