7. Gobernanza colegiada
7.6. Plan Ambiental ECOSUR
In this section of the lab, you will work with the Siemens S7 asset, which was introduced in version 4.0 of FactoryTalk AssetCentre. The S7 asset allows for all archive features, as well as Disaster Recovery Backup & Compare schedules. Note that no Siemens software is required to be installed for these features.
This section of the lab will walk you through the process of adding a new Siemens S7 asset to the asset tree, configuring the address properties, and adding in an S7 project to associate with the asset. Since there is no S7 processor available for use with this lab, the addressing will be theoretical. With the asset added, you’ll configure a backup & compare schedule to run against it. Since there is no S7 processor available, the lab will then skip to reviewing a compare report that has been previously generated against the associated project.
Launching FactoryTalk AssetCentre
In this section you will launch the FactoryTalk AssetCentre Client, if it’s not already open.
1. From the Start menu select Programs → Rockwell Software → FactoryTalk AssetCentre Client → FactoryTalk AssetCentre Client. You can also double-click the FactoryTalk AssetCentre Client icon on the desktop:
After a few seconds, you should see a software interface that looks similar to this:
Create a Siemens S7 Asset
This section of the lab will walk through the steps necessary to add a Siemens S7 Processor to the FactoryTalk AssetCentre asset tree, and configure its properties.
1. Navigate to Plant Layout
→
Packaging Area→
Filler in the Asset View, Click the Design mode button. The Asset View will update and look like thisNote: The Siemens S5 Processor and Siemens S7 Processor assets were introduced in version 4.0 of FactoryTalk AssetCentre.
This is the Asset Toolbar. Use the toolbar icons to build your plant model.
Enter/ exit Design mode to modify the asset tree.
Create a new container or asset in the asset tree Delete a container or
asset from the asset tree Modify the selected
This is the asset catalog. Use this catalog to populate the asset tree.
A variety of devices and containers are available to you.
2. Select Siemens S7 Processor and Click the Add button. This opens the property sheet for the asset.
Backup Data vs Configuration Data
Disaster Recovery for Siemens asset types introduces the concept of Backup Data versus the standard Configuration Data for most other asset types.
Configuration Data refers to the development version of the project. Use this field to point to the version of the project that would be checked in/out for purposes of engineering work.
Backup Data refers to the in-production version of the project. Use this field to point to the runtime version of the project that is downloaded and running in the processor. Note that this field can be automatically filled in after the first Disaster Recovery schedule is run, if no runtime version is available when the asset is created.
A wizard is available that will allow the user to migrate a Backup Data (runtime) archive version directly into the Configuration Data (development) archive to allow for development.
3. Start by defining the Addressing Info, which points at the processor network connection. Select the Addressing Info field and click the browse button.
4. This launches the Addressing Info window. Use this window to define the network connection information. Since we have no Siemens S7 processor available for use, we’ll fill in mock connection information:
5. Click OK to continue
6. With the Addressing Info completed, define the Configuration Data (i.e., the development project for this asset.) Select Configuration Data and click the browse button.
7.
The file selection screen will appear, prompting the user to select a Binder object. Click the Add button to add a new Binder to the asset tree.4a) Select TCP/IP using the drop-down menu.
4b) Enter the mock IP address of 10.10.10.12.
4c) Leave the default Rack and process slot numbers.
8. Name the binder S7Project.
Note: you can name the binder what you like, there are no dependencies on naming conventions.
9. Click the Browse button for the “Source Folder” and navigate to C:\Lab Files\Test Rack. Click OK.
11.
When complete, the Add Binder window will appear as above. Click OK to continue.12. The new binder will now be available to add to Configuration Data of the asset.
Siemens S7 Project – Multiple Programs
Note the additional Program fields specific to the S7 project binder.
FactoryTalk AssetCentre gives users the ability to manage a Siemens S7 project using a binder. Each S7 project can contain programs for multiple processors, all within one folder (binder) structure. Once the S7 project binder is added to the asset tree, the individual projects can be mapped to each S7 processor asset without adding new binders.
13. Use the Program drop down to Select Testrack_00_06\Rack 400 (18)\CPU 416F-2\S7-Programm(1).
14. Click the OK button to complete the addition of the S7 project binder.
15. The asset propeties will now be updated with the Configuration Data.
16. Finally, select Backup Data and click the browse button.
Note: It is not necessary to configure Backup Data during the asset creation. However, because this lab will also demonstrate how to replicate Backup Data to Configuration Data, and there is no Siemens S7 processor available for use, manually adding in the Backup Data is necessary.
17. The file selection screen will appear again, prompting the user to select a Binder object. Click the Add button to add a new Binder to the asset tree.
18. Name the binder S7ProjectBackup.
19. Click the Browse button for the “Source Folder” and navigate to C:\Lab Files\Test Rack_backup. Click OK.
20. Click OK and the Backup Data will be configured.
21. Click OK once more to save the properties and return to the FactoryTalk AssetCentre Client.
View Siemens S7 Disaster Recovery Options and Compare Report
This section of the lab will review the various options associated with Disaster Recovery operations for Siemens S7 Processors.
Because there is no S7 processor available to perform an upload from, this section will highlight the options without running an actual operation.
1. Click to open the Schedules tab.
2. Select the Weekly schedule. Note that the schedule is created for the entire asset tree, meaning that the newly created Siemens S7 asset is automatically added to it.
3. Notice the schedule details appear in the pane directly below. Click View by Asset Type to filter the view, then Click the Siemens S7 Processor.
Siemens S7 Disaster Recovery Options
Backup Compare Partner: Runtime program to compare against. This is required for compare operations.
Configuration Data Compare Partner: Design time program to compare against. This option is disabled by default. When enabled, the operation will compare the processor’s program against both the Backup program specified above, as well as the last known good Configuration Data version.
Create New Backup Version: Offers the option of adding a new archive version every time the operation executes, or only when changes are found between the Backup versions. Note that it is not possible to automatically create a new archive version of the Configuration Data, as the file types are different and require special conversion.
Block Options: Allows the user to adjust how the compare operates by excluding specific blocks within the program. Block compare options are viewed in the next step of this section.
Compare Data Blocks by Length and Structure: Allows the user to adjust how the compare assesses the program. The default option is to compare by length and structure, which is the faster of the two options, and does not compare specific content. Setting this option to false will cause the compare operation to take longer, and will compare the specific content of the blocks in question.
4. Select Block Options and click the browse button.
5. The Block Options dialog will be displayed.
Siemens S7 Block Compare Options
Full Backup and Compare: By default, all blocks will be compared, and the entire program will be checked into the archive (if specified.)
Full Backup, Compare will exclude the following blocks: A compare report will be generated, excluding the blocks specified in this dialog. If a new version of the program is to be checked into the archive, a full version will be checked in regardless of the block options specified.
Backup and Compare both exclude the following blocks: This option specifies blocks for both the compare report, as well as the new archive version to exclude. This means that the project checked into archive will not include whatever blocks are configured to be excluded.
6. Leave the default configuration and Click OK to continue.
7. With no Siemens Processor to run a compare against, a sample compare report has been provided. Minimize the FactoryTalk AssetCentre client and open the Lab Files shortcut.
8. Open Sample Siemens Compare
9. The sample compare report will load
10. Close the report when finished.
Move Backup Data to Configuration Data
In this section of the lab, the Siemens S7 backup data will be migrated to a new version of the configuration data. Because the backup data is stored in a different format than configuration data, it is necessary to perform this process to successfully work with the backup data in a development environment. Migrating the backup data allows the user to select a specific range of blocks to transfer into a new version, stored in the configuration data.
1. Ensure that the new Siemens S7 Processor asset is selected.
2. Click Tasks → Backup to config data…
3. Click Filter by Version and select version 1 of the backup data.
4. Click Next
5. The block selection screen will be displayed. For the purposes of the lab, use the Select all option and click Next.
6. Click next on the following screen, confirming the block choices.
7. Enter Promoted backup to master in the comment field.
View files on disk link
The View files on disk link will open Windows Explorer to the temporary folder holding the program to be copied over.
If the Siemens SIMATIC Manager is installed, the project can be verified at this time, prior to completing the promotion.
8. Click finish on the final screen to complete the transfer.
9.
Open the Archive tab and select the S7Project binder. The new version will be shown in the details