show the entry list

WinCC flexible Options -- Product information -- WinCC flexible /Sm@rtAccess (Remote control) 
How and where do you install access rights for the WinCC flexible options Sm@rtAccess and Sm@rtService? 
What should you watch out with regard to licenses for WinCC flexible and panels? 
What alternatives are there to the SOAP web service in Microsoft Windows Vista? 
How do you temporarily lock multiple operator panels? 
What are the options for remote maintenance of a WinCC flexible Runtime system (Panel/PC) via the Internet (WAN)? 
How can you access tags of an operator panel using an Excel application with WinCC flexible 2008? 
Connection to the SIMATIC WinCC flexible Sm@rtServer gets lost (with active screensaver or "Shut Down") 
Why are not all the tabs visible under "Internet Settings" of the SIMATIC operator panels (only Windows CE devices)? 

How and where do you install access rights for the WinCC flexible options Sm@rtAccess and Sm@rtService?Go to beginning
Part number:

Description
The access rights for the Sm@rtAccess and Sm@rtService options are installed on the server operator panel in each case. The server operator panel is the SIMATIC Panel or the PC with the WinCC flexible Runtime, which is configured as Sm@rtServer or WebServer. The settings required for the access rights are in the Control Panel of the operator panel concerned under the item "WinCC Internet Settings".


Fig. 01: Control Panel of an MP277-8"


Fig. 02: Windows XP Control Panel

1. Access rights of the Sm@rtAccess and Sm@rtService web server
The user-related access to the services used with Sm@rtAccess and Sm@rtService is regulated with the user manager for the web server. The user manager of the web server is based on explicitly assigned web permissions.

Inputs and settings
The web permissions are assigned on the web server. For this you call "WinCC flexible Settings" in the system settings on the server and in the "Web Server" tab you click the "User Manager" button.


Fig. 03

The"UserDatabase-Edit" dialog has three tabs:

  • "User Manager"
    In this tab you create or delete users.
  • "Description"
    In this tab you can add a description/comment for the user selected in the "User Manager" tab.
  • "Authorizations"
    In this tab you assign the web permissions for the user selected in the "User Manager" tab. With "Add" you activate a web permission and you deactivate it with "Remove".

Note
The password "100" and all web permissions are set by default for the user entitled "Administrator". Change this default password during commissioning to suit your requirements.
The user must have the web permissions "FileBrowserAdministrator" and "FileBrowserUser" for read and write access to the file browser.
In principle any user who has access to the Control Panel can manage the users and web permissions. If necessary, you can protect the Control Panel against unauthorized access.

2. Access rights of the Sm@rtServer for remote control
The Sm@rtServer has its own security concept that is based on passwords and special settings for the Session Management. The remote monitoring and operation of the Sm@rtServers from the Sm@rtClient is also protected by two passwords. The second password is a password for an additional access as service password, for example.

Settings on the Sm@rtServer
The settings on the server determine which remote operator is allowed to access the Runtime of the server. Open "WinCC Internet Settings" in the Control Panel. Click the "Remote" tab and then "Change Settings". In the dialog that opens select the "Server" tab and enter the passwords of the Sm@rtClient.


Fig. 04

With the two passwords you can set the monitoring mode and exclude the operator mode by checking "View only". On an operator panel this dialog is called "Sm@rtServer: Default Local System Properties" and contains less dialog elements than the dialog on the PC.

Note
The default setting for both passwords is "100". You can easily change the passwords as required. Change these default passwords during commissioning to suit your requirements.

What should you watch out with regard to licenses for WinCC flexible and panels?Go to beginning
Part number:

Introduction
This FAQ entry describes what to pay attention to with regard to licenses and authorizations for WinCC flexible. This entry covers licenses for panels, WinCC flexible ES and WinCC flexible RT.

Please follow the instructions in the PDF file (Attachment 1). The following points are covered in the document.

1 General Information about Licenses
   1.1 License, Certificate of License and License Key
   1.2 Why Do You Need Licenses?
   1.3 Available License Types
   1.4 Licenses for Options and Services of WinCC flexible ES/RT
