Editing the Excel template This FAQ response provides an Excel template ready for downloading. You can use this Excel template immediately without having to make any major changes.
If required, you can change the Excel template to your specifications. The Excel template attached includes a script. This script is used to read out/transfer values from/to the operator panel using predefined fields.
Extending the script
The specifications below refer always to the point from which they are called. The specification is always in this form "Z 57, S 36", for example. This specification is in the menu header if the Microsoft Visual Basic Editor is open.

Fig. 03
Opening the script editor
Open the view for "Visual Basic" using the Excel menu bar:
"View > Toolbars > Visual Basic" (Excel 2003).
SOAP connection You do not have to make any changes to the settings here.
Changing the user name / password (if necessary)
You must change the user name used and the password at two places.
- Z 57, S 36
- Z 96, S 36
Changing the input field for the IP address
The cell specification is done in the script at the places below.
This cell is queried at two places in the script.
- Z 43, S 19
- Z 81, S 19
Changing the specification for the cell of the HMI tag
The cell specification is done in the script at the places below.
Cell specification: - Z 129, S 15
Column specification: - Z 135, S 39
Evaluating "Read/Write" of the HMI tags
The evaluation is done in the script at the places below.
Read: - Z 135, S 9
Write: - Z 161, S 9
Max. number of HMI tags
The maximum number of tags is specified in the script at the place below.
- Z 185, S 37
Note You can test the changes made immediately after saving in the Visual Basic Editor. This does not have to be closed for this. |