Prepare and backup project
7.2.4 Testing the project
Introduction
There are two options on the HMI device for testing a new project: • Test project offline
Testing offline means that communication between the HMI device and PLC is interrupted while the test is being carried out.
• Test project online
Testing online means that the HMI device and PLC communicate with each other during the test.
It is advisable to perform both tests starting with the "Offline test" followed by the "Online test."
Note
Testing on a configuration computer
A project can also be tested on a configuration computer using the Simulator. Detailed information on this is available in the "WinCC flexible" user guide and in the WinCC flexible online help.
You should always test the project afterwards on the HMI device where the project will be used.
Check the following:
1. Check that configured screens are displayed correctly 2. Check screen hierarchy.
3. Test input objects 4. Test softkeys.
5. Test that tag data can be entered.
The test increases the certainty that the project will run error-free on the HMI device.
Conditions for the offline test
• The project is on the HMI device. • The project is offline.
Open the selected project on the configuration computer. Select "Communication > Connections" and switch to "Online: Off". Transfer the project to the HMI device. Alternatively, the operating mode can be changed by means of an operating element in the project. Use the operating element to switch the project offline.
Note
During the test phase, it is recommended that the transfer operation be started during operation.
Procedure
Use "Offline" mode to test the individual project functions on the HMI device without them being affected by the PLC. PLC tags are, therefore, not updated.
Test the project operating elements and displays to the extent possible without connecting to the PLC. Proceed as follows:
1. Check that configured objects are displayed correctly. 2. Check screen hierarchy.
3. Check input fields. 4. Test softkeys.
Conditions for the online test
• The project is on the HMI device. • The project is online.
Open the selected project on the configuration computer. Select "Communication > Connections" and switch to "Online: On". Transfer the project to the HMI device. Alternatively, the operating mode can be changed by means of an operating element in the project. Use the operating element to switch the project online.
Note
During the test phase, it is recommended that the transfer operation be started during operation.
Procedure
Use "Online" mode to test the individual project functions on the HMI device with influence being exerted by the PLC. PLC tags are updated in this case.
Test the project operating elements and displays. If offline testing has not yet been performed, proceed as follows:
1. Check that configured objects are displayed correctly. 2. Check screen hierarchy.
3. Check input fields. 4. Test softkeys.
Test all of the objects in the loaded project for which communication with the PLC is necessary:
• Alarms • Alarm logging • Recipes
• Screen selection by PLC through PLC job • Print functions
7.2.5 Uploading project
Introduction
During transfer, generally only the run-capable configuration (*.fwx) is transferred to the HMI device. If the original project file is to be used for further development of the configuration or for fault analysis, it must remain on the configuration computer.
The project and associated source file (*) can be stored on the HMI device. It can be retrieved (transferred back) if necessary.
After uploading a project, it can be analyzed and modified. This is of particular importance if • the original configuration computer cannot be accessed, or
Requirements
The following conditions must be fulfilled in order to retrieve a project: • The HMI device is connected to a configuration computer.
• The associated source file is stored on the HMI device.
• The "Enable Upload" option must be selected in order for the project file to be transferred from the configuration computer to the HMI device.
This option can be activated in WinCC flexible in "Project ▶ Transfer ▶ Transfer Settings". • A memory card is inserted in the HMI device.
Downloading and uploading
In the case of transfer, including transfer of the source file, the project file is transferred to the HMI device.
Following uploading onto the configuration computer, the *.pdz file is compressed by the WinCC flexible configuration software. The project is then available in HMI format on the configuration computer and can be edited.
Notice
Version number
The uploaded project file can only be opened with a configuration software whose version number is greater than or equal to that of the configuration software used to create the project.
Test source file
WinCC cannot determine if the source file on the HMI device was generated from the project run on it. If a transfer is performed at any time without the "Upload" option activated, only the project is transferred. The existing source file may be from a previously transferred project.
Procedure
1. Select the menu command "Project ▶ Transfer ▶ Communication Settings" on the configuration computer in WinCC flexible.
The "Communication Settings" dialog box is opened.
2. Select the required HMI device type and connection type between the HMI device and the configuration computer.
3. Define the connection parameters. 4. Select "OK".
5. Switch the HMI device to transfer mode in the loader.
6. On the configuration computer, use WinCC to start the back transfer using the "Project ▶ Transfer ▶ Back Transfer" menu command.
Result
The uploaded project is opened on the configuration computer. Save the project, if necessary.
7.3 System settings
7.3.1 Set language
Language-dependent objects
When the project is transferred from the configuration computer, up to five languages can be transferred to the HMI device simultaneously. The Asian language variants are also
supported. You can switch between the individual languages online at any time and display language-dependent objects within Runtime, e.g., texts or formats, in another language. The following are language-dependent:
• Alarms • Screens • Text lists • Help texts • Date/time • Decimal symbol • Static texts Requirements
If during operation you want to change the language in which the project will appear on the HMI device, the following conditions must be met:
• The language must be available for the configuration on the HMI device. The languages available on the HMI device are defined during configuration. • An operating element for switching languages must have been configured.
Select languages
Immediately after the operating element for switching languages is activated, all of the language-dependent objects are displayed in the new language.
Two different types of language change can be configured:
1. Each time the operating element for switching languages is activated, the HMI device advances cyclically by one language.
2. Activating the operating element for switching languages causes the HMI device to switch to a specific language.