2 How Do You Transfer Licenses?
   2.1 Which Software is Needed?
   2.2 How Do You Transfer License Keys?
   2.3 Transferring License Keys to an Operator Panel via Automation License Manager
   2.4 Removing License Keys from an Operator Panel via Automation License Manager
3 License Key Backup
   3.1 Which Software is Needed?
   3.2 When Do You Have to Back Up License Keys?
   3.3 Backup and Restore
4 Upgrading Licenses
   4.1 What Is a License Upgrade and What Types Are There?
   4.2 Requirements for an Upgrade
   4.3 Upgrading Using the Automation License Manager
5 Special Features of WinAC MP
   5.1 License Keys for WinAC Types
   5.2 License Keys for WinAC Versions
License Keys for WinAC MP Versions
         are upwards compatible.
   5.3 Other Special Features
   6 Frequently Asked Questions
   6.1 How Do You Repair a Defective License?
   6.2 Why is a License Invalid After Changing Time Zones?
   6.3 Why are License Keys Not Recognized?
   6.4 Where is the "Old" License Key Located after an Upgrade?
   6.5 How Do You Retrieve a Lost License Key?
   6.6 Why are Licenses from TP 177 Not in the Backup?
   6.7 Can You Use a License for WinCC flexible 2008 also for WinCC flexible 2007?
   6.8 Can You Change the Versions of WinCC flexible by Replacing Licenses?
         (This does not apply for Micro and China Edition)

Attachment 1: WinCC_flexible_Lizenzen_en.pdf ( 922 KB )

Attachment 2 lists the licenses required for the various options and services in WinCC flexible Runtime (RT) and WinCC flexible Engineering System (ES).

Attachment 2: License_Key_List_d_V1_1.pdf  ( 16 KB )

Additional Keywords
License repair, License destruction, License installation connection, License upgrade, ALM, Automation License Manager, License defective, License not recognized, Transfer, Panel

 

What alternatives are there to the SOAP web service in Microsoft Windows Vista?Go to beginning
Part number:

Explanation:
WinCC flexible permits you to utilize the web service (SOAP). The web service (SOAP) is based on the Simple Object Access Protocol. This permits you to access the tags of an operator panel from an external application via Ethernet.

Note:
The Microsoft SOAP toolkit that is needed on the PC for accessing a SOAP service, is not supported by Microsoft Windows Vista.

Contents:
1. Alternative to SOAP
2. Requirements
3. Performance of OPC XML
4. Excel as OPC DA Client
5. Links

1. Alternative to SOAP
You can use OPC XML as an alternative to the web service (SOAP). For this, the operator panel has to function as the OPC XML DA server. You can do this in the device settings of the WinCC flexible project.


Bild 01 - OPC XML Verbindung

The application that accesses the OPC XML DA server must act as an OPC DA client or as an OPC XML DA client. The OPC XML gateway - see Fig. 01 - is required in addition if you use an OPC DA client. More information on implementation is available in Entry ID: 25677751.

Note:
OPC XML is also based on the web service (SOAP) and must be supported by the operator panel - see Requirements. For this reason, the Microsoft SOAP toolkit is not needed on the PC.
From a PC with Windows XP, the web service (SOAP) can continue to be used for communication with an operator panel as long as it is enabled in WinCC flexible ES.

2. Requirements

  • OPC XML Gateway1)
  • Microsoft .Net Framework1)
  • Windows 20002), Windows XP or Windows Vista3)
  • Multi Panel as from the 270 series or Mobile Panel as from the 270 series
  • License Key "WinCC flexible / OPC Server for MPs"

Key:
1) On the WinCC flexible Installation CD.
2) Only with WinCC flexible 2004 / 2005 / 2007
3) As from WinCC flexible 2008

Note:
The option OPC via XML is not supported by all operator panels that also support the web service (SOAP).

3. Performance of OPC XML
OPC XML connections are designed for the exchange of small volumes of data. The performance of OPC XML DA is significantly below that of OPC DA and thus only very few tags per picture should be requested. 

  • Configure the cycle time of the tags to be not less than 1 second.
  • Only about 30 tags per picture should be requested.
  • Tags of the "String" type only support valid ASCII values from 20 hex to 7F hex .

