Downloading configuration to the HMI station

Một phần của tài liệu Hans berger automating with SIMATIC s7 1200 configuring programming (Trang 544 - 547)

You have created a project with a PLC and an HMI station. The PLC and HMI station are networked and prepared for data exchange with at least one HMI connection.

The user program in the PLC station is complete, compiled, and downloaded to the PLC station (Chapter 13.2 “Transferring project data” on page 425). Configuration Fig. 16.16 Example of a simulation table

of the HMI station has been completed, the configuration data has been compiled, and – as far as possible – successfully simulated.

Preparation for loading the configuration data

The standard settings for loading are defined in the properties of the HMI station.

Select the HMI station in the project tree and then the Properties command in the shortcut menu. The settings which you already made when networking the PLC sta- tion are present in the properties window in the Ethernet addresses section.

You can assign an IP address online to an HMI station if you start the Online & diag- nostics editor in the project tree under the HMI station. You set the IP address and subnet mask in the working window under Functions and Assign IP address. Use the Assign IP address button to transfer the settings to the HMI station.

Checking the connection data on the HMI station

You can check the connection settings on the HMI station in the Control Panel. If you start the HMI station (connect the power supply) the loader window is displayed during booting. If configuration data is already loaded and the root screen is dis- played, terminate the runtime (the current program on the HMI device) using a cor- respondingly configured function key or using the system screen Different jobs in order to display the loader window.

Click in the loader window on the Control Panel button. Briefly click twice to reach the next dialogs in the Control Panel: Profinet and Transfer contain the network set- tings, e.g. the IP address. To change an entry, click on the associated field and enter the new value using the on-screen keyboard which appears. Exit the Control Panel by clicking on the exit cross at the top right in the title bar.

Downloading configuration data

To download, select the HMI station in the project tree and choose the command Download to device > Software (all) from the shortcut menu. In the Extended down- load to device dialog, you can specify the IP address of the HMI station to be loaded to (Fig. 16.17).

The configuration data is compiled on downloading. Displayed warnings do not prevent downloading; the function may be restricted at runtime. If there are errors, the configuration data is not loaded. Clear any faults before trying to download again.

After successful compilation, the downloading preview is displayed. You see the individual loading steps and can change specific settings as required. If the com- pilation is completed without errors – and you have activated the settings to over- write the user administration and recipe data, if required – click on the Load but- ton. The messages that appear during loading are displayed in the inspector win- dow in the Info tab.

Any program running on the HMI station is exited when downloading is started, and the transfer window appears displaying the progress. Following successful downloading, the operating program is started automatically (if so configured).

The loader window is displayed in the case of an HMI station which is not in run- time, for example following startup without configuration data. In this case you must prepare the HMI station for downloading: click the Transfer button on the HMI station before you continue downloading by means of the Download button on the programming device. The HMI station then shows the downloading progress in the transfer window.

Updating the operating system during downloading

When downloading the configuration data, a check is carried out to establish whether the configured operating system version of the HMI station agrees with the version upon which the configuration software is based. If this is not the case, it is possible to immediately update the operating system version during down- loading.

Note that the recipe and user data in the HMI station could be inadvertently deleted when updating the operating system. Save this data if necessary, and then start the download procedure again with updating of the operating system. Restore the saved data after updating.

Fig. 16.17 Downloading to an HMI station

Saving and restoring are described in the next Section 16.5.4 “Maintenance of the HMI station”. Updating of the operating system can also be carried out independent of downloading.

Starting the HMI station

Following successful downloading of the configuration data, the runtime starts fol- lowing a certain delay, if so configured. You can configure the delay time on the HMI station: click in the loader window on the Control Panel button, double-click in the Control Panel on OP, and set the delay time in seconds in the OP properties window in the Display tab (click on the input field).

The runtime also starts if you click on the Start button in the loader window.

Một phần của tài liệu Hans berger automating with SIMATIC s7 1200 configuring programming (Trang 544 - 547)

Tải bản đầy đủ (PDF)

(577 trang)