4. Excel as OPC DA client
Access to the OPC XML DA server is also possible via a macro (OPC DA client) in Excel. The OPC XML gateway is required in addition for accessing an OPC XML DA server from an OPC DA client. You can find the function manual in Entry ID: 22701694 where you can download it free of charge.

More information is also available from the document entitled "Getting Started Options".

5. Links
 
  Entry ID
Configuring an OPC XML connection 25677751
WinCC flexible Getting Started Options
Chapter 5 - OPC (Edition: 04/2006)
18657078

Keywords:
XML = Extensible Markup Language, OPC Foundation, OPC = Object Linking and Embedding for Process Control

How do you temporarily lock multiple operator panels?Go to beginning
Part number:

Description:
In many plants, multiple operator panels are used. This makes it necessary to interlock these operator panels to ensure that the plant is not operated by several operators at the same time.

Contents:

  1. Using Sm@rtAccess
  2. Conventional method - user configuration
    2.1 How to lock operation in the sample project
    2.2 STEP 7 programming
          a) Structure of the STEP 7 program
          b) Description of function FC 501
        
    c) Description of function FC 500
    2.3 WinCC flexible configuration
          a) Changing the configuration
          b) Settings on operator panel (WinCC flexible Runtime)
  3. Download

Information on how to lock operation with a key switch is available in Entry ID: 32967530.

1. Using Sm@rtAccess
An operator panel that is configured as a Sm@rtServer can be remotely monitored or operated from another PC or operator panel as Sm@rtClient. The connection between Sm@rtClient and Sm@artServer is made exclusively in the Ethernet network. Communication between the S7 controller and the operator panel configured as Sm@rtServer must not necessarily be via Ethernet.


Fig. 01

Coordinated operator panels - see Fig. 01 - can be used for operating extensive or separated machines and plants. This permits the operator to operate and monitor the plant from different points. The operator sees exactly the same screen on each operator panel and configuration device. Operation locking is implemented by default in the Runtime option Sm@rtAccess. This ensures that you can only operate from one operator panel at a time.

Since there is only one single master configuration, changes to the configuration have to be made only once.

2. Conventional method - user configuration
In the conventional method, the logic for operation locking is in the controller. In this case, every operator panel accesses the S7 controller with an S7 connection via PROFIBUS or Ethernet, for example. The disadvantage of this method is that you have to configure each operator panel separately.


Fig. 02

This method can be used for operating extensive or separated machines and plants. There are many ways of programming operation locking. In this example, the configuration for each operator panel is identical except for the operation locking, because this has to be configured separately for each operator panel.

Large plants are usually divided into sections or function groups. This means that different parts of the plant can be operated in parallel by multiple operator panels. If multiple operator panels access the same part of the plant, then all the operator panels are locked except for the one first logged on. However, other parts of the plant can continue to be operated and monitored from the other operator panels.

2.1. How to lock operation in the sample project
The operation lock in this example depends on the screen currently open or the screen number currently being used. If tow operator panels transfer the same screen number to the controller, then one of these operator panels is locked for the function group. The operator on the locked operator panel can now only monitor the function group concerned.

Since different numbers of screens per function group are required depending on the plant, the number including the screen number can be specified individually in a matrix on the operator panel. In this example, you can specify up to ten screens per function group - see Table 01.
 

Function group

Screen

01 02 03 04 05 06 07 08 09 10
FG 00 1 - - - - - - - - -
FG 01 10 11 12 - - - - - - -
FG 02 20 21 - - - - - - - -
FG 03 31 - - - - - - - - -
Table 01

The operation lock is explained taking the example of a bottle washing and sorting machine.

Note:
The separated processes are only sketched out in the example!

The sample project is divided into the following plant parts and function groups:
 

No.

Function group Plant part

Screen number

1 FG 00 Complete plant 1
2 FG 01 Bottle removal 10-12
3 FG 02 Bottle washing 20-21
4 FG 03 Bottle sorting 30
Table 02

2.2 STEP 7 programming
The sample project is configured for ten operator panels and ten function groups. Operation locking is contained in function blocks FC510 and FC511 with function modules FC500 and FC501.

a) Structure of the STEP 7 program
The conventional process sequence of the individual function groups for the plant or machine is implemented in the functions provided for it (FC10, FC20 and FC30). The call is the same as for operation locking in OB1.

Note:
If not more than ten operator panels and not more than ten screens per function group are required, then you do not have to change anything in the STEP 7 program with regard to operation locking.


Fig. 03

b) Description of function FC 501
Function module FC501 "** Interlock Reset" is for resetting the current screen number of the operator panel as soon as communication between controller and operator panel is interrupted. This prevents that operator panel from continuing to lock a function group. To verify this, the operator panel's life bit that is transferred by the "Coordination" area pointer is evaluated. The reset is performed when the life bit remains unchanged after a specified span of time. FC501 is called in FC511 "General iReset" - see Fig. 03.


Fig. 04
 
Parameter Data type Interface Description
T_High Timer INPUT Timer for evaluation of the life bit by the operator panel (Low and High signal)
T_Low Timer INPUT
WatchDogTime S5Time INPUT Time for both timers
Coordination Word INPUT Coordination area pointer
ScreenNo Word INOUT Current screen number of operator panel
Table 03

c) Description of function FC 500
Function module FC500 "** Interlock Screens" is needed once for each function group and manages locking for this function group. The function module compares the current screen number of each operator panel (maximum of ten operator panels) with the entered screen number in data block DB500 for this function group. If the function group is not blocked by another operator panel, the operation is released for this operator panel.


Fig. 05
 
Parameter Data type Interface Description
ActScreenOP Pointer INPUT Current screen number of operator panel
ScreenFG Pointer INPUT Released screen numbers for the function group
Panel_release_FG Pointer INPUT Release or locking of panels for this function group
FG_inUseOf Int INOUT Function group is used by following panel
Table 04

2.3 WinCC flexible configuration
In principle, you must configure locking for each operator panel. For this you need to make changes in both the configuration and Runtime.

a) Changing the configuration
In order to be able to release a function group for a panel, you must change the area pointers "Coordination" and "Screen number" according to the panel number.

The following data blocks are used for both area pointers in the sample project:
 
Area pointers DB no. Name of data block
Coordination DB8 "DB_Coordination"
Screen number DB501 "DB_AreaPointerScreenNo"
Table 05


Fig. 06

The following tags must be changed according to the panel number in each WinCC flexible project:
 
No. Tags Details
1 Name "DB_FunctionGroups.general.Panel_No[x-1]"
Path ...\Tags\FG\
Purpose Screen number  Screen name
500 "500_Param"
Connection Object Connection
IO field for "Panel No." Tag for IO field
No. Tags Details
2 Name "DB_FunctionGroups.general.Panel_x_release_FG[y]"
Path ...\Tags\
Purpose Screen number  Screen name
01 "001_FG00_General"
10-12 "01z_FG01"
20-22 "02z_FG02"
30-32 "03z_FG03"
Connection Object Connection

IO field for "Release"

Tag for IO field

Button for "On"

Tags in Properties under:
  • "Animations > Appearance"
  • "Animations > Enable Object"
Button for "Off" Tags in Properties under:
  • "Animations > Appearance"
  • "Animations > Enable Object"
Table 06

Key:
x = Panel number 
y = Function group
z = Sequence number


Fig. 07

The following properties must be changed according to the panel number:
 
Object Property Purpose
Symbolic IO field Animations > Appearance All screens of the function groups
Table 07


Fig. 08

b) Settings on operator panel (WinCC flexible Runtime)
On the operator panel you must enter the locking data in screen "500_Param" - see Fig. 09 - and in screen "501_Release" - see Fig. 10.

You must enter the following data in screen "500_Param":

  • Number of function groups
  • Number of operator panels
  • Panel number 

Click on the "Config" button in the basic screen.

Note:
Note that the tag "DB_FunctionGroups.general.Panel_No[x-1]" must be connected to the IO field "Panel no." as in Table 06 for No. 1 according to the panel number.


Fig. 09

The separate screen numbers that are used in the function groups concerned must be stored for the various function groups.

For this, in screen "500_Param" - see Fig. 09 - you click on the "Screens" button.

All the screens of the function groups are entered in screen "501_Release" - see Fig. 10. Screens not entered in this matrix are not released when selected in Runtime for this function group. Although you can use screen numbers from 1 to 32767 in WinCC flexible, only screen numbers 1 to 999 are possible in this configuration, because the IO fields are limited to three digits.


Fig. 10

Note:
In this configuration, there is one screen matrix for all operator panels. You can extend the configuration so that a separate screen matrix is stored in one or multiple data blocks for each operator panel. The advantage here is that you can lock operation of specific function groups in individual operator panels, for example, where visual contact to specific parts of a plant or function groups is restricted or non-existent. In this configuration, you can prevent selection of the function group by removing the corresponding button.

3. Download
Attachment 1 contains the sample project described with three WinCC flexible operator panels.

Attachment 1: WinCC_flexible_Interlock.zip ( 7910 KB )

Runnability and test environment:
The following table lists the components that have been used to create this entry and verify the functions described.
 
Components Product and version designation
PC operating system Microsoft Windows XP SP2
Standard tools -
Engineering tool STEP 7 V5.4 SP4
HMI software WinCC flexible 2007 HF4
HMI system MP 277 & MP377 & PC Runtime

Keywords:
Remote access

What are the options for remote maintenance of a WinCC flexible Runtime system (Panel/PC) via the Internet (WAN)?Go to beginning
Part number:

Introduction:
Using the options WinCC flexible / Sm@rtAccess and Sm@rtService you can also access a WinCC flexible Runtime system via the Internet. The connection can be made on the basis of an ISDN or DSL network.

Sample application:
Your customer wants you to set up external teleservicing of an operator panel in order to be able to access the operator panel via the Internet if there is a fault and if necessary, change the parameters via the operator panel and monitor the system values online.

 

The following questions arise concerning implementation of the configuration/task depicted:

  • How do I connect the panel to the WAN (Wide Area Network)?
  • Which hardware components are required?
  • What is the IP address of the panel to be accessed?
  • How reliable is the connection?
  • What settings have to be made?

Answers to these questions and basic know-how are available in the following document.

Basic Know-how ( 650 KB )

Requirements for the operator panel:

  • HMI operator panels with Ethernet interface
  • HMI operator panel based on WinCC flexible
  • HMI Runtime with the option "WinCC flexible /Sm@rtService" or "WinCC flexible /Sm@rtAccess"

Solutions:
In order to implement the configuration depicted you must first define the dimensions of the network connection (analog/ ISDN/ DSL) on the service PC/operator panel concerned. You can then branch to practical examples of implementation via the links in the following table.

  1. Service PC communicates with an operator panel

PC (Service/Maintenance) <--> Operator Panel (Machine/System)
(point-to-point)

Service/Maintenance

Internet Service Provider

Operator Station
Machine/System

PC communicates with WAN via analog modem ( 978 KB )    

For example:
Arcor, AOL, T-Online, Freenet, RTLnet

Operator panel communicates via ISDN with router
( 4760 KB )   

PC communicates with WAN via ISDN modem ( 1336 KB )    

Operator panel communicates via DSL with router
( 4722 KB )   

PC communicates with WAN via DSL modem ( 1309 KB )  

The service engineer is linked to the Internet via a modem connection.
The operator station of the machine/system is linked to the Internet via a router.

  1. Communication between two operator panels
    If two operator panels are to be linked together directly via the Internet, both operator panels are connected to the Internet via a router.
    The links in the following table branch you to practical examples of implementation.
     

PC/Panel (Operator Station 1) <--> PC/Panel (Operator Station 2)
(point-to-point)

Operator Station
Machine 1

Internet Service Provider

Operator Station
Machine 2

Operator panel communicates via ISDN with router
( 4760 KB )  

Panel communicates via router
(ISDN, DSL)

Operator panel communicates via DSL with router
( 4722 KB )   

  1. Service PC communicates with n operator panels
    If several operator panels of a system are connected to the Internet via a router connection, it is possible to have different types of connection.

    This document considers two types of connection:

a) Communication between two networks on the basis of a standard router connection (port forwarding).
For this type of connection the standard functionality of the components implemented (router, PC etc.) is generally sufficient.

b) Communication between two networks based on a Virtual Private Network (VPN).
The characteristics of a VPN are high transmission reliability and high transparency when accessing the remote network.
Router requirements are higher and additional software is required.

The table provides practical examples of implementation for port forwarding and VPN.
 

PC (Service/Maintenance) <--> n Operator Panels (Machine/System)
(point-to-point)

Service/Maintenance

Internet Service Provider

Operator Station
Machine/System

PC communicates with WAN via analog modem ( 978 KB )    

For example:
Arcor, AOL, T-Online, Freenet, RTLnet

Port Forwarding
( 1279 KB )

PC communicates with WAN via ISDN modem ( 1336 KB )    
PC communicates with WAN via DSL modem
( 1309 KB )   

VPN ( 2899 KB )  

Further information:
You can find further information on this topic in the following entries.
 
Functions of the TS Adapter IE  24532849
Which settings do you have to make on the TS Adapter IE to transfer a WinCC flexible project via Teleservice? 26999934
Cluster FAQ entries:
Industrial Ethernet network components (security) -- Setting up and parameterizing hardware -- Initializing and parameterizing modules
24533194

Keywords:
Remote access, Remote diagnosis

How can you access tags of an operator panel using an Excel application with WinCC flexible 2008?Go to beginning
Part number:

This FAQ response describes how you can access the tags of an operator panel with an Excel application.

Instructions
WinCC flexible permits you to utilize the web service (SOAP). The web service (SOAP) is based on the Simple Object Access Protocol. This permits you to access the tags of an operator panel from an external application like Excel over Ethernet.

The following example was created for an MP 277 Touch. Any other operator panel that supports the SOAP function can be used.

Test environment
Microsoft Excel 2003; Microsoft Excel 2007, Microsoft Excel 2010
Microsoft Windows XP SP3, Microsoft Windows 7

Excel template:

Attachment 1: SOAP_Excel_Template.zip ( 32 KB )

WinCC flexible 2008 SP3 Project
The project includes a picture with tags as well as the required device settings.

Attachment 2: Project_MP277_SOAP.zip ( 2209 KB )  
 
No. Procedure
1

Setting in the WinCC flexible configuration
In the Project Manager under "Device Settings > Device Settings > Runtime services" you check the check box Sm@rtAccess: Web service (SOAP).


Fig. 01

Note
Required license: WinCC flexible / Sm@rtAccess for Panel

2 Settings on the Operator Panel  

Establish Ethernet connection
Assign an IP address to the operator panel. For this you open the menu by going to
"Control Panel > Network and Dial-up Connections > ERTEC400 > IP Address".

How to integrate an operator panel in a local network is described in Entry ID: 13336639

3 Setting in the Excel template
The figure below shows the opened Excel template.


Fig. 02

  1. Specifying the IP address
    Enter the IP address of the operator panel in the "B1" cell.
    In this example "172.16.34.200". 
     
  2. Reading out tags from or writing tags to the HMI operator panel:

Column "A" (Description)
In the "A" column under the "Description" header you can enter a description for the tags used.

Column "B" (Tag Name)
In the "B" column under the "Tag Name" header you enter the names of the HMI tags which are to be read out or written. Refer here to the more detailed information given in table section "4" below.

Column "C" (Value)
In column "C" under the "Value" header is the value of the HMI tag read out or the value with which the HMI tag is to be written.

Column "D" (Read/Write)

Case 1: Write HMI tag (W)
If the HMI tag in column "C" is to be written, you enter the letter "W" in cell next to it in column "D".

Case 2: Read HMI tag
If the HMI tag in column "C" is to be read, you enter the letter "R" in cell next to it in column "D".

Column "E" (Status)
Column "E" shows the execution status (done/fault).
The status "fault" is output when, for example, the specified "Tag Name" is not in cell "B7".
Note
There is no further evaluation of possible "operating errors" or "wrong entries". The script saved can be changed accordingly as required.

  1. Buttons

"Update Data"
The "Update Data" button is used to update the tags in the Excel list.

"Info De / Info En"
You use the "Info De" (information in German) and "Info En" (information in English) to have an "Info page" displayed in the corresponding language. The info page gives a brief description of the handling in the Excel table.

  1. Operating option
    The Excel template enables up to 500 tags to be read out automatically. If an HMI tag is not to be read out or written, then you remove the relevant entry from column "D" (Read/Write).

Note
The Excel template "SOAP_Excel_Template.xls" includes a script.
You can open this script in the Excel editor under "Tools > Macro > Visual Basic Editor" and edit it accordingly.

4 Special case when the HMI tags are in a subfolder
If the tags are created in a "subfolder" in the WinCC flexible configuration, you must put the name of the folder containing the HMI tags first in column "B" (Tag Name").

Note the syntax below for this.

Case 1: Write HMI tag (W)

HMI tags are directly in the main folder.
- Enter only the name of the HMI tag in column "B".

Case 2: Read HMI tag (R)

HMI are directly in the main folder.
- Enter only the name of the HMI tag in column "B".

Case 3: Write HMI tag (W)

HMI tags are in a subfolder.
- In column "B" you enter the name of the HMI tag including the subfolder.
Syntax: subfolder name\tag name
(subfolder name and tag name are separated by one backslash).

Case 4: Read HMI tag (R)

HMI tags are in a subfolder.
- In column "B" you enter the name of the HMI tag including the subfolder.
Syntax: subfolder name\\tag name
(subfolder name and tag name are separated by two backslashes).

5 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.

Note
More information is available in the manual "WinCC flexible Getting Started Options" in Entry ID: 18657078.

Addition Keywords
SOAP connection, HMI Panel, HMI operator panel, Word, Table, Data exchange, Remote access

Connection to the SIMATIC WinCC flexible Sm@rtServer gets lost (with active screensaver or "Shut Down")Go to beginning
Part number:

QUESTION:  
As soon as I lock my workstation (PC) with "SIMATIC WinCC flexible Sm@rtServer" running (e.g. via Ctrl+Alt+Del and "Lock Computer"), or the screensaver becomes active, my Sm@rtClients lose their connection to the Sm@rtServer. What settings do I have to make to avoid this?

ANSWER:  
If the Sm@rtServer is not running as a utility on the server operator panel, then the connection set up with the Sm@rtClient application is interrupted automatically as soon as you press the key combination Ctrl+Alt+Del on the server control panel or the screensaver becomes active. Proceed as follows to avoid this:

  • Start the Windows Control Panel.
     
  • To have the Sm@rtServer run as a utility you must got to "Internet Settings", select the "Remote" tab and enable the check box "Start automatically after booting". 

Fig. 1: Setting Sm@rtServer as utility 

  • Then reboot the computer.

This description is also available in the "WinCC flexible Information System" under the keyword "Utility", in the section entitled "What can Sm@rtAccess and Sm@rtService do?".

Keywords:
Timeout, Connection


Why are not all the tabs visible under "Internet Settings" of the SIMATIC operator panels (only Windows CE devices)?Go to beginning
Part number:

Description
The "Web Server" and "Remote" tabs are only in the "WinCC flexible Internet Settings" on a SIMATIC operator panel (only Windows CE devices) when a project is loaded with one of these options.

The "Web Server" tab is available when one of the following is checked in the project under "Device Settings > Runtime services":

  • Sm@rtService: HTML pages
  • Sm@rtAccess: Web service (SOAP)
  • Sm@rtAccess: SIMATIC HMI HTTP server

The "Remote" tab is available when the following is checked in the project under "Device Settings > Runtime services":

  • Sm@rtAccess or Service: Start Sm@rtServer


Fig. 01

If a project is transferred to the panel without one of the options mentioned above, the corresponding files are uninstalled and the tabs concerned are not displayed.

Note
The "E-mail" tab is independent of the project loaded and is thus always displayed.
Information on this is available in the corresponding manual for the panel at the following reference:
"Configure operating system > Configure network operation > Change e-mail settings".
For which devices support the Sm@rtAccess and Sm@rtService options see Entry ID 40227286.

Keywords
Setup, User interface, Menu, Tab, Internet settings, Configuration, SmartService, SmartAccess, SmartServer, Panel

 Entry ID:28971062   Date:2014-08-28 
I regard this article....as helpfulas not helpful                                 






























mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Topics
Help
Online Help
Guided Tour