WinCC Control Center
WinCC Control Center
WinCC Control Center
Manual
C79000-G8276-C106-01
WinCC, SIMATIC, SINEC, STEP are Siemens registered trademarks. All other product and system names in this manual are (registered) trademarks of their respective owners and must be treated accordingly.
(The reproduction, transmission or use of this document or ist contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.)
(We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for improvement are welcomed.)
Siemens AG 1994-1997 All rights reserved C79000-G8276-C106-01 Printed in the Federal Republic of Germany
Siemens Aktiengesellschaft
Table of Contents
1 The Control Center of the WinCC System ...............................
1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 Entries in the Start Menu of the Operating System ......................... System Properties.......................................................................... Functionality................................................................................... Structure ........................................................................................ Client-Server Functionality.............................................................. Summary ....................................................................................... Menus of the Control Center........................................................... Toolbar........................................................................................... Pop-Up Menus ............................................................................... Feedback Documentation...............................................................
1-1
1-2 1-3 1-3 1-4 1-6 1-9 1-10 1-11 1-12 1-12
2-1
2-1 2-1 2-2 2-3 2-4 2-4 2-5 2-5 2-5 2-6 2-6 2-6 2-7 2-7 2-8 2-8 2-8 2-9 2-9 2-9 2-10 2-11 2-11 2-12 2-12 2-13 2-13 2-14 2-14 2-15 2-17
Control Center
08.97
Help Menu...................................................................................... ...Contents ..................................................................................... ...Find ......................................................................................... ...Index........................................................................................... ...Glossary...................................................................................... ...Using Help .................................................................................. ...Tutorial........................................................................................ ...About Control Center...................................................................
3-1
3-1 3-2 3-3 3-4 3-6
4-1
4-1 4-1 4-4
5-1
5-1 5-1 5-2 5-2 5-3 5-4 5-5 5-6
Computer ...................................................................................
6.1 6.2 6.2.1 6.2.2 6.2.3 6.3 6.3.1 6.3.2 6.4 6.5 General Information About a Computer .......................................... "General Information" Tab.............................................................. Input Box "Computer Name"........................................................... Selection Box "Computer Type"...................................................... List Box "Client-Server List"............................................................ "Startup" Tab.................................................................................. Sequence When Starting the WinCC Runtime Module.................... Additional Tasks/Applications......................................................... "Parameters" Tab........................................................................... "Graphics Run Time" Tab...............................................................
6-1
6-1 6-1 6-2 6-2 6-3 6-3 6-4 6-5 6-9 6-11
7-1
7-1 7-2 7-3 7-3
ii
08.97
Control Center
8-1
8-1 8-2 8-3 8-5 8-5 8-6
Connection.................................................................................
9.1 9.2 9.2.1 9.2.2 9.2.3 9.2.4 General Information About a Connection........................................ "Connection Properties" Dialog....................................................... "General Information" Tab.............................................................. "Groups" Tab ................................................................................. "Tag" Tab....................................................................................... Channel-Specific Tab.....................................................................
9-1
9-1 9-1 9-2 9-3 9-4 9-4
10
Tags ............................................................................................
10.1 10.2 10.3 10.4 10.5 10.6 10.6.1 10.6.2 10.6.3 10.7 10.8 10.8.1 10.8.2 10.8.3 10.8.4 10.8.5 10.8.6 10.8.7 10.8.8 10.8.9 10.8.10 10.8.11 10.8.12 10.8.13 10.8.14 General Information About Tags..................................................... Independent Tags in a Connection................................................. Tags in a Tag Group within a Connection....................................... Internal Tags for an Entire Project .................................................. Internal Tags in a Tag Group for an Entire Project.......................... "Tag Properties" Dialog .................................................................. "General Information" Tab for Process Tags................................... "General Information" Tab for Internal Tags.................................... "Limits/Reporting" Tab.................................................................... Cutting, Copying, or Deleting Tags................................................. Standard Data Types ..................................................................... "Binary Tag" Data Type.................................................................. "Signed 8-Bit Value" Data Type...................................................... "Unsigned 8-Bit Value" Data Type.................................................. "Signed 16-Bit Value" Data Type.................................................... "Unsigned 16-Bit Value" Data Type................................................ "Signed 32-Bit Value" Data Type.................................................... "Unsigned 32-Bit Value" Data Type................................................ "Floating-Point Number 32-Bit IEEE 754" Data Type...................... "Floating-Point Number 64-Bit IEEE 754" Data Type...................... "Text Tag 8-Bit Character Set" Data Type ...................................... "Text Tag 16-Bit Character Set" Data Type .................................... "Raw Data Type" Data Type........................................................... "Text Reference" Data Type........................................................... "Structure Types" Data Type ..........................................................
10-1
10-1 10-3 10-4 10-5 10-6 10-7 10-7 10-9 10-10 10-12 10-15 10-15 10-16 10-17 10-18 10-19 10-20 10-21 10-22 10-23 10-24 10-24 10-24 10-25 10-26
iii
Control Center
08.97
"Raw Data Tags" Are a Special Form of Tags ................................ Addressing a Process Tag ............................................................. Addressing by Means of the Pop-Up Menu..................................... Addressing by Means of the Properties of a Tag ............................ "Address Properties" Dialog ........................................................... "Address" Tab for "SIMATIC S5 Ethernet TF" ................................ "Select Tag" Dialog ........................................................................
11
11-1
11-1 11-1 11-2 11-3 11-5 11-6 11-7
12
12-1
12-2 12-2 12-3 12-3 12-4 12-5 12-6 12-7 12-8 12-9 12-10 12-10 12-11 12-12 12-12 12-13 12-14 12-15 12-16 12-17 12-17 12-18 12-21 12-23 12-25 12-26
iv
08.97
Control Center
Editor "Graphics Designer"............................................................. Loading a New Picture in the Graphics Designer............................ Opening an Existing Picture in the Graphics Designer.................... Editing the Properties of the Graphics RUNTIME ........................... Viewing the Properties of a Picture................................................. Linking New Objects in the Graphics Designer ............................... "Object OLL" DLL........................................................................... Converting Pictures or Libraries......................................................
13
DDE-Server.................................................................................
13.1 13.2 13.3 13.4 13.5 General Information about the DDE-Server .................................... Integrating Tags via DDE ............................................................... Local DDE-Connection................................................................... DDE-Connection via a Network...................................................... Special DDE-Connection to Excel...................................................
13-1
13-1 13-2 13-2 13-4 13-9
14
14-1
14-1 14-2 14-3 14-5 14-6 14-7
15
Appendix ....................................................................................
15.1 15.2 Adapting the Formats of Data Types .............................................. Terms/Abbreviations ......................................................................
15-1
15-1 15-1
Control Center
08.97
vi
08.97
Control Center
Preface
Purpose of the Manual This manual is a reference which introduces you to the functions of each of the software components and their operation. You can use the table of contents or the index to find the necessary information quickly. Naturally, this is also available to you in the on-line help in a con text-sensitive manner or by means of the on-line help contents.
General Overview and You can find a total overview of WinCC and a configuration example in Configuration which you can execute the significant functions of the individual components Example in a practical manner in the Getting Started Manual.
Additional Assistance If you have technical questions, please contact the Siemens representative in your area. You can find the addresses in the Siemens Worldwide appendix of the S7-300 Programmable Controller System, Hardware and Installation Manual, catalogs, and on CompuServe (go autforum). In addition, you can use our hotline at 011-49 (911) 895-7000 (Fax 7001). You can find additional information on the Internet at www.aut.siemens.de/coros/html_00/coros.htm. Information about SIMATIC products Up to date information about SIMATIC products can be obtained: * from the Internet under http://www.aut.siemens.de/ * via fax# 08765-93 02 77 95 00 In addition, the SIMATIC Customer Support provides current information and downloads that can be beneficial for the utilization of SIMATIC products: * from the Internet under http://www.aut.siemens.de/support/html_00/index.shtml * via the SIMATIC Customer Support Mailbox under phone# +49 (911) 895-7100 * To address the mailbox, use a modem with up to V.34 (28.8 kBaud), which parameters must be set as follows: 8, N, 1, ANSI, or dial up through ISDN (x.75, 64 kBit). The SIMATIC Customer Support can be reached by phone under the number +49 (911) 895-7000 and by fax under the number +49 (911) 895-7002. Inquiries can also be made via Internet mail or mail addressed to the above mailbox.
vii
Control Center
08.97
viii
08.97
Control Center
1-1
Control Center
08.97
WinCC - Database Upgrade Beginning with WinCC V4.0, the data of the configuration and runtime systems will be kept in different databases. The database of project created with an earlier version of WinCC can be divided accordingly via the "WinCC - Database Upgrade" program. WinCC - Project Duplicator If you want to work with a redundant project, the same, or at least functionally the same, project has to be created on both redundancy servers. The "WinCC - Project Duplicator" program allows you to automatically copy all project data to the redundant server partners after finishing the configuration. WinCC - Project Switcher In a redundant project, one server is always designated the master and the other the slave. The "WinCC - Project Switcher" program allows you to switch the master designation of the servers, meaning the current master will become the slave-server and the current slave will become the master-server.
1-2
08.97
Control Center
If unfavorable color combinations are used, e.g. for the configuration of the message system, some colors can not be displayed by a black and white printer.
1.3 Functionality
The functionality of the Control Center can be described as follows:
The Control Center contains all the management functions for the entire WinCC system. Within the Control Center, you can configure and start the run-time module. Note: If you want to edit or create a project, the run-time module must be inactive. You can find out if the run-time module is active by looking under the "File" - "Activate" menu items.
1-3
Control Center
08.97
Creation and editing of cross references Feedback documentation Reporting system states Destination system setting (project property) Switching between run time and configuration Test mode/simulation/operation help for configured data, including picture shift, tag simulation, state display, and message creation
1.4 Structure
System Structure of the Control Center
The Control Center has the following structure:
Control Center WinCC Explorer within the Control Center Graphic interface for configuration under Windows 95 and Windows NT Data manager Provides the process image with tag values in the following manner: cyclically cyclically with change event-driven one time Transmits data which the data manager gets from automation systems in the following ways: By receiving By requesting
1-4
08.97
Control Center
Function Modules Graphic system (Graphics Designer) Displays and connects the process graphically. Action editing (Global Scripts) Makes a project dynamic to your specific requirements. Message system (Alarm Logging) Outputs messages and acknowledgments Measurement value archiving and editing (Tag Logging) Edits measurement values and stores them long term Edits user-oriented data and stores them long term Report system (Report Designer) Reports system states
The Control Center makes it possible for you to navigate through the WinCC applications and their data with only a few operations. The Control Center is similar in look and operation to the Explorer in Windows 95.
1-5
Control Center
08.97
On the WinCC server, the "aplip" path "within the WinCC installation path is generally enabled with the name "SCRIPTFCT". You cannot change the enable command or the enable name. All of the global scripts from action programming (Global Scripts)are loaded on the "aplib" path.
1-6
08.97
Control Center
After you install WinCC on the server, start the Control Center (MCP.EXE ). During the start procedure, the "Control Center" dialog opens automatically (only the first time you start WinCC).
Select "Multi-User System" in the dialog and use the "OK" button. In the "Create New Project" dialog that then appears, set the storage location for the project data. In the "Project Path" box, activate the "<DR>:\Projects" path you loaded. Enter the name of your new project in the "Project Name" box. The entry in the "Project Name" box is updated at the same time in the "New Subfolder" box. To finish, click the "Create" button to have WinCC create a new path with all of the required project data under the path that you selected. Note: If you want to change the project type of an existing project, use the Project Properties ("General Information" tab).
1-7
Control Center
08.97
After the project data have been created, the Control Center opens up with the new project file. You can adapt this project file to your own special requirements.
1-8
08.97
Control Center
1.6 Summary
The following terms have a special meaning within the Control Center:
Multi-User System (Client-Server) Menu Bar Toolbar Project Window Feedback Documentation Project Navigation Window Project Components Computer Tag Management Communication Drivers Channel Unit Connections Process Tags and Internal Tags Tag Groups Data Types Editor Alarm Logging User Administrator Text Library Report Designer Global Scripts Tag Logging Graphics Designer Data Windows Pop-Up Menus Terms/Abbreviations
1-9
Control Center
08.97
If you have already opened a project, the following menu items and icons are available to you:
1-10
08.97
Control Center
1.8 Toolbar
The Toolbar has the following structure:
These icons make it possible for you to carry out actions more quickly. You do not need to select your way through the menu until you reach the required function. As an example, look at the steps for creating a new project file: How to Create a New Project: In the Toolbar, click on the or Click on "New" in the "File" menu. You can find more information about this example under "File" "New". The following icons are available to you: "File" "New" "File" "Open ..." "File "Activate "File "Activate "Edit" "Cut" "Edit" "Copy" "Edit" "Paste" "View" "Large Icons" "View" "Small Icons" "View" "List" "View" "Details" "Edit" "Properties" "Help" "Find" icon.
1-11
Control Center
08.97
The following project data are output by means of the feedback documentation:
Computer Computer name Computer type
Server or Client
Tag management Tag name Data type (user data type) Connection (name of the logical connection) Channel (communication driver) Channel unit (channel unit of the communication driver used) Connections Connections (name of the logical connection) Unit (channel unit of the communication driver used) Parameters (current parameters of the channel unit)
1-12
08.97
Control Center
How To...
...View the Feedback Documentation for the Control Center on the Screen:
Use the "File" "Preview Feedback Doc" menu command to view the current project settings on the screen directly. or 1. Double click in the project navigation window on the "Editor" project component to view a list of all of the installed editors. 2. Click on the "Report Designer" editor. 3. Click on "Print Job" to view all of the available system print jobs in the project data window. 4. Click the right mouse button on the entry Feedback Documentation Control Center. 5. In the pop-up menu that appears, select the "Print Preview" command to display the system print job for the feedback documentation of the Control Center on the screen.
1-13
Control Center
08.97
1-14
08.97
Control Center
This example shows you the dialog window for creating a new project. 4. Click on "OK." 5. This selection opens a window entitled "Create New Project" in which you can enter all of the declarations required for your new project.
2-1
Control Center
08.97
This example shows you the "Create New Project" dialog window.
2-2
08.97
Control Center
Reconnect at Logon
2.1.2 ...Open
You can open an existing project using the "Open ..." menu item. How to Open an Existing Project: 1. Click on "Open" in the "File" menu. or Click on the or Use the keystroke combination "Ctrl + O." 2. Select the drive as well as the folder and the desired file name. 3. Click the "Open" button. Note: Generally, only the program-related files (file name extension *.MCP) are listed. icon in the Toolbar.
2-3
Control Center
08.97
2.1.3 Close
Use the "Close" menu item to close the open project and remove it from the screen.
2.1.4 Activate
Use the "Activate" menu item to trigger the Start/Stop of the process control (runtime) of the current project. This menu allows you to switch between the process control and configuration. If you activate the run-time module, this is noted within the "File" menu in the following manner:
A check mark is in front of the "Activate" menu item The name of the current project is identified with the term "Active" within the Control Center title bar.
Note:
You can also activate/deactivate a project with the buttons and from the toolbar.
How Can You Start a Configured Picture (Graphics Designer) Automatically When WinCC (Control Center) Starts?
If you make the following settings, the run-time module of the Control Center as well as an existing picture in the Graphics Designer are started automatically when the WinCC program starts. 1. Within the "Computer" project component, activate the Properties of the Computer and switch to the Graphics Runtime tab. Enter the desired start picture in the "Start Picture" box. or Use the "Find" button to find the desired start picture and link to it. 2. Open the Startup tab and activate the "Graphics Runtime" box. This box is active as a default. 3. Use the "File" "Activate" menu item to start the Control Center run -time module. Note: The run-time modules of a computer with an active check box in the Start-up List are started when you activate a project.
WinCC Manual C79000-G8276-C106-01
2-4
08.97
Control Center
Note:
The key combination for halting the activation of a project works for a single user system and for the server of a multi-user system, but not for the clients of a multi-user system.
2.1.7 ...Exit
Use the "Exit" menu item to exit the Control Center. This command closes all of the files of the open projects.
2-5
Control Center
08.97
2-6
08.97
Control Center
2.2.2 ...Cut
Use the "Cut" menu item to remove objects from the project and place them on the Clipboard. The objects are stored on the Clipboard until a new "Cut" or "Copy" replaces them. Note: You can cut out objects that you highlight within the project data window.
How to Cut Out Objects: 1. Highlight the objects you want to cut out. 2. Click on "Cut" in the "Edit" menu. or Click on the or Use the keystroke combination "Ctrl + X." icon in the Toolbar.
2.2.3 ...Copy
Use the "Copy" menu item to create copies of objects and store them on the Clipboard. The object is stored on the Clipboard until a new "Cut" or "Copy" replaces it. Note: You can copy objects that you highlight within the project data window.
How to Copy Objects: 1. Highlight the objects you want to copy. 2. Click on "Copy" in the "Edit" menu. or Click on the or Use the keystroke combination "Ctrl + C." icon in the Toolbar.
2-7
Control Center
08.97
2.2.4 ...Paste
Use the "Paste" menu item to copy the contents of the Clipboard into your project. The contents of the Clipboard do not change. Note: You can only paste an object if you have copied it to the Clipboard. Therefore, you must cut or copy something within the Control Center in order to paste it in your project. If you used another tool (for example, Word or Excel) to export something to the Clipboard, you cannot paste that item.
How to Paste Objects from the Clipboard: Click on "Paste" in the "Edit" menu. or Click on the or Use the keystroke combination "Ctrl + V." icon in the Toolbar.
2.2.5 ...Delete
Use "Delete" to delete the selected object.
2.2.6 ...Properties
Use the "Properties" menu item to edit the contents of the properties of the current object. How to Edit the Properties of the Current Object: Click on "Properties" in the "Edit" menu. or Click on the or Open the pop-up menu by clicking the right mouse button and select the "Properties" menu item. icon in the Toolbar.
2-8
08.97
Control Center
If you select a menu item or an icon on the Toolbar, a brief help text is displayed.
The number of objects contained in each selected node within the project navigation window is displayed.
2-9
Control Center
08.97
Note:
If the keyboard status boxes are not visible, this is due to the current window size of the Control Center. You can make these boxes visible by enlarging the size of the window.
This example shows you the objects within a connection. How to Change the Display of the Icons: Click on "Large Icons" in the "View" menu. or Click on the icon in the Toolbar.
The icons are displayed in full size on the right side of the window.
2-10
08.97
Control Center
This example shows you the objects within a connection. How to Change the Display of the Icons: Click on "Small Icons" in the "View" menu. or Click on the icon in the Toolbar.
The icons are displayed in miniature on the right side of the window.
2.3.5 ...List
Use the "List" menu item to display the icons in a list format on the right side of the window. When you select this view, all of the objects within the data window are displayed as follows:
This example shows you the objects within a connection. How to Change the Display: Click on "List" in the "View" menu. or Click on the icon in the Toolbar.
The icons are displayed in a list on the right side of the window.
2-11
Control Center
08.97
2.3.6 ...Details
Use the "Details" menu item to display the information on the right side of the window in a detailed format. The data window looks like the following picture when "Details" is selected:
This example shows you the objects within a connection. How to Change the Display : Click on "Details" in the "View" menu. or Click on the icon in the Toolbar.
The icons are displayed in a detailed list on the right side of the window.
2.3.7 ...Update
Use the "Update" menu item to update the information within the project window.
2-12
08.97
Control Center
Example:
This example shows you the currently connected editors. The application DLLs of the editors support this connection capability by means of the "Editors" menu item.
2-13
Control Center
08.97
2-14
08.97
Control Center
Write Requests
2-15
Control Center
08.97
This is the "Status - Logical Connections" window. Within this window, the seven columns provide an overview of the current status of the logical connections.
2-16
08.97
Control Center
Process Data Server Process Data Clients You CANNOT edit the boxes in the individual tabs. In case of an error, the information here is very helpful for the WinCC hotline.
Note:
The status of a multi-user system can also be viewed from the clients, but only the information pertaining to the client making the request will be displayed.
The "Process Data Server" tab provides the following information: Area Name Supported Network Protocols UUID Meaning This list box contains all of the available network protocols. This abbreviation stands for Universal User Identification. A unique identifier for the entire project is displayed in this box. The network endpoint is assigned dynamically by the operating system. This box contains two values that are separated by a slash and have the following significance: The first value is the minimum number of threads that are running and the second value is the maximum number of threads that are running on the server.
The "Process Data Clients" tab provides the following information about a special client. You can select the client by means of the drop-down list box.
2-17
Control Center
08.97
Meaning This abbreviation stands for Universal User Identification. A unique identifier for the entire project is displayed in this box. This box displays the protocol that the client is using to communicate with the server. This box displays the 12-digit Ethernet address of the server network card to which a connection was made. The network endpoint is assigned dynamically by the operating system.
Network Protocol
Network Address
Network Endpoint
Note:
If you view the status of the multi-user system from a client, all the information pertaining to this client will be displayed. Information about the server and other clients can not be viewed.
You can find more information on this procedure in the Windows 95 or Windows NT description.
2-18
08.97
Control Center
2.6.2 ...Find
Use the "Find" menu item to view the help text for a specific term. How to Find a Specific Term in On-Line Help: 1. Click on "Find" in the "Help" menu. The mouse pointer is changed by having a question mark attached. or Click the or Use <Shift> + <F1> to activate the Help mode. 2. Click on the menu command, editing box, or the button about which you want further information. Note: Select the <Esc> key to exit Help mode. help button the Toolbar.
2.6.3 ...Index
Use the "Index" menu item to call up the index for the Control Center on-line help. A window with three tabs (contents, index, and find) opens. The last tab that was opened is the one that you see when you activate the menu item.
2.6.4 ...Glossary
Use the "Glossary" menu item to call up the glossary.
2-19
Control Center
08.97
2.6.6 ...Tutorial
Use the "Tutorial" menu item to start the interactive tutorial. This program teaches you to handle WinCC and provides a case example in which you can execute a project in its entirety. In this case example, you become familiar with all of the important points for creating a project.
2-20
08.97
Control Center
3 Project Description
3.1 General Information About Projects
Structure of a Project in the Control Center:
A project consists of multiple components which are directly dependent on each other. You can find the individual components of a project in the project navigation window.
Editing/Viewing the Project Properties: If you want to view or edit the project properties, you must select the current project in the project navigation window. Then you must open the corresponding pop-up menu and select the "Properties" menu item or use the button in the Toolbar.
The pop-up menu of the current project is displayed in the data window.
3-1
Control Center
08.97
2. You can select among the three tabs in the "Project Properties" dialog box.
Hot Keys
3-2
08.97
Control Center
Creator
Creation Date
Version
GUID
Comment
3-3
Control Center
08.97
This picture shows you the screen structure of the "General Information" tab.
Note:
The "Update Cycles" tab contains preset cycles and cycles you can define yourself. You can recognize the definable cycles by their standard identification "User Cycle n," where "n" corresponds to a range between 1 and 5. This means that you can assign a maximum of 5 definable user cycles.
3-4
08.97
Control Center
This example shows you some of the possible preset update cycles.
This example shows you the user cycles you can define yourself. The boxes that can be edited are located on the lower border. 3. If you want to change the name, click on the left box (for example, "User Cycle 1" as seen in the example) and change the name.
3-5
Control Center
08.97
4. If you want to change the update cycle, click on the right box (for example, "2000" as shown in the example) and change the value. You can enter a value from 100 ms to 3600000 ms (100 ms to 10 hr) in this box. The value entered is rounded up to the next value divisible by 100 (for example, if you enter 2111, the value is rounded up to 2200 when you hit a key). 5. Use the "OK" button to apply the selected update cycle. Note: If a user cycle is changed while the project is running in run time, the change does not affect the run time. The change does not take effect until you DEACTIVATE/ACTIVATE the project.
If you want to execute the "Hardcopy" action by means of a hot key, you must connect the "PrtScr.exe" program in the Computer Startup ListComputer "Startup" tab (Control Center). The "PrtScr.exe" program is located in the "\bin" path of WinCC (for example "C:\WinCC\Bin or C:\Siemens\WinCC\Bin").
3-6
08.97
Control Center
This window corresponds to the "Project Window." The "Project Navigation Window" is on the left side and the "Data Window" is on the right.
project name, for example, . Use the to display or hide the levels beneath the project name.
A project consists of the following components:
or
buttons
Note:
You can edit the properties of each project component by selecting the "Properties" menu item in the appropriate pop-up menu. Each project component can contains additional sub-items.
4-1
Control Center
08.97
Explanation All of the workstations and servers that are assigned to a project are managed in this area. All channels, logical connections, process and internal tags, and tag groups are managed in this area. All data types and the tags assigned to them are mirrored in this area and are even available to other channels. All of the available editors are listed in this area. This includes the graphic system (Graphics Designer), action processing (Global Scripts), message system (Alarm Logging), measurement value archiving and editing ( Tag Logging), report system (Report Designer), user authorization ( User Administration), and the text library ( Text Library). These modules are all a part of the WinCC system but they do not all have to be installed.
Tag Management
Data Types
Editor
4-2
08.97
Control Center
2. Double click on a name in order to open or close an additional level (for example, double click on "Computer" to open the next level).
This picture shows you the structure of the project navigation window.
How to Set the Optimal Window Width for the Project Navigation Window:
1. Position the mouse pointer on the dividing line between the project navigation window and the data window. The mouse pointer changes to . 2. Click the left mouse button and hold it down while moving the mouse to the left or right. This action changes the width of the window. 3. When you release the mouse button, the display is changed to the new window width.
This example shows you the window dividing line that separates the project navigation window from the data window.
4-3
Control Center
08.97
1. Double click on a name to open a list or an object. 2. When you select an object and click the right mouse button, the pop-up menu of the object opens. 3. If you click the right mouse button in an empty area of the window, the pop-up menu for the corresponding list element in the project navigation window opens.
The Data Window is Constructed as Follows in the "Large Icons," "Small Icons," and "List" Views:
Each object is represented by the corresponding icon and its name. The following example shows the computer objects in the "Large Icons" view:
4-4
08.97
Control Center
The Data Window Has the Following Structure in the Details View:
Note:
Use the "Name," "Type," "Parameter," and "Last Change" buttons to sort the contents of the data window in rising or falling order.
The data window is divided into the following four columns: Project Component Name Explanation This column displays name of the object, a tag, or a file. (The file name is assigned to a specific editor). This column displays the type of the object. For example, in the case of a computer, this column could contain "Server." With tags, the data type of each tag is displayed.
Type
Parameter
This column displays the address descriptions for external tags: for example, the data block number (DB) and the data word address (DW). In the case of internal tags, "Internal Tags" is entered in this location. This column displays the date and time of the last change.
Last Change
4-5
Control Center
08.97
How to Set the Optimal Column Width for the Details View:
There are two ways to change the column width:
Position the mouse pointer on the dividing line between the individual . Click the left columns. The mouse pointer then changes to mouse button and hold it down. If you move the mouse to the left or right, the column width changes. When you release the mouse button, the display changes to the new column width.
Position the mouse pointer on the dividing line between the individual . If you double click columns. The mouse pointer then changes to the left mouse button, the display changes to the optimal column width. The optimal column width is determined by the column with the longest value.
This example shows the dividing lines in the Details view in the data window.
4-6
08.97
Control Center
The project navigation window lists all of the components that belong to the project.
This example shows you a configured computer of the server type under the "Server Computer" project component.
5-1
Control Center
08.97
Use the "OK" button to apply all of the settings you make, or use "Cancel" to reject those settings. Use the "Help" button to access the help system.
5-2
08.97
Control Center
This example shows you six installed communication drivers and their channel units under the "Tag Management" project component. Each communication driver can be made up of the following sub-items:
1 to n channel units 1 to n logical connections. All tag groups and tags in the logical connection are managed and displayed in this area. 1 to n tag groups. All tags of the tag group in the logical connection are displayed and managed in this area. 1 to n independent tags. All tags that do not belong to a tag group are managed and displayed in this area.
This example shows you the "SIMATIC S5 Ethernet Layer 4" communication driver with the "S5-Transport (CP1413-1)" channel unit as well as its logical connections and tag groups.
Use the "OK" button to apply all of the settings you make, or use "Cancel" to reject those settings. Use the "Help" button to access the help system.
5-3
Control Center
08.97
This example shows you all of the available data types under the "Data Types" project component.
This example shows you all of the "Signed 16-Bit Value" data type tags related to the project under the "Data Types" project component.
5-4
08.97
Control Center
5-5
Control Center
08.97
This example lists all of the editors of the WinCC system listed under the "Editors" project component.
The "Report Designer" area offers the following additional functions:
Use the "OK" button to apply all of the settings you make, or use "Cancel" to reject those settings. Use the "Help" button to access the help system.
5-6
08.97
Control Center
6 Computer
6.1 General Information About a Computer
General Information About the "Computer" Project Component:
Use the "Computer" project component to manage all of the computers that can access the current project. You can configure each computer individually.
Click the "OK" button to apply all of the settings you made, or click "Cancel" to reject them. Use the "Help" button to access the help system.
This example shown you the "General Information" dialog window within the "Computer Properties" window.
6-1
Control Center
08.97
Note:
You can determine which computers are accessible over the network by using the Windows 95 Explorer. All of the current computers are listed in the "Network Environment" node.
Engineering Station
If a server exists already and you click on the "Server" selection box for a configured client computer, the "Select Process Data Server" message window appears. This window notifies you that a server exists. If you click "OK" in the message window, the selected client computer is changed to a server and the current server (the name of the server is in the message window) changes to a client. This change does not take effect until after you restart WinCC.
6-2
08.97
Control Center
1. Sequence When Starting the WinCC Runtime Module This window contains a list of all of the default WinCC run-time modules. 2. Additional Tasks/Applications The applications that are not in the "Sequence When Starting the WinCC Runtime Module" window but must still be started are managed in this window.
6-3
Control Center
08.97
This example shows you the "Startup" tab within the "Computer Properties" dialog window. In this example, all of the WinCC run -time modules have been activated and three applications were connected in the "Additional Tasks/Applications" list box. Note: When you create a new project, only the Graphics Run Time is activated in the startup list.
the
6-4
08.97
Control Center
Note:
In the "Edit Application" dialog window, you can only edit the "Parameters" input field.
This example shows you that the "Parameters" field is the only area that can be changed for the "Report Run Time."
6-5
Control Center
08.97
Parameters
Working Directory
6-6
08.97
Control Center
Project Folder
Click on the "Project Folder" check box to set the current project folder as the working directory. Normally, all of the project folders are arranged within the path on which you installed the WinCC system (for example: <Drive>:\WINCC\BIN\). When you have activated the project folder, this is identified with the icon. The correct syntax for the Control Center project folder is as follows: "<Drive>:\WINCC\BIN\<Projectname>"
In this example, the project folder is "<Drive>:\WINCC\BIN\HJB1". Note: If you have activated this check box, the "Working Directory" input field and the "Browse" button are gray and you cannot use them. Window Size Use this field to set the window size of the application at the start of the program. You can select from the following three settings: Minimized Under Windows 95, the program is loaded as an icon on the Start Bar. Under Windows NT, the program is loaded as an icon on the screen. Under Windows 95 and Windows NT the program is displayed in the full screen mode which is standard for the program. This value is also the default setting. Under Windows 95 and Windows NT the program is displayed in full screen view after it starts.
Standard
Maximized
6-7
Control Center
08.97
6-8
08.97
Control Center
Alt+TAB Ctrl+Esc
With this setting, the program occupies the processor until a program with a higher priority requests access. With a high priority, the program occupies the processor by itself. Other programs cannot access the processor until the program releases it.
High
Language Setting at Run Time This location displays the current language setting for the configuration of the run-time module. Start Information Use this value to open a new properties window within the "Parameters" tab. This only functions when the program to be connected does not support any MFC functions. If the connected program supports this possibility, the "Edit" button is enabled for activation.
6-9
Control Center
08.97
If you "Lock a Key Combination," this action is identified by the icon. Depending on which "Priority" you select, it is identified by the
icon.
This example shows you the "Parameters" tab within the "Computer Properties" dialog window.
6-10
08.97
Control Center
Window Attributes Title Border Click on this box to view the title bar of the window. Click on this box to provide the window with a border. Click on this box to view the button for maximizing the window. Click on this button to view the button for minimizing the window.
Maximize Minimize
6-11
Control Center
08.97
Full Screen
Click on this box to open the window in full screen mode. This mode uses the entire screen for the display. Click on this box to assign a scroll bar to the window. Click on this box to assign a status bar to the window. Click on this box to adapt the configured window structure to the current window size.
Turn Off ALT-F4 Click on this box to deactivate the <Alt> + <F4> hot key for closing the window. Click on this box to deactivate the ability to use the window border to change the size of the window Click on this box to make it impossible to move the window. Click on this box to deactivate the button for minimizing the window. Maximize Click on this box to deactivate the button for maximizing the window. Close Click on this box to deactivate the button for closing the window. Optimized View Click on this box to turn off the optimized screen structure for the individual elements. This means that the window structure occurs in steps. You can recognize the step-by-step window structure when the affected element flashes. If this box is not active, the window is not updated in steps. This is achieved by displaying the entire contents of the window at once (external screen construction within the RAM and then copied to the video storage).
Change Size
Move Minimize
6-12
08.97
Control Center
Hot Keys
To create a hot key, select the box you want by clicking the mouse on it. Then use the key or keystroke combination you want to assign to the box. The selected box displays the hot key you choose as a series of keystrokes, for example,
Switch Windows
By configuring picture windows within a picture, you can set specific window areas. To switch among the individual window areas, define a hot key here. By configuring within picture windows in the "Graphics Designer" picture, you can group specific areas into a "Tab Order Sequence" or an "Alpha Cursor Sequence." You can define a hot key for switching between the "Tab Order Sequence" and "Alpha Cursor Sequence." All buttons are grouped within a "Tab Order Sequence." All I/O fields are grouped within an "Alpha Cursor Sequence." Depending on which sequence is active, you can use the "Tab" key to move from one box to another. Use the "Tab" key to move to the next box or use "Shift" + "Tab" to move to the previous box. Use this box to set a hot key to turn the Tab Order or Alpha Cursor sequence that is currently active on or off. Use these boxes to set the keys or keystroke combinations for moving the cursor UP, DOWN, LEFT, and RIGHT. If you also activate one or more of the Ctrl, Alt, or Shift boxes, you must use the corresponding key or keys in addition to the key you set in the UP, DOWN, LEFT, and RIGHT boxes. If you activate the "Start at Startup" box, the cursor control for the configured keys is turned on each time the run -time system starts.
6-13
Control Center
08.97
Use these selection boxes to influence the behavior of the cursor control in run time: This box is activated as a default and has the following effect on the cursor control: Once the cursor reaches the outer fields of the cursor group, the cursor will jump to the first field within the row in which the cursor has been moved, if you continue to use the cursor keys that move the cursor outwards. If you activate this box, the cursor control behaves as follows: Once the cursor reaches the outer fields of the cursor group, it will remain at that position, even if you continue to use the cursor keys that move the cursor outwards. If you activate this box, the cursor control behaves as follows: You can move the cursor up to the outside positions. Once the cursor reaches the farthest position, the cursor moves to the first position within the next row or column.
Normal
Expanded
This example shows the "Graphics Run Time" tab within the "Properties of a Computer" dialog.
6-14
08.97
Control Center
How to Activate/Deactivate the Individual Selection Boxes within "Window Attributes" and "Turn Off":
Simply click on the appropriate selection box. An active selection box is
The settings in the "Cursor Control" selection box have the following effect on the behavior of the cursor in run time:
Selection box "Normal": (default setting):
You can move the cursor up to the outermost positions. Once the outermost position has been reached, the cursor will jump to the first position within the current row or column.
Selection box "Normal without Rollback":
You can only move the cursor to the outside positions. Once the outside position has been reached, the cursor will remain at that t position. The cursor can then be moved only towards the inside.
6-15
Control Center
08.97
You can move the cursor to the outside positions. Once the outside position has been reached, the cursor jumps to the first position within the next row or column.
6-16
08.97
Control Center
7 Communication Drivers
7.1 General Information About the Communication Drivers
What Are Communication Drivers?
A communication driver is the interface between a subordinate PLC system and WinCC.
The Pop-Up Menu of the Communication Driver Contains the Following Items:
Menu Item Find... Delete Properties Explanation Use this menu item to set and start a search action within the entire WinCC system. Delete the selected communication driver. View the properties of the selected communication driver.
7-1
Control Center
08.97
1. In the Project Navigation Window, double click on the project component "Tag Management." You then receive a list of all of the installed communication drivers. 2. From the list of available communication drivers, select the communication driver whose parameters you want to view. 3. Open the corresponding pop-up menu. 4. Select the "Properties" menu item. This selection opens a window entitled "Communication Driver Properties" where you can view the current values of the selected driver.
Area
Explanation
The name of the channel file is displayed here (for example, SIMATIC S5 ETHERNET TF). Type The type of communication driver is displayed here. The default display is Channel DLL. The name of the channel file is displayed here (for example, SIMATIC S5 ETHERNET TF.CHN). The size of the channel DLL is displayed here. The size of the channel DLL is displayed in kilobytes and bytes (for example, 135 Kbytes (138240 bytes). The number of channel units in the channel file is displayed here (for example, the SIMATIC S5 ETHERNET TF.CHN channel DLL contains 2 units).
Path
Size
Units
7-2
08.97
Control Center
7-3
Control Center
08.97
7-4
08.97
Control Center
8 Channel Unit
8.1 General Information about a Channel Unit
What is a Channel Unit?
A WinCC channel is implemented as a Windows DLL and dynamically linked to the system. Each WinCC channel represents access to a specific type of connection parameter with a specific protocol (for example, the SIMATIC S5 Ethernet TF channel helps to access a SIMATIC S5 with the TF protocol). One channel DLL can support multiple channel units of the same type. For example, the SIMATIC S5 Ethernet TF channel DLL can be driven with a SINEC-H1 unit (CP1413) as well as with a SINECL2unit (CP5412), in some cases at the same time. The WinCC data manager requests process values at run time from the remote PLC through the logical connection. The channel unit carries out the communication steps necessary for requesting the process values by means of the channelspecific connection and thus provides the WinCC data manager with process values. The data which are read in are stored as a process image in the RAM of your computer. All WinCC components access this process image. A channel unit is linked to the communication driver and, therefore, cannot be deleted or installed separately. Logical connections, tag groups, and tags can be assigned to a channel unit.
8-1
Control Center
08.97
8-2
08.97
Control Center
8.2.1 System Parameters for the " SIMATIC S5 Ethernet Layer 4" Communication Driver
Structure of the "System Parameters" Dialog Window for the Channel Units of the "SIMATIC S5 Ethernet Layer 4" Communication Driver:
The "System Parameters" dialog window consists of two tabs, "Device Names" and "Transport Parameters." You can affect the values in the tabs by means of the following boxes:
Value/Explanation You can change the device name displayed in bold and make it fit your current needs. The device name corresponds to the name of the network software.
This example shows the system parameters of an SIMATIC S5 Ethernet Layer 4 communication driver ("Device Names" tab)
8-3
Control Center
08.97
You can affect the values of the "Transport Parameters" tab by means of the following boxes:
Value/Explanation Here you can enter the maximum length of a data package to be transmitted. You can use one of the following values: 512 1024 2048 4096
Setup Attempts Infinite Quantity Duration of Send Repetitions Infinite Time A data package that is not acknowledged is constantly repeated. Set the maximum number of repetition attempts for an unacknowledged data package. The system constantly tries to set up the connection. Set the maximum number of setup attempts.
Job Management Acknowledgment Time Specify the time in seconds to wait for an answer from the remote PLC.
This example displays the system parameters of a SIMATIC S5 Ethernet Layer 4 communication driver ("Transport Parameters" tab). 8-4
WinCC Manual C79000-G8276-C106-01
08.97
Control Center
Contents Create new connections and edit existing connections in the "Connections" tab. Enter general settings affecting the logical connection in the "General Information" tab.
8-5
Control Center
08.97
Note:
You can only view the boxes in the "General Information" tab. These boxes show you which functions are supported by the channel unit and which ones are not. All active functions are designated by the icon.
The individual boxes have the following meaning: Box Name Byte Access Explanation A channel unit uses this property bit to determine if it has write access to the remote PLC. Writing to byte addresses means that the low byte of a word can be written without changing the high byte and vice versa. A channel unit uses this property bit to determine if it has write access to bits. Writing bits means that a bit can be written to the memory range of the remote PLC without changing other bits. A channel unit uses this property bit to determine if it executes its own watchdog monitoring. When the unit executes its own watchdog monitoring, it guarantees that the communication channel and the remote PLC are ready to communicate. A channel unit uses this property bit to determine if it automatically shares a start-up with the remote PLC. When an automatic start-up signal is selected, a channel shares its start-up with the remote PLC. A channel unit uses this property bit to determine if its API functions are reentrant. A reentrant channel unit guarantees that its API functions can be called simultaneously by multiple threads of the WinCC data manager. If synchronization of the threads by means of operating system resources (such as semaphores or events) is necessary, the channel unit performs the synchronization. If the channel unit is not reentrant, the WinCC data manager synchronizes its threads.
Bit Access
Watchdog
Start-up Signal
Reentrant
8-6
08.97
Control Center
Remote Tag
A channel unit uses this property bit to determine if it can access tags that are configured in the remote PLC. Tags that are configured by the remote PLC are identified by means of their names. The channel unit is capable of providing these names to the WinCC data manager when necessary. A channel unit uses this property bit to determine if it can register additional logical connections if it was started in RUNTIME mode. If a channel unit is started in RUNTIME mode and if this property bit is set, newly configured logical connections are registered immediately with the channel unit by means of the WinCC data manager. The channel unit loads the corresponding specific connection so that the logical connection is capable of operating immediately. A channel unit uses this p roperty bit to determine if it can register additional WinCC tags at run time.
On-Line Connections
On-Line Tags
8-7
Control Center
08.97
Register a Tag
A channel unit uses this property bit to determine if it wants WinCC tags that are assigned to the logical connection of the unit to be registered during the initialization phase. A channel unit uses this property bit to determine if it contains its own configuration of internal configuration values. A channel unit uses this property bit to determine if the channel-specific dialogs are implemented by means of Visual C++ and MFC or standard Windows tools. A channel unit uses this property bit to determine if process data in the remote PLC are in INTEL byte order.
Own Properties
Uses MFC
Four property bits are set in this example ("General Information" tab).
8-8
08.97
Control Center
9 Connection
9.1 General Information About a Connection
What is a Logical Connection?
A logical connection describes the interface between the automation system and the WinCC data manager.
Contents Enter general properties that affect the logical connection in the "General Information" tab. Create tag groups in the " Groups" tab. Groups can be used for a better organization of tags. Create tags in the " Tag" tab. These tags are not assigned to a group. The structure of this tab depends on the communication driver used. There can be different "Connection" tabs for each communication driver. Even the name of the tab can be different.
Use the "OK" button to apply all of the settings you made or use "Cancel" to ignore them. Use the "Help" button to access the help system.
WinCC Manual C79000-G8276-C106-01
9-1
Control Center
08.97
The individual boxes have the following meaning: Box Name Value/Meaning Enter the name of the logical connection here. This name cannot have been used within your project at this point. The standard name provided is "New Connection" which you must replace with a unique name. Select the desired channel unit in this box. Each client uses the server list to determine the location of the data source. You determine the location of the data source for the run-time module with the sequence of the individual servers within the server list. Use the "Up" and "Down" buttons to change the sequence of the servers in the server list. Use the "Add" button to add a new server to the current server list. Use the "Remove" button to delete a server from the current server list.
9-2
08.97
Control Center
This table serves as an example only: Group CPU Furnace Presses Digital I/O Analog I/O Explanation This group combines all of the tags that access the same CPU. This group combines all of the tags that access a furnace. This group combines all of the tags that access the presses. This group combines all of the tags that access all the digital I/Os. This group combines all of the tags that access all the analog I/Os.
You Can Execute the Following Actions within the "Groups" Tab:
Use the"New" button to create a new tag group. Use the "Delete" button to delete the selected tag group. Use the "Properties" button to edit the properties of the selected tag group.
9-3
Control Center
08.97
You Can Execute the Following Actions Within the "Tag" Tab:
Use the "New" button to create new tags. Use the "Delete" button to delete the selected tag. Use the "Properties" button to edit the properties of the selected tag.
9-4
08.97
Control Center
10 Tags
10.1 General Information About Tags
What is a Tag?
WinCC tags are the central element for accessing process values. Within a WinCC project, they receive a unique name and a data type. A logical connection is assigned to a WinCC tag. This connection determines which channel delivers the process values to the tags using which connection. The WinCC tags are stored in a project-wide data base. When a WinCC machine starts, all of the tags belonging to a project are loaded and the corresponding run-time structures are set up.
A WinCC tag describes a data cell that is unique within a project and the rules to be followed when this data cell is accessed. For an application, access to the tag utilities of the data manager is transparent. This means an application needs no information about the source or the target of the tags. Generally, the data manager differentiates between the following two types of tags:
No addressing in the PLC layer. Assignment to a logical connection and address in the PLC layer. Within the external tags, there is a special form of tags known as "Raw Data Tags."
Note:
Tag names and groups must have unique names throughout the project. The following naming conventions exist:
No key words (per C conventions) like float, type, main, void No special or connecting characters like @ + - / & " [ ] *{}.:<>;=\ No empty spaces There is no differentiation between upper case and lower case letters concerning the naming of tags.
10-1
Control Center
08.97
Within a Project, Tags Can Be Created and Managed at the Following Locations:
Within a connection, as independent tags Within a connection, as tags in a tag group Within the internal tags, as independent tags Within the internal tags, tags as tags in a tag group Within the project component "Data types," new tags in connections, tag groups, or as internal tags
Logical Connection
Channel
Within a Project, Tags Can be Cut, Copied, or Deleted in the Following Manner:
The procedure for cutting, copying, or deleting tags is the same for independent tags, tags within a group, and internal tags.
10-2
08.97
Control Center
1. In the project navigation window, double click on the "Tag Management" project component. This action provides a list of all of the installed communication drivers and internal tags. 2. Double click on the communication driver you want to view a list of all available channel units. 3. Double click on the desired channel unit to view a list of all available logical connections. 4. Select the desired logical connection and click the right mouse button. 5. In the pop-up menu that appears, select the "New Tag..." menu item. 6. This selection opens the "Tag Properties" dialog box in which you can create a new tag.
10-3
Control Center
08.97
1. In the project navigation window, double click on the "Tag Management" project component. This action provides a list of all of the installed communication drivers and internal tags. 2. Double click on the communication driver you want to view a list of all available channel units. 3. Double click on the desired channel unit to view a list of all available logical connections. 4. Double click on the desired logical connection to view a list of all available tag groups. 5. Select the desired tag group and click the right mouse button. 6. In the pop-up menu that then appears, select the "New Tag..." menu item. 7. This selection opens the "Tag Properties" dialog box in which you can create a new tag.
10-4
08.97
Control Center
10-5
Control Center
08.97
1. In the project navigation window, double click on the "Tag Management" project component. This action provides a list of all of the installed communication drivers and internal tags. 2. Click on the "Internal Tags" project component to view a list of all available tag groups. 3. Select a tag group and click the right mouse button. 4. In the pop-up menu that then appears, select the "New Tag..." menu item. 5. This selection opens the "Tag Properties" dialog box in which you can create a new tag.
How to Edit an Existing Internal Tag for the Entire Project within a Tag Group:
1. In the project navigation window, double click on the "Tag Management" project component. This action provides a list of all of the installed communication drivers and internal tags. 2. Click on the "Internal Tags" project component to view a list of all available tag groups. 3. Select a tag group and click the right mouse button. 4. In the pop-up menu that t hen appears, select the "Properties" menu item. or In the project data window, double click on the desired tag. 5. This selection opens the "Tag Properties" dialog box in which you can edit an existing tag.
10-6
08.97
Control Center
Limits/Reporting
Use the "OK" button to apply all of the settings you made, or use "Cancel" to reject those settings. Use the "Help" button to access the help system.
10-7
Control Center
08.97
Length
Address
The structure of this window depends on the data type and the selected channel-DLL. This field can be edited via the "Select button. This button opens the "Address Properties dialog window. You can set the precise address of the tag, in the subordinate PLC, in this dialog. You can convert the selected data type to another data type (for example, data type "Unsigned 8-Bit Value" adapt format to "CharToUnsignedByte"). The first format marks the data type in WinCC, the second format the data type in the PLC. If this option is selected, the value range of a process tag can be mapped to an internal value range, which allows you to scale the process tag. Set the process value range of the tags to be scaled by entering the minimum and maximum values. Set the value range in which the process tag will be mapped by entering the minimum and maximum values.
"Select Button
Adapt Format
Linear Scaling
10-8
08.97
Control Center
Note:
Since several editors internally do not work with the tag names but with the tag identifiers, a renaming of a tag would cause, for example, a loss of an already configured message assignment. If the renaming of a tag is unavoidable, the individual messages in "Alarm Logging should be exported before the renaming and be imported afterwards to link them to the tag again. If you change the data type of an already existing external tag, its defined address will be deleted. This action is justified by the fact that a data type change also changes the PLC address.
The "Internal Tag" is updated for the entire project. The "Internal Tag" is only updated in the local workstation. Data type of the tags. The selected data type also affects whether you can edit the "Limits/Reporting" tab or the "Adapt Format" and "Address Parameters" boxes in the "General Information" tab. You can change the length of the selected data type in this box. This box can only be edited for the "Text Tag ..." data type.
Length
10-9
Control Center
08.97
Low Limit
10-10
08.97
Control Center
Determine when the substitute value is used. When the value of the high limit is exceeded, the substitute value should be used. When the value falls below the low limit, the substitute value should be used. The substitute value is used as the start value, for example, when a connection is interrupted. When connection errors occur, the substitute value should be used. Determine at which event a report entry is generated. Tag value of the high limit is exceeded. Tag value falls below the low limit. An error occurs when converting the data type. For each application, report the write access to a tag. For each process, report the write access to a tag.
At Low Limit
As Start Value
For Connection Errors Generate Report Entry For Violation of High Limit Violation of Low Limit Conversion Error Write Access Applications Write Access Process
10-11
Control Center
08.97
10-12
08.97
Control Center
1. First, you must select the tags as described above. You can find the tags under the "Tag Management" project component. Within this node, the tags can be in groups, can be assigned to internal tags, or can be executed as independent tags. 2. Highlight the tags and click the right mouse button. 3. In the pop-up menu that then appears, select the "Cut," "Copy," or "Delete" menu item. If you want to paste one or more cut or copied tags: 4. Select the target area to which you want to copy the selected tags. 5. Click the right mouse button in the data window. 6. Select "Paste" in the pop-up menu that appears. 7. This action copies all of the selected tags to the target area. You must be aware of the following fact in this copy procedure:
Each of the copied tags receives a sequential number as is shown in the following examples.
The "BinVarS5TF" tag is renamed to "BinVarS5TF_1" after it is copied. The "BinVarS5TF_1" is renamed to "BinVarS5TF_2" after it is copied. The "BinVarS5TF_DB70" is renamed to "BinVarS5TF_DB71" after it is copied.
10-13
Control Center
08.97
If you want to delete one or more tags: 4. The "Delete nnn Object(s)" window appears if you select the "Delete" pop-up menu item. Click the "Yes" button in this window. The selected tags are deleted. (nnn is the number of selected objects). Note: If a tag is copied and pasted, configured tag assignments, like a message assignment, might not be copied.
This example shows you the tags before the copy procedure.
10-14
08.97
Control Center
Note:
If you change the data type of an already existing external tag, its defined address will be deleted. This action is justified by the fact that a data type change also changes the PLC address.
Data Types Binary Tag Signed 8-Bit Value Unsigned 8-Bit Value Signed 16-Bit Value Unsigned 16-Bit Value Signed 32-Bit Value Unsigned 32-Bit Value Floating-Point Number 32-Bit IEEE 754 Floating-Point Number 64-Bit IEEE 754 Text Tag 8-Bit Character Set Text Tag 16-Bit Character Set Raw Data Type Text Reference Structure Types
Format Adaptable No Yes Yes Yes Yes Yes Yes Yes Yes No No No No No
Note:
WinCC Manual C79000-G8276-C106-01
Control Center
08.97
Note:
You can adapt the format of this data type. Number Range -128 to +127 (no conversion) 0 to 127 0 to 127 0 to 127 -128 to +127 -128 to +127 -127 to +127 -127 to +127 -128 to +127 0 to 99 0 to 127 0 to 127 -9 to +9 -128 to +127 -128 to +127 -79 to +79 -128 to +127 -128 to +127 0 to 99 0 to 127 0 to 127 -9 to +9 -128 to +127 -128 to +127 0 to 99 0 to 127 0 to 127 -9 to +9 -128 to +127 -128 to +127
Adapt Format CharToSignedByte CharToUnsignedByte CharToUnsignedWord CharToUnsignedDword CharToSignedWord CharToSignedDword CharToMSBByte CharToMSBWord CharToMSBDword CharToBCDByte CharToBCDWord CharToBCDDword CharToSignedBCDByte CharToSignedBCDWord CharToSignedBCDDword CharToExtSignedBCDByte CharToExtSignedBCDWord CharToExtSignedBCDDword CharToAikenByte CharToAikenWord CharToAikenDword CharToSignedAikenByte CharToSignedAikenWord CharToSignedAikenDword CharToExcessByte CharToExcessWord CharToExcessDword CharToSignedExcessByte CharToSignedExcessWord CharToSignedExcessDword
10-16
08.97
Control Center
Adapt Format ByteToUnsignedByte ByteToUnsignedWord ByteToUnsignedDword ByteToSignedByte ByteToSignedWord ByteToSignedDword ByteToBCDByte ByteToBCDWord ByteToBCDDword ByteToAikenByte ByteToAikenWord ByteToAikenDword ByteToExcessByte ByteToExcessWord ByteToExcessDword
10-17
Control Center
08.97
Note:
You can adapt the format of this data type. Number Range -32768 to +32767 (no conversion) 0 to 255 0 to 32767 0 to 32767 -128 to +127 -32768 to +32767 -127 to +127 -32767 to +32767 -32768 to +32767 0 to 99 0 to 9999 0 to 32767 -9 to +9 -999 to +999 -32768 to +32767 -79 to +79 -7999 to +7999 -32768 to +32767 0 to 99 0 to 9999 0 to 32767 -9 to +9 -999 to +999 -32768 to +32767 0 to 99 0 to 9999 0 to 32767 -9 to +9 -999 to +999 -32768 to +32767
Adapt Format ShortToSignedWord ShortToUnsignedByte ShortToUnsignedWord ShortToUnsignedDword ShortToSignedByte ShortToSignedDword ShortToMSBByte ShortToMSBWord ShortToMSBDword ShortToBCDByte ShortToBCDWord ShortToBCDDword ShortToSignedBCDByte ShortToSignedBCDWord ShortToSignedBCDDword ShortToExtSignedBCDByte ShortToExtSignedBCDWord ShortToExtSignedBCDDword ShortToAikenByte ShortToAikenWord ShortToAikenDword ShortToSignedAikenByte ShortToSignedAikenWord ShortToSignedAikenDword ShortToExcessByte ShortToExcessWord ShortToExcessDword ShortToSignedExcessByte ShortToSignedExcessWord ShortToSignedExcessDword
10-18
08.97
Control Center
Note:
You can adapt the format of this data type. Number Range 0 to 65535 (no conversion) 0 to 255 0 to 65535 0 to 127 0 to 32767 0 to 65535 0 to 99 0 to 9999 0 to 65535 0 to 99 0 to 9999 0 to 65535 0 to 99 0 to 9999 0 to 65535 0 to 999
Adapt Format WordToUnsignedWord WordToUnsignedByte WordToUnsignedDword WordToSignedByte WordToSignedWord WordToSignedDword WordToBCDByte WordToBCDWord WordToBCDDword WordToAikenByte WordToAikenWord WordToAikenDword WordToExcessByte WordToExcessWord WordToExcessDword WordToS5Counter
10-19
Control Center
08.97
Note:
You can adapt the format of this data type. Number Range -2147483647 to +2147483647 (no conversion) 0 to 255 0 to 65535 0 to 2147483647 -128 to +127 -32768 to +32767 -127 to +127 -32767 to +32767 -2147483647 to +2147483647 0 to 99 0 to 9999 0 to 99999999 -9 to +9 -999 to +999 -9999999 to +9999999 -79 to +79 -7999 to +7999 -79999999 to +79999999 0 to 99 0 to 9999 0 to 99999999 -9 to +9 -999 to +999 -9999999 to +9999999 0 to 99 0 to 9999 0 to 99999999 -9 to +9 -999 to +999 -9999999 to +9999999 10...9990000
Adapt Format LongToSignedDword LongToUnsignedByte LongToUnsignedWord LongToUnsignedDword LongToSignedByte LongToSignedWord LongToMSBByte LongToMSBWord LongToMSBDword LongToBCDByte LongToBCDWord LongToBCDDword LongToSignedBCDByte LongToSignedBCDWord LongToSignedBCDDword LongToExtSignedBCDByte LongToExtSignedBCDWord LongToExtSignedBCDDword LongToAikenByte LongToAikenWord LongToAikenDword LongToSignedAikenByte LongToSignedAikenWord LongToSignedAikenDword LongToExcessByte LongToExcessWord LongToExcessDword LongToSignedExcessByte LongToSignedExcessWord LongToSignedExcessDword LongToS5Timer
10-20
08.97
Control Center
Note:
You can adapt the format of this data type. Number Range 0 to 4294967295 (no conversion) 0 to 255 0 to 65535 0 to 127 0 to 32767 0 to 2147483647 0 to 99 0 to 9999 0 to 99999999 0 to 99 0 to 9999 0 to 99999999 0 to 99 0 to 9999 0 to 99999999 10 to 9990000
Adapt Format DwordToUnsignedDword DwordToUnsignedByte DwordToUnsignedWord DwordToSignedByte DwordToSignedWord DwordToSignedDword DwordToBCDByte DwordToBCDWord DwordToBCDDword DwordToAikenByte DwordToAikenWord DwordToAikenDword DwordToExcessByte DwordToExcessWord DwordToExcessDword DwordToS5Timer
10-21
Control Center
08.97
Note:
For every "Float ToDword" format adaptation, only the first seven places are considered. The Float data type only allows seven places. When you use an S7 connection the number range for the "Float To Float" adapt format is +-3.402823e+38. Number Range +-3.402823e+38 (no conversion) 0 to 255 0 to 65535 0 to 4.294967e+09 -128 to +127 -32768 to +32767 -2.147483e+09 to +2.147483e+09 +-3.402823e+38 -127 to +127 -32767 to +32767 -2.147483e+09 to +2.147483e+09 0 to 99 0 to 9999 0 to 9.999999e+07 -9 to +9 -999 to +999 -9999999 to +9999999 -79 to +79 -7999 to +7999 -7.999999e+07 to +7.999999e+07 0 to 99 0 to 9999 0 to 9.999999e+-07 -9 to +9 -999 to +999 -9999999 to +9999999 0 to 99 0 to 9999 0 to 9.999999e+07 -9 to +9 -999 to +999 -9999999 to +9999999 10 to 9990000 +-1.701411e+38
Adapt Format FloatToFloat FloatToUnsignedByte FloatToUnsignedWord FloatToUnsignedDword FloatToSignedByte FloatToSignedWord FloatToSignedDword FloatToDouble FloatToMSBByte FloatToMSBWord FloatToMSBDword FloatToBCDByte FloatToBCDWord FloatToBCDDword FloatToSignedBCDByte FloatToSignedBCDWord FloatToSignedBCDDword FloatToExtSignedBCDByte FloatToExtSignedBCDWord FloatToExtSignedBCDDword FloatToAikenByte FloatToAikenWord FloatToAikenDword FloatToSignedAikenByte FloatToSignedAikenWord FloatToSignedAikenDword FloatToExcessByte FloatToExcessWord FloatToExcessDword FloatToSignedExcessByte FloatToSignedExcessWord FloatToSignedExcessDword FloatToS5Timer FloatToS5Float
10-22
08.97
Control Center
Note:
With the "Double to Float" format adaptation, only the first seven places are considered. The float data type only allows seven places. Number Range +-1.79769313486231e+308 (no conversion) 0 to 255 0 to 65535 0 to 4294967295 -128 to +127 -32768 to +32767 -2147483647 to +2147483647 +-3.402823e+38 -127 to +127 -32767 to +32767 -2147483647 to +2147483647 0 to 99 0 to 9999 0 to 99999999 -9 to +9 -999 to +999 -9999999 to +9999999 -79 to +79 -7999 to +7999 -79999999 to +79999999 0 to 99 0 to 9999 0 to 99999999 -9 to +9 -999 to +999 -9999999 to +9999999 0 to 99 0 to 9999 0 to 99999999 -9 to +9 -999 to +999 -9999999 to +9999999 10 to 9990000 +-1.701411e+38
Adapt Format DoubleToDouble DoubleToUnsignedByte DoubleToUnsignedWord DoubleToUnsignedDword DoubleToSignedByte DoubleToSignedWord DoubleToSignedDword DoubleToFloat DoubleToMSBByte DoubleToMSBWord DoubleToMSBDword DoubleToBCDByte DoubleToBCDWord DoubleToBCDDword DoubleToSignedBCDByte DoubleToSignedBCDWord DoubleToSignedBCDDword DoubleToExtSignedBCDByte DoubleToExtSignedBCDWord DoubleToExtSignedBCDDword DoubleToAikenByte DoubleToAikenWord DoubleToAikenDword DoubleToSignedAikenByte DoubleToSignedAikenWord DoubleToSignedAikenDword DoubleToExcessByte DoubleToExcessWord DoubleToExcessDword DoubleToSignedExcessByte DoubleToSignedExcessWord DoubleToSignedExcessDword DoubleToS5Timer DoubleToS5Float
10-23
Control Center
08.97
Note:
Note:
Note:
10-24
08.97
Control Center
10-25
Control Center
08.97
Note:
You cannot adapt the format of this data type. You can only adapt the format of individual data types within the data structure. You can only edit an existing data structure if you have not configured any tags with the data type. If you want to change an existing data structure, you must first delete the configured tags. The "Structure Properties" dialog window notifies you of the presence of a configured instance (tag) by means of the following text in the window title bar: "(Instances Still Present! Read Only)."
This examples shows you the structure of the "NewStructure" data structure.
10-26
08.97
Control Center
Structure and Editing Possibilities within the "Structure Properties" Dialog Window:
The dialog window consists of a tab ("General Information") that is divided into the following three areas: OS (Operator Station): The data structure is created in this area. You can connect a new data structure to the supported formats of a unit via the listbox "Use Formats from Unit. If you select a unit, the "Adapt Format listbox will only display formats supported by the selected unit. Each entry within the data structure can be adapted to either an external or an internal tag. If you activate the "External Tag" check box, you can undertake a special format adaptation if necessary. To adapt
the format of an existing data type, use the button and select the new data type from the list box. You cannot adapt the format of an "Internal Tag." The beginning of this area contains the name of the data structure. The default name is "NewStructure." You can also change this name by selecting the "NewStructure" box and opening the pop-up menu. Select the "Rename" menu item from the pop-up menu and edit the name of the structure.
If you want to add a new data type to the data structure, use the "New" button. You can add a new data type to the existing data structure in the two following ways: Select the name of the data structure and use the "New" button to connect the "SHORT NewTag" data type as a default.
or
Within the existing data structure, select the data type of which you want to create an additional entry and use the "New" button to connect the data type of the selected entry. If you use this means to create a new data type, beware of the following: Not only the data type of the selected entry is transferred, but also the "external/internal tag" setting. To delete an entry in this data structure, select the entry and use the "Delete" button.
WinCC Manual C79000-G8276-C106-01
10-27
Control Center
08.97
1. 2.
Select the structure element you want to change. Open the pop-up menu and select the new data type. The following data types are listed in the pop-up menu as a default: BIT CHAR BYTE SHORT WORD LONG DWORD FLOAT DOUBLE TEXT8 TEXT16 TEXTREF (only for internal tags)
PLC:
If you activated "External Tag" within the OS area for a structure element, you can use the "Offset" input box to enter the required offset value for the database. The "Length" of the selected data type is also displayed in this area of the window. You can only edit this value if you selected the "TEXT8" or "TEXT16" data type.
Linear Scaling Linear scaling maps the value range of the process tag to an internal value range. The input fields " Process Value Range From/To and "Value Range of Tag From/To set the value ranges. The linear scaling check-box is only enabled for external tags.
10-28
08.97
Control Center
10-29
Control Center
08.97
10-30
08.97
Control Center
Note:
A tag of this type cannot be displayed in the "Graphics Designer." Raw data tags are only used in the following applications in the WinCC system: "Alarm Logging," "Tag Logging," and "Global Scripts."
Event processing Archive data connection Sending/receiving a data block Transparent communication
A message system usually sends a message for an "RDT_EVENT" raw data type. Process data acquisition accesses tags of the "RDT_ARCHIV" and "RDT_BSEND" types. The "RDT_S7PDU" raw data type is planned for independent use. This way, S7 PDUs that cannot be edited with the channel DLL or the S7 PMC DLL (for example, Object Management System (OMS) and Test and Startup (TIS) functions), can be edited with an (external) WinCC application. The channel DLL selects received S7 Protocol Data Units (PDUs) by means of the PDU header and transmits the corresponding PDUs to the corresponding raw data tags. The WinCC application transmits the raw data tag to a conversion DLL independent of the channel type and raw data type. In an S7 channel, the "RDT_EVENT" and "RDT_ARCHIV" raw data types are transmitted to the S7 Process Monitoring Control (PMC) DLL. Terminology: PDU PMC OMS TIS Protocol Data Unit Process Monitoring Control Object Management System Test and Startup
10-31
Control Center
08.97
Each external tag has a channel-specific address description of the source of the process value. The type of address description depends on the type of the remote PLC of the channel unit. External tags are linked to a logical connection. In order to mirror the address information of the different PLC systems, external tags consist of a general section which contains information like name, type, and limit values, and a connection-specific section, whose interpretation is the responsibility of the logical connection.
10-32
08.97
Control Center
4. If the tag you want to edit is an independent tag or is located in a tag group, you must proceed as follows:
If the tag you want to edit is in a tag group: a. Double click on the desired logical connection in the project navigation window to view a list of all available tag groups and independent tags. b. Click on the desired tag group.
5. In the data window, select the desired tag and click the right mouse button. 6. In the pop-up menu that then appears, select the " Addressing..." menu item. 7. This selection opens the "Address Properties" dialog box in which you can address the process tag.
If the tag you want to edit is in a tag group: a. Double click on the desired logical connection in the project navigation window to view a list of all available tag groups and independent tags. b. Click on the desired tag group.
10-33
Control Center
08.97
5. In the data window, select the desired tag and click the right mouse button. 6. In the pop-up menu that then appears, select the " Properties" menu item. 7. This selection opens the "Tag Properties" dialog box. 8. In the "Tag Properties" dialog box, click the "Select" button. 9. This action opens the "Address Properties" dialog box in which you can address the process tags.
10-34
08.97
Control Center
You can find additional information about this dialog window in the Channel DLL, Communication Driver manual.
Data Area
Addressing
10-35
Control Center
08.97
This area (see the "Address Properties" figure below) is used only by "Raw Data Type" tags. Additional boxes are located in this area. You can specify the block length of the raw data as well as the type of raw data.
In this box, you can enter the start address of the tags. This number value corresponds to the offset to the data base within the RAM. To the left of this box, the data area and possibly the type of addressing are identified with one or two letters.
In this example, "DL" is made up of the "DB" (data block) data range and the "Left Byte" addressing. The first letters from the "Data Area" and "Addressing" boxes are used as the identifiers. The "Bit" addressing is an exception. If this type of addressing is set, only one letter is displayed, the one from the "Data Area" box.
In this example, "D" is taken from the "DB" (data block) data area. Pay attention to the following: you must enter the word address in the "D" box.
The "Bit" box is only visible when the "Bit" addressing is selected. You can enter a number between 0 and 15 in this box. The number range depends on the selected data range (for example 0 to 7 or 0 to 15).
10-36
08.97
Control Center
You can enter the data block number in this box. The "DB No." box is only visible when you are dealing with a data block (data area DB or DX). For an S5 communication driver, you can choose from a number range from 0 to 255. For an S7 communication driver, you can choose from a number range of 0 to 65535.
This picture shows you the standard structure of the "Address Properties" dialog box.
This picture shows you the additional boxes in the lower area of the "Address Properties" dialog box for the "SIMATIC S7 Protocol Suite" communication driver.
10-37
Control Center
08.97
This picture shows you the additional boxes in the lower area of the "Address Properties" dialog box for the "SIMATIC S5 Ethernet TF" communication driver.
Length
Raw Data Type Send/Receive Block This option button is displayed for the S5 and S7 communication drivers. With an S5, this box is active as a default. The process data acquisition uses this raw data type as a rule. This option button is only displayed for an S7 communication driver. If you activate this button, all of the boxes in the "Address Description" area become inactive and are displayed in gray. A message system uses this raw data type as a rule. This option button is only displayed for an S7 communication driver. If you activate this button, all of the boxes in the "Address Description" area become inactive and are displayed in gray. The process data acquisition uses this raw data type as a rule.
Event
10-38
08.97
Control Center
10-39
Control Center
08.97
10-40
08.97
Control Center
11 Tag Group
11.1 General Information About a Tag Group
What Is a Logical Tag Group?
A logical connection describes the interface between the automation system and the data manager. Each tag group is assigned to a channel unit. A channel unit can contain multiple tag groups.
Note:
The name of the tag group must be unique in the entire project. If this requirement is not fulfilled, a window appears with the name of the tag group that was already assigned in the project.
6. In the "General Information" tab, enter the name of the logical connection in the "Name" box.
11-1
Control Center
08.97
8. Click the "New" button. This selection opens the "Tag Group Properties" dialog box in which you can create the new tag group.
11-2
08.97
Control Center
1. In the project navigation window, double click on the "Tag Management" project component. This action provides a list of all of the installed communication drivers and internal tags. 2. Double click on the desired communication driver to view a list of all available channel units. 3. Double click on the desired channel unit to view a list of all available logical connections. 4. Select the desired logical connection in the project navigation window. The data window then displays all the configured tags and tag groups. 5. Highlight the tag groups and c lick the right mouse button. Note: You can highlight tag groups using either of the two procedures described below.
How to Select Multiple Tag Groups in a List: 1. Highlight the first tag group. 2. Click the left mouse button. 3. Press the <Ctrl> key and hold it down. 4. Then select the next tag groups you want to highlight and click on each one with the left mouse button. 5. When all of the tag groups you want to select are highlighted, release the <Ctrl> key. How to Select a Block of Contiguous Tag Groups in a List: 1. Highlight the first tag group. 2. Click the left mouse button. 3. Press the <Shift> key and hold it down. 4. Then select the last tag group in the list you want to highlight and click the left mouse button. Release the <Shift> key. 5. All of the tag groups between the selected tag groups are highlighted. 6. In the pop-up menu that then appears, select the "Cut," "Copy," or "Delete" menu item.
11-3
Control Center
08.97
If you want to paste one more cut or copied tag groups: 6. Select the target area to which you want to copy the selected tag groups. 7. Click the right mouse button in the data window. 8. Select "Paste" in the pop-up menu that appears. 9. This action copies all of the selected tag groups to the target area. You must be aware of the following in this copy procedure: Each of the copied tag groups and their tags receive a sequential number as is shown in the following examples:
The "BinVarGroupS5TF" tag group is renamed "BinVarGroupS5TF_1" after it is copied. The "BinVarGroupS5TF_1" tag group is renamed "BinVarGroupS5TF_2" after it is copied. The "BinVarS5TF" tag that may be located in a tag group is renamed "BinVarS5TF_1" after it is copied. The "BinVarS5TF_1" tag that may be located in a tag group is renamed "BinVarS5TF_2" after it is copied. The "BinVarS5TF_DB70" tag that may be located in a tag group is renamed "BinVarS5TF_DB71" after it is copied.
If you want to delete one or more tags: 6. In the following dialog window "Delete nnn Object(s)," click the "Yes" button. The selected tag groups with the tags contained in them are deleted (nnn is the number of selected objects).
11-4
08.97
Control Center
The dialog box contains one or two tabs with the following contents: Tab General Information Contents You can create a new tag group or edit the name of an existing tag group in the " General Information" tab. You can delete a tag or create a new tag in the "Tag" tab.
Tag
This example shows you the Title Bar of the dialog box when you are creating a new tag group (standard group name is " NewGroup").
This example shows you the Title Bar of the dialog box when you are editing an existing tag group (current group name: " Machine").
11-5
Control Center
08.97
Number of Tags
This example shows the dialog box when you are creating a new tag group (standard group name " New Group"). Use the "OK" button to apply all of the settings you made, or use "Cancel" to reject those settings. Use the "Help" button to access the help system.
In this example, the WinCC system has determined that the name " Milch" was already assigned to another tag group.
The individual buttons mean the following:
Button Yes No
Explanation Click this button to have the WinCC system create a unique name. Click this button to exit the dialog box without creating a new tag group.
11-6
08.97
Control Center
This examples shows you all of the tags in the current tag group " Maschine"
11-7
Control Center
08.97
11-8
08.97
Control Center
Global Scripts
12-1
Control Center
08.97
How To...
Edit the properties of the "User Administrator."
12-2
08.97
Control Center
12-3
Control Center
08.97
This picture shows you the languages installed as defaults (German and English) in the Text Library.
Use the "Properties of a Computer" dialog to determine which of the configured languages should be used in RUNTIME mode.
Its own on-line help
12-4
08.97
Control Center
Note:
In the data window in the Control Center, the system layouts and system print jobs of the Report Designer are identified with the "@" symbol. The system layouts and system print jobs can be edited.
There are three sub-items in the project navigation window for the Report Designer:
12-5
Control Center
08.97
The individual selection boxes have the following meaning: Selection Box Display Status Dialog Explanation If you deactivate this selection box, the second selection box ("Display Print To Dialog") is also deactivated. If you activate this selection box, the "PrintIt" status dialog is displayed. This selection box is only available if the first selection box ("Display Status Dialog") was activated.
How to Set the Behavior of the Report Designer during an Error in RUNTIME Mode:
1. In the project navigation window, double click on the "Editor" project component to view a list of all of the installed editors. 2. Click the right mouse button on the "Report Designer" editor. 3. In the pop-up menu that appears, select the "Properties" menu item. 4. The "Properties" dialog box opens and you can make the desired settings.
12-6
08.97
Control Center
This picture shows you the structure of the "Report Designer" in the project navigation window. The following topics describe the general work sequence for editing a report layout.
How To:
Create a new layout Open an existing layout Rename an existing layout Delete an existing layout View the properties of a layout
12-7
Control Center
08.97
12-8
08.97
Control Center
12-9
Control Center
08.97
12-10
08.97
Control Center
This example shows you the "Page Layout" properties dialog box. The dialog box for a "Line Layout" has an identical structure.
12-11
Control Center
08.97
This example shows you the identifiers for several print jobs in the data window.
How To:
Create a new print job Delete an existing print job Activate the print preview for a print job Print out an existing print job Edit the properties of a print job Rename an existing print job
12-12
08.97
Control Center
12-13
Control Center
08.97
12-14
08.97
Control Center
This example shows you the "PrintIt" dialog box in which you can view the status of the print job.
12-15
Control Center
08.97
12.4.3.5 Editing the Properties of an Existing Print Job in the Report Designer
The following steps are necessary for editing the properties of an existing print job.
12-16
08.97
Control Center
12-17
Control Center
08.97
Project
Layout
12-18
08.97
Control Center
Last Printout On
The date of the last printout of this print job is displayed here. You cannot edit this box. It is only used to describe the print job status. The date of the next printout of this print job is displayed here. You cannot edit this box. It is only used to describe the print job status.
Next Printout On
Start Parameter Start Time Cycle Set the start time and date of the print job. You can set the cyclic startup of the print job here. You must first have set the start time and date of the print job. The following cycle ranges are available for selection: <NONE> Hourly Daily Weekly Monthly Set the trigger of the print job dependent on an event.
Event
12-19
Control Center
08.97
Note:
You see this icon in the Control Center data window when you activate "Start Time."
You see this icon in the Control Center data window when you activate "Start Time" and "Cycle."
12-20
08.97
Control Center
Number
12-21
Control Center
08.97
Absolute
Click on this option button to define an absolute time range going back from the print start time. Set the time range and date for the print job.
12-22
08.97
Control Center
Printer Priorities 1.) Enter the first printer here. The system always attempts to access this printer. If this printer is not ready, the second printer provided is activated. Note: If you activated the "Line Layout for Line Printer" selection box in the "Print Job" tab, you can enter the desired parallel interface in this box (for example, LPT1). Boxes 2 and 3 within the printer priorities are deactivated. Enter the second printer here. The system always attempts to access this printer if the first printer is not ready. If this printer is not ready either, the third printer provided is activated. Enter the third printer here. The system always attempts to access this printer if the first and second printers are not ready. If you click on this check box to activate it, the print jobs which occur are sent to a file. In the "Archive" box, enter the name of the path on which the file is to be loaded. The name of the path is constructed as follows: from the project path (like C:\VFSWinCC\PRT\") as well as <Archive> + <YYYYMMDDHHMM> (JJJJ = Year, MM = Month, DD = Day, HH = Hour, MM = Minute).
2.)
3.)
File (*.emf)
12-23
Control Center
08.97
Note:
If you load, for example, the "Archive" box with "Pdata,, WinCC will load the following path structure within the project directory for the print job. You would find one or more files named "Page<nnn>.emf" (<nnn> being sequential numbers) in this folder. If you do not make any entries in the "Archive" box, WinCC loads the path <YYYYMMDDHHMM>. You cannot enter a back slash (\) in the "Archive" box to set additional subpaths.
Note:
If the printer malfunctions during a cyclic report, WinCC might halt. Solution: Deactivate the setting "Store Print Jobs in Clipboard in Windows (e.g. in "Win95\Control Panel\ Printer\Details\Connection Settings).
12-24
08.97
Control Center
1. In the project navigation window, double click on the "Editor" project component to view a list of all of the installed editors. 2. Click the right mouse button on "Global Scripts." 3. In the pop-up menu that appears, select the "Open" menu item. 4. "Global Scripts" starts and you can view or edit the configured scripts.
12-25
Control Center
08.97
The following describes the sequence for editing a picture or the available graphic objects.
12-26
08.97
Control Center
How To:
Load a new picture Open an existing picture View the properties of an existing picture Edit the properties of the "Graphics Run Time" Link new objects to the "Graphics Designer" Convert pictures or libraries
12-27
Control Center
08.97
12-28
08.97
Control Center
12-29
Control Center
08.97
Selected GraphicOLLs
All of the OLLs that are already linked to the "Graphics Designer" are listed in this area . If you select an OLL in this area and click the "Preview" button, all of the objects of the selected OLL are displayed in area .
12-30
08.97
Control Center
Use these buttons to shift individual OLLs from one area to another.
Use these buttons to shift all of the OLLs in one area to another area. "Have Disk" Use this button to link additional OLL files. These files can be on a diskette, hard disk, or network. In this dialog, use the "Browse" button to access the "Graphic OLL" dialog box in which you can search for the required OLL files.
Use the "OK" button to apply all the settings you made, or use the "Cancel" button to reject those settings.
This picture shows you the standard structure of the "Object OLL" dialog box.
12-31
Control Center
08.97
Note:
In Graphics Designer, use the "View" "Library" menu items to edit your current libraries.
12-32
08.97
Control Center
13 DDE-Server
13.1 General Information about the DDE-Server
General Information about the DDE-Server:
The WinCC DDE-server is an independent application for WinCC. It requires WinCC to be in runtime in order to assign the configured tags of a WinCC project to any DDE-clients. The DDE-server is only required for the data exchange through the network.
Description
The DDE-server can be deactivated via this check-box. If the server is deactivated, no new connections can be established to the DDE-server, additionally, no data transfer will take place on the existing connections. The writing of the tags can be locked via this check-box.
If WinCC runtime has been activated, the tag selection dialog of the Control Center can be called up via this button. All the configured tags are listed within the " Select Tag" dialog. The DDE-address of the selected tag will be copied into the clipboard in a DDE-link format. This address can then, for example, be inserted directly into Excel as a link. Note: This button is only enabled, if WinCC runtime has been activated.
13-1
Control Center
08.97
Both methods require the program " DDEServ.exe" to be added to the WinCC computer start-up list with the parameters " /v /nohold /noconfirm". Note: The parameters "/nohold /noconfirm" have the following meaning: If WinCC is exited, the DDE-server will be deactivated without requiring acknowledgment by the user. The parameter "/v" opens the "WinCC DDE-Server" dialog window. Note the correct entry of these parameters. A blank character (space) must be inserted between the parameters.
or
as a multi-user system on a server computer.
13-2
08.97
Control Center
Change to the DDE-server. Display the tag list of the current WinCC project by clicking on the "Tag List button. A tag can be selected from this dialog and be copied into the clipboard, as the DDE-reference, by clicking on the "OK" button.
Activate the Excel program. Select the cell, in which you want to display the value of the WinCC tag. Enter an equal sign = in the Excel formula bar. Copy the DDE-reference into the formula bar via the < Ctrl > + < V > key combination. Hit the return key to accept the value of the WinCC tag into the Excel cell.
This example displays an Excel table. The value of the WinCC tag DDEVar1, which is contained in the Test2.mcp project, will be displayed in cell A1.
13-3
Control Center
08.97
It is important to know under which operating system (Windows 95 or Windows NT 4.0) the client and the server operate. Additionally, note if WinCC is running as a single- or multi-user system on the server. To access a WinCC tag, follow these steps:
The program "NetDDE.exe" must be started on both the client and the server. Windows 95: Under Windows 95, the program "NetDDE.exe" must be included in the start-up folder. The " NetDDE.exe" program is located in the path, in which Windows 95 has been installed (e.g. " C:\WIN95" or "C:\WINDOWS"). Windows NT 4.0: Method 1: Include the program "NetDDE.exe" in the start-up folder. The "NetDDE.exe" program is located in the path, in which Windows NT 4.0 has been installed (e.g. " C:\WINNT\SYSTEM32"). Method 2: Under Windows NT 4.x, the NetDDE has been integrated as a system service and been set with the start type Manual. The start type Manual has the following effect: The system service will only be started, if a corresponding request is made by a program (e.g. WinCC). If the server uses Windows NT 4.0 and WinCC has been installed as a multi-user system, it is not required to change the default start type (Manual) of the system service.
If a WinCC multi-user system is run on a Windows NT computer, the NetDDE system service will automatically be started once runtime is activated. If a WinCC single-user system is run on a Windows NT computer, the NetDDE system service will not automatically be started once runtime is activated. To activate this system service, double click on Services in the control panel. The Services dialog will be displayed. Select the NetworkDDE-Service entry from the dialog and click on the Start button. Windows NT will then attempt to start the system service.
13-4
08.97
Control Center
The following values must be entered: in the "Share Name" entry field enter "PROJECT", in the "Application Name" entry field enter "WINCC", and in the "Topic Name" entry field enter "project".
13-5
Control Center
08.97
The following values must be entered in the DDE-Share Properties dialog window: In the "Share Name entry field enter "PROJECT", in the "Static" entry field under "Application Name" enter "WINCC", and in the "Static" entry field under "Topic Name" enter "project".
13-6
08.97
Control Center
13-7
Control Center
08.97
The ComputerName entry must be replaced by a valid computer name (e.g. \\WINCC_SERVER). Note that the \\ComputerName\ndde$ entry must be enclosed by single quotation marks.
This example displays an Excel table. The value of the WinCC tag DDEVar1, which is contained on the computer \\DIS_BULST project, will be displayed in cell A1.
13-8
08.97
Control Center
Note:
The "Excel" entry under Application is required. This entry sets the name of the required application. The entries under Topic have the following meaning: The complete name of the desired Excel file must be entered within the square brackets. Immediately following the file name, the "Table1" entry, where the value 1 can be replaced by any other number, must be entered. The Table1 entry determines the memory location within an Excel book.
Within the connection (e.g. " EXCEL_1") a new tag must be created (e.g. "dde_bool1" of the data type "Binary Tag"). While creating the tag, activate the Select button in the General Information tab. The "Address Properties" dialog window will be displayed. Select the "DDETag" tab and enter the position values (Excel manages all values via rows, which in turn are divided into rows and columns) for the Excel table in the "Tag Name" field (e.g. "z1s1", this means z1=row 1 and s1=column 1 within the table). Determine the required data type via the " Data Type" field. Open Excel and create a blank workbook which must be saved under the name (e.g. "dde.xls") entered within the square brackets of the Topic field of the Connection Properties dialog of the DDE-Connection.
Note:
If you created the file "dde.xls" in Excel via the Save As command, you can continue to work in Excel and read in the WinCC tag values.
To have Excel automatically open the required workbook (e.g. "dde.xls") while WinCC runtime is activated, make the following settings in the computer start-up list:
Switch to the WinCC Control Center and select the required computer under the Computer project component. Activate the Computer Properties dialog window via the context menu entry "Properties"
13-9
Control Center
08.97
Switch to the "Start-Up" tab and click on the "Add" button to display the "Add Application" dialog. In the "Application" field, enter the complete program path and name of Microsoft Excel or the corresponding link (e.g. "C:\MSOffice\Excel\EXCEL.EXE "). In the "Parameter" field, the complete program path and name of the Excel workbook must be entered (e.g. "D:\Project\DDEFolder\dde.xls"). Note: If you activate Excel and the workbook via the computer start-up tab, note the following: If the workbook (e.g. "dde.xls") is loaded, the data contained in the workbook will be transferred to the WinCC runtime system and be processed. Additionally, note that before activating runtime, the Excel workbook (e.g. "dde.xls") should not be open, otherwise the workbook would be opened write-protected.
This example shows the interaction of Excel, the WinCC Control Center, and the WinCC Runtime System.
13-10
08.97
Control Center
1. In the project window, click the right mouse button on a list or an object, or click on an empty space in the data window. 2. In the context menu that then appears, click on the "Find" menu item.
3. In the window that then appears, you can enter your search conditions in one of several tabs. Tab Name Date of Change Explanation Enter the term you want to find. Enter the date of change to further limit the search conditions for the objects. You can limit the search conditions even further in this tab.
Additional Options
14-1
Control Center
08.97
4. If you have entered the term you want to find, click the "Start," or "New Search" button. This selection activates the find function.
1. Click on the "Find What?" box and enter the name of the object that you want to find.
In this example, the system is searching for the " NewTag" object. button and select the name of the object you want to find. 2. Click on the The names displayed are only available at run time in the Control Center.
In this example, the system has already searched for the " NewTag" and "*.RPL" objects. 3. Once you have entered the name, click the "Start" or "New Search" button to activate the find function.
14-2
08.97
Control Center
option button.
3. Once you have entered the name of the object you are searching for, click the "Start" or "New Search" button to activate the find function.
14-3
Control Center
08.97
How to Use the "Date of Change" Tab to Find All Objects That Were Created or Changed:
1. Click on the "Date of Change" tab. 2. Click on the "All objects that were created or changed" option button. 3. You can search in one of the following three time frames:
Between Within the last month(s) Within the last day(s)
How to Use the "Date of Change" Tab to Find an Object that was Created or Changed Within a Specific Time Frame:
1. Click on the "Date of Change" tab. 2. Click on the "Between" option button. 3. You can now enter a time frame in which to search.
4. Once you have entered the name of the object you want to find, click the "Start" or "New Search" button to activate the find function.
How to Use the "Date of Change" Tab to Find an Object That Was Created or Changed Within the Last Month(s):
1. Click on the "Date of Change" tab. 2. Click on the "Within the last month(s)" option button. 3. You can enter a value between 1 and 12 manually or with the buttons.
4. Once you have entered the name of the object you want to find, click the "Start" or "New Search" button to activate the find function. 14-4
08.97
Control Center
How to Use the "Date of Change" Tab to Find an Object That Was Created or Changed Within the Last Day(s):
1. Click on the "Date of Change" tab. 2. Click on the "Within the last day(s)" option button. 3. You can enter a value between 1 and 99 manually or with the buttons.
4. Once you have entered the name of the object you want to find, click the "Start" or "New Search" button to activate the find function.
3. You can enter a parameter value for the selected type in the "Parameter Text" box. This parameter value limits the search even more. 4. Once you have entered the name of the object you want to find, click the "Start" or "New Search" button to activate the find function.
14-5
Control Center
08.97
3. If you want to activate one of the objects found, you can double click on the appropriate object or use the right mouse button to open the pop-up menu and click the "Go To" button to select the object you choose in the project navigation window. 4. If you want to stop the search process, click on the "Stop" button.
14-6
08.97
Control Center
2. You can change the search conditions that you set and start a new search process.
14-7
Control Center
08.97
14-8
08.97
Control Center
15 Appendix
15.1 Adapting the Formats of Data Types
In WinCC, you can convert certain data types to other data types by adapting the formats. You can find an explanation of the individual target data types in the corresponding technical literature.
15.2 Terms/Abbreviations
API C Application Programming Interface Higher programming language that was developed as a system development language (for example, for the UNIX operating system) and also as a universal programming language Central European Daylight Saving Time Central European Time PC plug in for connecting a PLC to the system bus Time signal transm itter in Frankfurt/Mainflingen, Germany. Provides the exact official time of the Federal Republic of Germany with a maximum deviation of 1 s in 1 million years. Dynamic Data Exchange Dynamic Link Library Drive letter of a storage medium (for example, "C" or "D" for a hard disk) Daylight Saving Time Global Positioning System - Satellite system which determines precise position on the earth. Individual GPS satellites circle the earth at an approximate height of 20,000 km on different paths. Each satellite contains a very precise atomic clock (precision of a minimum of 1 x 10-12). The data transmitted by the satellites are used to calculate the time. Local Area Network Microsoft Foundation Classes Man-Machine Interface Open Database Connectivity WinCC Open Developers Kit (optional description of the programming interface)
15-1
Control Center
08.97
OLE OLX OMS OS PDU PLC PMC RS232 RT RTC SQL ST Thread TIS UTC Wizard
Object Linking and Embedding OLE Custom Controls Object Management System Operator Station Protocol Data Unit Programmable Logic Controller Process Monitoring Control Serial interface Run Time Real-Time Clock (battery backed CMOS clock chip in the PC) Structured Query Language, Data manipulation language for relational databases Standard Time A thread is a sub-function of a program that handles a very specific task. Test and Startup International time scale ( Universal Time Coordinated) Auxiliary program for handling complex tasks (Assistant)
15-2
08.97
Control Center
Index
Create new project 2-1; 2-2
@
@Feedback Documentation Control Center See Feedback Documentation
D
Data Window See WinCC Project DDE-Server Dialog Field Lock writing 13-1 Dialog Field Server ready 13-1 Dialog Field Tag List 13-1 Dialog Window 13-1 General Information about the DDE-Server 13-1 Integrating tags 13-2 MS-Excel-Workbook 13-9 NetDDE.exe 13-4 Operating the DDE-Server 13-1
A
Alarm Logging See Editors in the Control Center aplip See Client-Server Functionality Automatic project start 2-4
C
Channel-DLL See Communication Driver Channels See Communication Driver Channel-Unit See Channel-Unit Pop-up menu 8-1 Properties 8-5 Tab Connections 8-5 Tab General Information 8-6 SINEC-L2 8-1 System parameters 8-2; 8-3 CHN See Communication Driver Client-Server Functionality 1-6 Client-Server-List 6-1; 6-3 Communication Driver Channel-Unit 8-1 Connect to project 7-3 Delete from a project 7-3 File extension *.CHN 7-3 Installation 7-1 Logical connection 8-1 Pop-up menu 7-1 Properties 7-2 Within WinCC 7-1 Computer See Project Component Computerr Computer Name 6-1; 6-2 Computer Type 6-1; 6-2 Connection See Connection Create logical connection 9-1 Logical Connection 9-1 Properties 9-1 Tab Connection 9-4 Tab General Information 9-2 Tab Groups 9-3 Tab Tag 9-4 CP5412 See terms / abbreviations
WinCC Manual C79000-G8276-C106-01
E
Editors in the Control Center 12-1 Alarm Logging 12-2; 12-4 Global Scripts 12-25 Graphics Designer 12-26 Converting Pictures/Libraries 12-32 Create new picture 12-27 Linking new objects (OLL) 12-29 Open picture 12-27 Properties (Picture) 12-28 Properties (Runtime) 12-28 Report Designer 12-5 Create Print Job 12-12 Delete layout 12-10 Delete Print Job 12-13 Layout Properties 12-11 Layouts 12-7 New layout 12-8 Open layout 12-9 Preview Print Job 12-13 Print Job Properties 12-16; 12-17; 12-18; 12-21; 12-23 Print Jobs 12-12 Print Print Job 12-15 Properties 12-6 Renaming layout 12-10 Renaming Print Job 12-17 Tag Logging 12-26 Text Library 12-4 User Administrator 12-2 Properties 12-3 End project 2-6 Index-1
Control Center
08.97
F
Feedback Documentation... Print 1-13 View 1-13 Find Function (Pop-Up Menu) edit 14-1 Tab Additional Options 14-6 Tab Date of Change 14-3 Tab Name 14-2 Start Search 14-7 Stop Search 14-8
P
Preemtive Multi-Tasking 1-2 Printfeedback documentation 2-5 Process control (runtime) 2-4 Production and Process Automation 1-2 Project See WinCC Project Project Component 5-1 Project Component Computer 5-1 Properties 6-1 Tab General Information 6-1 Tab Graphics Runtime 6-11 Tab Parameters 6-9 Tab Startup 6-3 Project Component Data types 5-4; 10-15 Project Component Editor 5-5 Properties 5-6 Tag Management 5-3 Project Component Tag Management 5-2; 10-1 Project Window See WinCC Project Project-Navigation-Window See WinCC Project
G
Global Script See Editors in the Control Center Graphics Designer See Editors in the Control Center
L
Logical Connection See Connection Log-on and log-off the computer 2-6
R
Report Designer See Editors in the Control Center Runtime Information Connection 2-15 Multi-user system 2-17 Runtime-Cursor 6-13 Expanded 6-16 Normal wihout Rollback 6-15 Normal with rollback 6-15
M
MCP See WinCC project MCP.EXE (Control Center) 1-7 Multi-user system 2-1
O
OCX See Terms / Abbreviations ODBC See Terms / Abbreviations OLE See Terms / Abbreviations Online-Help ...Contents 2-18 ...Find 2-19 ...Glossary 2-19 ...Index 2-19 ...Operation 2-20 ...Tutorial 2-20 Open project 2-1; 2-3
S
SCRIPTFCT See Client-Server Functionality Shut down the computer 2-6 SIMATIC S5 Ethernet TF 8-1 SINEC-L2 See Channel-Unit Single-user system 2-1 Start Picture 6-11 System Properties of WinCC 1-3
Index-2
08.97
Control Center
T
Tab Order/Alpha Cursor 6-13 Tag group See under WinCC-Tags See WinCC-Tags create 11-1; 11-2 cut, delete or copy 11-3 Properties 11-5 Tab General Information 11-6 Tab Tag 11-7 Tag Logging See Editors in the Control Center Tag Management See Project Component Tag Management Tags See WinCC-Tags Assigning names 10-1 Tasks of the Control Center 1-3 Tasks of the data manager 1-3 Terms / Abbreviations 15-1 Text Library See Editors in the Control Center
U
User Administrator See Editors in the Control Center
V
Viewfeedback documentation 2-5
W
WinCC Project Data Window 4-4 File Extension *.MCP 3-2 Project Properties 3-2 Tab General Information 3-3 Tab HotKeys 3-6 Tab Update Cycle 3-4 Project Window 4-1 Project-Navigation-Window 4-1 View/Edit 3-1 WinCC Runtime-Module (Additional Tasks/Applications) 6-5 WinCC Runtime-Module (by default) 6-4 WinCC-Channel 8-1 WinCC-Tags 10-1 Addressing a Structure Tag 10-29 Addressing Process-Tags 10-32; 10-33 copy 10-2; 10-13 cut 10-2; 10-13 delete 10-2; 10-13 external 10-1
WinCC Manual C79000-G8276-C106-01
in a connection 10-3 in a tag group 10-4; 10-6 internal 10-1; 10-5 Name Change of a Structure Tag 10-30 Naming conventions 10-1 Properties 10-7 Tab General Information 10-7; 10-9 Tab Limits/Reporting 10-10 Raw Data 10-1 Standard data types 10-2; 10-15 Binary Tag 10-15 Data Type-BIT 10-29 Floating Point Number 32-Bit IEEE 754 10-15; 10-22 Floating Point Number 64-Bit IEEE 754 10-15; 10-23 Raw Data 10-15; 10-24; 10-31 Signed 16-Bit Value 10-15; 10-18 Signed 32-Bit Value 10-15; 10-20 Signed 8-Bit Value 10-15; 10-16 Structure Types 10-15; 10-26 Text Reference 10-15; 10-25 Text Tag 16-Bit Character Set 10-15; 10-24 Text Tag 8-Bit Character Set 10-15; 10-24 Unsigned 16-Bit Value 10-15; 10-19 Unsigned 32-Bit Value 10-15; 10-21 Unsigned 8-Bit Value 10-15; 10-17 Update 10-2 WinCC-Tags: 10-39 Windows Control Center 1-1 Functionality 1-1; 1-3 Global Scripts 1-6 Menu Bar 1-10 Pop-Up Menus 1-12 Standard Editors 1-1 Status Bar 2-9 Structure 1-1; 1-4 Summary 1-1; 1-9 Toolbar 1-11; 2-9
Index-3
Control Center
08.97
Index-4
WinCC Channels
Manual
C79000-G8276-C106-01
WinCC, SIMATIC, SINEC, STEP are Siemens registered trademarks. All other product and system names in this manual are (registered) trademarks of their respective owners and must be treated accordingly.
(The reproduction, transmission or use of this document or ist contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.)
(We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for improvement are welcomed.)
Siemens AG 1994-1997 All rights reserved C79000-G8276-C106-01 Printed in the Federal Republic of Germany
Siemens Aktiengesellschaft
Table of Contents
1 2 3 4 Overview .................................................................................... Requirements ............................................................................ Procedure................................................................................... Configuring the Communication Driver ..................................
4.1 4.1.1 4.1.2 4.1.3 4.2 4.2.1 4.2.2 4.2.3 4.3 4.3.1 4.3.2 4.3.3 4.3.4 4.4 4.4.1 4.4.2 4.4.3 4.4.4 4.5 4.5.1 4.5.2 4.5.3 4.5.4 4.5.5 4.5.6 4.5.7 4.5.8 4.5.9 4.5.10 SIMATIC S5 Serial 3964R Communication Driver .......................... Data Type of Tags.......................................................................... Address of Tags............................................................................. S5-RK512 (3964R) Channel Unit.................................................... SIMATIC S5 Programmers Port AS511 Communication Driver....... Data Type of Tags.......................................................................... Address of Tags............................................................................. S5-AS511 Channel Unit ................................................................. SIMATIC S5 Ethernet Layer 4 Communication Driver..................... Data Type of Tags.......................................................................... Address of Tags............................................................................. System Parameters for S5 Transport (CP 1413-x) Channel Unit..... S5 Transport (CP 1413-x) Channel Unit ......................................... SIMATIC S5 Ethernet TF Communication Driver............................ Data Type of Tags.......................................................................... Address of Tags............................................................................. System Parameters for S5 Application (CP 1413-x) Channel Unit... S5 Application (CP 1413-x) Channel Unit ....................................... SIMATIC S7 Protocol Suite Communication Driver......................... Setting the logical Device Name..................................................... Data Type of the Tags.................................................................... Address of Tags............................................................................. The Raw Data Tags of the S7 Communication Driver..................... Data Exchange with S7 Function Blocks......................................... S7 MPI Channel Unit...................................................................... SINEC PROFIBUS Channel Unit.................................................... SINEC Industrial EthernetChannel Unit .......................................... SINEC-Slot PLC Channel Unit........................................................ SINEC-TCP/IP Channel Unit ..........................................................
Channels
08.97
4.6 4.6.1 4.6.2 4.6.3 4.7 4.7.1 4.7.2 4.7.3 4.7.4 4.8 4.8.1 4.8.2 4.8.3
SIMATIC TI505 Serial Communication Driver................................. Data Type of Tags.......................................................................... Address of Tags............................................................................. SIMATIC TI505 Unit #1 Channel Unit ............................................. SIMATIC TI505 Ethernet Layer 4 Communication Driver................ Data Type of Tags.......................................................................... Address of Tags............................................................................. System Parameters for the TI505 Ethernet (CP 1413-x) Channel Unit............................................................... TI505 Ethernet (CP 1413-x) Channel Unit ...................................... Windows DDE Communication Driver............................................. Data Type of Tags.......................................................................... Address of Tags............................................................................. DDE Channel Unit..........................................................................
4-45 4-45 4-46 4-47 4-48 4-48 4-49 4-52 4-54 4-55 4-55 4-56 4-57
ii
08.97
Channels
Preface
Purpose of the Manual This manual introduces you to the functions of each software component and their operation in a reference manual format. You can find the information you need quickly by using the table of contents or the index. Naturally, the information is also available to you in the on-line help in either a context-sensitive fashion or in the on-line help contents.
The "Getting Started" manual, which is part of the WinCC package, contains a total overview of WinCC and a configuration example in which the most significant functions of the individual components are followed through in a practical application.
Additional Support
If you have technical questions, please address them to your Siemens contact partner, located in the businesses responsible for your location. You can find the addresses in the attachment entitled Siemens Worldwide, in "S7-300 Automation System Structure in an S7-300," in catalogs, and on CompuServe (go.autforum). In addition, you may call our Hotline at 011-49-911-895-7000 (Fax 7001). You can find additional information on the Internet under the address www.aut.siemens.de/coros/html_00/coros.htm.
Up to date information about SIMATIC products can be obtained: * from the Internet under http://www.aut.siemens.de/ * via fax# 08765-93 02 77 95 00 In addition, the SIMATIC Customer Support provides current information and downloads that can be beneficial for the utilization of SIMATIC products: * from the Internet under http://www.aut.siemens.de/support/html_00/index.shtml * via the SIMATIC Customer Support Mailbox under phone# +49 (911) 895-7100 * To address the mailbox, use a modem with up to V.34 (28.8 kBaud), which parameters must be set as follows: 8, N, 1, ANSI, or dial up through ISDN (x.75, 64 kBit). The SIMATIC Customer Support can be reached by phone under the number +49 (911) 895-7000 and by fax under the number +49 (911) 895-7002. Inquiries can also be made via Internet mail or mail addressed to the above mailbox.
iii
Channels
08.97
iv
08.97
Channels
1 Overview
In this document, you will become acquainted with:
The requirements that are necessary for accessing process tags by means of a programmable logic controller. The general procedure for connecting external tags. The specific configuration of a communication driver.
Notes: In the Control Center Manual and in the on-line help for the Control Center, you will find detailed information on the operations necessary for implementing the process driver connection. This document provides you with supplementary information on the special features of the communication drivers used (tag addressing in the PLC and assignment of communication parameters for the logical connection). To implement the process driver connection, you need to have knowledge of the PLC and the communication being used. If you did not configure the PLC yourself, familiarize yourself with the technical documentation on this topic. In addition, the hardware required for communication as well as the drivers needed by the operating system must be completely installed already in the WinCC system. You should also consult the technical documentation to familiarize yourself with these items.
1-1
Channels
08.97
1-2
08.97
Channels
2 Requirements
From WinCC, you can access process tags (external tags) in a PLC. However, before you configure the process driver connection in WinCC, you should use a check list to see if the following requirements have been met:
The PLC must be equipped with a communication interface that WinCC supports by means of a communication driver. This interface in the PLC must be properly configured such that the control program can access the interface by means of the communication calls. The configuration parameters for the communication hardware must be known. The addresses of the tags (depending on the PLC used) that WinCC is supposed to access must be known. The appropriate communication hardware (communication port COM1, ... or module) must be installed in the WinCC system. If a module is installed, the accompanying operating system driver must have been installed. The hardware or software settings for the communication module must be known. Depending on the communication module you use in the WinCC system, you may have to make additional configurations for communication (such as creating a local database for Industrial Ethernet or PROFIBUS). These communication parameters must also be known.
The following requirements must also be fulfilled in the RUNTIME mode to access tags:
The PLC must be connected to the process. The physical connection between the PLC and the WinCC system must be installed and be functional.
2-1
Channels
08.97
2-2
08.97
Channels
3 Procedure
Process communication between the WinCC system and the PLC is structured as follows:
If you want to connect external tags, you must proceed as follows: 1. Select the communication driver that supports the desired driver connections. Depending on the PLC that is connected, the communication driver contains one or more channel units. 2. Select the desired channel unit . 3. Configure a logical connection for the channel unit. 4. Define the tags or the tag groups with their tags and the system-specific addresses of the tags in each particular PLC. The address configuration for the communication driver used is explained in the section called "Configuring the Communication Driver". 5. Configure the communication-specific properties of the connection. This configuration is described in more detail for each particular channel unit in the section called "Configuring the Communication Driver". 6. Check the status of driver connections in the RUNTIME mode. You install the communication driver, configure a logical connection for a channel unit, and define the tag or tag group with the help of the Control Center. These procedures are described in detail in the Control Center Manual.
3-1
Channels
08.97
Communication Driver
To access external tags, you have to install the communication driver for the communication with the remote PLC. Depending on the driver, the communication driver contains one or more channel units . By means of the operating system interface and the hardware driver, a channel unit supports the hardware component (communication port or PC module) necessary for communication.
The channel unit is a part of the communication driver. It is necessary for communication with the operating system interface of the communication hardware. The logical connections are operated by means of the channel unit. The logical connections provide access to the tags. Note: It is possible that a communication driver also has system parameters (such as device names or protocol parameters) for a channel unit. These parameters are handled separately for the channel units of the corresponding communication drivers.
Logical Connection
The logical connection handles the communication with the PLC that enables access to the external tags in the process. The name of the connection is unique. For the logical connection, you must define the tags of the remote PLC subsequently. You can configure individual tags as well as groups of tags. The address information necessary for configuration always refers to the PLC that you want to access by means of the logical connection. Finally, you must specify communication parameters for this connection (such as the bus address of the PLC). These parameters depend on the channel unit (driver connections) of the communication driver being used. The channel unit handles access to the communication interface of the operating system. You can call up and change the properties of the connection (configured groups, configured tags, and communication parameters). The Control Center (menu "Options" - "Status of Driver Connections") lets you check the status of driver connections in the RUNTIME mode.
3-2
08.97
Channels
A group (tag group) groups tags to make them easier to manage. In this group, you can configure tags that you can then access by means of the logical connection. You can call up and change the properties of the group (configured tags).
The analysis and control of the process is handled by tags that are stored at a defined address and in a specific length in the PLC. You configure these process values in WinCC as tags or group tags with a name, the data type, and the address in the PLC. For the standard data types, the length is derived implicitly from the type; for string tags, you must specify the length. The assignment to the PLC is made by means of the logical connection. For the logical connection, you specify the parameters that are necessary for the communication in a tab for specific communication. You can call up and change the properties of tags (data type, address, and, where necessary, length).
3-3
Channels
08.97
3-4
08.97
Channels
SIMATIC S5 Serial 3964R for serial communication with SIMATIC S5 by means of the channel unit (driver connection): S5-RK512 (3964R)
SIMATIC S5 Programmers Port AS511 for serial communication with SIMATIC S5 by means of the channel unit (driver connection): S5-AS511
SIMATIC S5 Ethernet Layer 4 for communication with SIMATIC S5 (Industrial Ethernet) by means of the channel unit (driver connections): S5-Transport (CP1413-1) (transport protocol of layer 4) S5-Transport (CP1413-2) (transport protocol of layer 4)
SIMATIC S5 Ethernet TF for communication with SIMATIC S5 (Industrial Ethernet) by means of the channel units (driver connections): S5 Application (CP1413-1) (TF protocol of layer 7) S5 Application (CP1413-2) (TF protocol of layer 7)
SIMATIC S7 Protocol Suite for communication with SIMATIC S7 by means of the channel units (driver connections): S7-MPI PROFIBUS Industrial Ethernet Slot PLC TCP/IP
SIMATIC 505 Serial for serial communication with SIMATIC 505 by means of the channel unit (driver connection): 505 Unit #1
SIMATIC 505 Ethernet Layer 4 for communication with SIMATIC 505 (Industrial Ethernet) by means of the channel units (driver connections): 505-Ethernet (CP 1413-1) (transport protocol of layer 4) TI-Ethernet (CP 1413-2) (transport protocol of layer 4)
4-1
Channels
08.97
In addition to these communication drivers included with WinCC, the following communication drivers are available as options:
PROFIBUS FMS for communication with PLCs by means of the channel unit (driver connection): PROFIBUS-FMS
Allen Bradley Serial DF1 for communication with Allen Bradley by means of the channel unit (driver connection): AB 1
ModBus Serial for communication by means of the ModBus with the channel units (driver connections): Modbus Unit #1 Modbus Unit #2 Modbus Unit #3 Modbus Unit #4 Modbus Unit #5 Modbus Unit #6 Modbus Unit #7 Modbus Unit #8
Applicom Multi Protocol Interface for external connections (such as Tlmcanique, ModBus, ...) by means of the channel unit (driver connection): Applicom 1
SIPART DR for communication with the controllers DR19, DR20, DR21, DR22 and DR24 by means of the channel unit (driver connection): SIPART
4-2
08.97
Channels
Channel Unit
This communication driver has a channel unit that makes it possible to operate a COM port for serial connection. The following application is available: Channel Unit S5-RK512 (3964R) for serial communication by means of the 3964R or 3964 protocol.
Binary tag Unsigned 8-bit value Signed 8-bit value Unsigned 16-bit value Signed 16-bit value Unsigned 32-bit value Signed 32-bit value 32-bit IEEE 754 floating-point number Text tag 8-bit character set
4-3
Channels
08.97
5. In the "Data Area" box, select whether the tag is located in a data block, in an extended data block, in a bit memory (flag) area, or in an input or output area. 6. If the tag is in a data block, the "DB No." box is also displayed. Enter the number of the data block here. 7. The "Addressing" box indicates the type of addressing. Usually you can accept the default. 8. Enter the address in the appropriate box (for example, "DL").
4-4
08.97
Channels
Note: Do not use any data word addresses that are greater than 255. Because of a system property of the RK 512, only data word addresses from 0 to 255 are permitted. You can configure larger addresses; however, this results in data corruption on all configured tags of this connection. Access to the memory locations of a PLC can often take place only by byte or word. If binary or 8-Bit tags are used, the Address Properties dialog will contain an additional tab, through which individual bits, in the PLCs memory locations, can be changed. For that reason, every write instruction reads the addressed memory location from the PLC and changes the corresponding bits/bytes. Afterwards, the data is written back into the PLC. Note: Changes to the read data, made by the PLC, will be overwritten during the write back. Depending on the tag type, access, to the memory locations of a PLC, is carried out either by bit or by byte
4-5
Channels
08.97
4. Via the checkbox, the By Bit accessing method can be selected. 5. Select the addressing method of the PLC memory locations from the list box. 6. Select the number of the bit to be changed list box. Note: In the S5 PLC, markers, inputs, and outputs can be addressed by byte, and data blocks (DB, DX) can be addressed by word.
4. Via the checkbox, the By Byte accessing method can be selected. 5. Select the addressing method of the PLC memory locations from the list box. 6. Select the number of the bit to be changed from the list box.
4-6
08.97
Channels
3. In the "Interface" box, select the communication interface (COM1 or COM2) for serial connection. 4. In the "Procedure-Parameters" area, in the "Baud Rate" box, set the data transmission speed to the value used. You set the priority in the event of an initiation conflict (simultaneous send request from WinCC and the PLC) in the "Priority" box. Note: It is mandatory to set the priority to something different than is set for the SIMATIC S5.
4-7
Channels
08.97
5. In the "Procedure Data" area, select either the "3964" or "3964R" transmission protocol. Default values for the procedure data (such as timeout and character delay time) should only be changed in exceptional cases. If you change them, make sure that they match the parameters in the PLC. 6. Now select the "Options" tab.
7. In the "Options" tab you can turn off the cyclic life-beat monitoring and suppress the automatic connection setup.
4-8
08.97
Channels
Channel Unit
This communication driver contains a channel unit that makes it possible to operate a COM port for serial connection. The following application is available:
Binary tag Unsigned 8-bit value Signed 8-bit value Unsigned 16-bit value Signed 16-bit value Unsigned 32-bit value Signed 32-bit value 32-bit IEEE 754 floating-point number Text tag 8-bit character set
4-9
Channels
08.97
5. Click on an option button to indicate whether the tag should transmit the type of controller ("PLC Type"), the current status ("PLC Status"), or other data ("PLC Data").
4-10
08.97
Channels
6. If you select "PLC Data," you must also click on the "Address" tab to specify the S5 address of the tag.
7. Select the "Data Area," that is, whether the tag is in a data block, in an extended data block, in a bit memory (flag) area, or in the input or output area. 8. If the tag is in a data block, the "DB No." box is also displayed. Enter the number of the data block here. 9. The "Addressing" box indicates the type of addressing. Usually you can accept the default. 10. Enter the address in the appropriate box (for example, "DW"). Access to the memory locations of a PLC can often take place only by byte or word. If binary or 8-Bit tags are used, the Address Properties dialog will contain an additional tab, through which individual bits, in the PLCs memory locations, can be changed. For that reason, every write instruction reads the addressed memory location from the PLC and changes the corresponding bits/bytes. Afterwards, the data is written back into the PLC. Note: Changes to the read data, made by the PLC, will be overwritten during the write back. Depending on the tag type, access, to the memory locations of a PLC, is carried out either by bit or by byte
WinCC Manual C79000-G8276-C106-01
4-11
Channels
08.97
4. Via the checkbox, the By Bit accessing method can be selected. 5. Select the addressing method of the PLC memory locations from the list box. 6. Select the number of the bit to be changed from the list box. Note: In the S5 PLC, markers, inputs, and outputs can be addressed by byte, and data blocks (DB, DX) can be addressed by word.
4-12
08.97
Channels
4. Via the checkbox, the By Byte accessing method can be selected. 5. Select the addressing method of the PLC memory locations from the list box. 6. Select the number of the bit to be changed from the list box.
4-13
Channels
08.97
3. In the "Interface" box, select the communication interface (COM1 to COM4 or COMx) for serial connection. Note: Only if you select "COMx" as the interface can you make entries manually in the "I/O Port" and "Interrupt" boxes in the "Resources" area. In all other cases, the software specifies these values.
4-14
08.97
Channels
Channel Units
This channel DLL has two channel units that make it possible to operate a maximum of two CP 1413s. The functionality of the channel units is identical. They differ only in their logical device names. You can change the logical device name by means of the system parameters of the channel unit. Here you can also set the parameters for the ISO transport protocol. The following applications are available:
Channel Unit S5 Transport (CP 1413-1) for the communication modules for SIMATIC Industrial Ethernet (such as CP 1413). Channel Unit S5 Transport (CP 1413-2) for the communication modules for SIMATIC Industrial Ethernet (such as CP 1413).
Binary tag (read only) Unsigned 8-bit value Signed 8-bit value Unsigned 16-bit value Signed 16-bit value Unsigned 32-bit value Signed 32-bit value 32-bit IEEE 754 floating-point number Text tag 8-bit character set Raw data tag
4-15
Channels
08.97
5. In the "Data Area" box, select whether the tag is located in a data block, in a bit memory (flag) area, or in an input or output area. 6. If the tag is in a data block, the "DB No." box is also displayed. Enter the number of the data block here. 7. The "Addressing" box indicates the type of addressing. Usually you can accept the default. 8. Enter the address in the appropriate box (for example, "DBW").
4-16
08.97
Channels
Note: If the tag of a word-oriented data area is to be written, the start address must be in the left byte and the length of the tag must be an even number. Access to the memory locations of a PLC can often take place only by byte or word. If binary or 8-Bit tags are used, the Address Properties dialog will contain an additional tab, through which individual bits, in the PLCs memory locations, can be changed. For that reason, every write instruction reads the addressed memory location from the PLC and changes the corresponding bits/bytes. Afterwards, the data is written back into the PLC. Changes to the read data, made by the PLC, will be overwritten during the write back. Depending on the tag type, access, to the memory locations of a PLC, is carried out either by bit or by byte
4-17
Channels
08.97
4. Via the checkbox, the By Bit accessing method can be selected. 5. Select the addressing method of the PLC memory locations from the list box. 6. Select the number of the bit to be changed list box. Note: In the S5 PLC, markers, inputs, and outputs can be addressed by byte, and data blocks (DB, DX) can be addressed by word.
4. Via the checkbox, the By Byte accessing method can be selected. 5. Select the addressing method of the PLC memory locations from the list box. 6. Select the number of the bit to be changed from the list box.
4-18
08.97
Channels
3. Select the device name displayed in bold type and click in the name box to change the device name. Note: The device name is specified when the hardware driver is installed. Only if you assigned a different name then (which, however, is not a good idea) do you have to change the device name here also.
4-19
Channels
08.97
5. Set the value in the "PDU Size" box to the value that was also configured on the CP 1430 TF. 6. In the "Setup Attempts" box, specify how often an attempt should be made to set up a connection. 7. In the "Duration of Send Repetitions" area, select "Infinite." 8. In the "Acknowledgment Time" box, enter the value 30 so that you are informed after no more than 30 seconds by means of the tag status that the remote PLC did not answer within this time (for example, PLC is in the STOP mode).
4-20
08.97
Channels
3. In the "Ethernet Address Controller" box, enter the station address of the SIMATIC S5 on the Industrial Ethernet bus. 4. Specify the parameters for the READ function in the WinCC system. They depend on the request used in the SIMATIC S5. WinCC Side FETCH Active (Request "READ Active") FETCH Passive (Request "WRITE Passive") SIMATIC S5 Side READ Passive (Request "READ Passive") WRITE Active (Request "WRITE Active")
4-21
Channels
08.97
5. In the "Own TSAP-ID" box, enter the value that was configured for the CP 1430 TF as "TSAP" under the heading of "Remote Parameters." 6. In the "External TSAP-ID" box, enter the value that was configured for the CP 1430 TF as "TSAP" under the heading of "Local Parameters." 7. Enter the appropriate parameters for "Own TSAP-ID" and "External TSAP-ID" for the WRITE function. WinCC Side Request "WRITE Active" SIMATIC S5 Side Request "WRITE Passive"
Channel Units
This channel DLL has two channel units that make it possible to operate a maximum of two CP 1413s. The functionality of the channel units is identical. They differ only in their logical device names. You can change the logical device name by means of the system parameters of the channel unit. The following applications are available:
Channel unit S5 application (CP 1413-1) for the communication modules for SIMATIC NET Industrial Ethernet (for example, CP 1413). Channel unit S5 application (CP 1413-2) for the communication modules for SIMATIC NET Industrial Ethernet (for example, CP 1413).
Binary tag (read only) Unsigned 8-bit value Signed 8-bit value Unsigned 16-bit value Signed 16-bit value Unsigned 32-bit value Signed 32-bit value 32-bit IEEE 754 floating-point number Text tag 8-bit character set
4-22
08.97
Channels
4. In the "CPU" box, select the CPU in which the data area for the tag is located. 5. In the "Data Area" box, select whether the tag is located in a data block, in an extended data block, in a bit memory (flag) area, or in an input or output area. 6. If the tag is in a data block, the "DB No." box is also displayed. Enter the number of the data block here. 7. The "Addressing" box indicates the type of addressing. Usually you can accept the default. 8. Enter the address in the appropriate box (for example, "DD").
4-23
Channels
08.97
Note: If the tag of a word-oriented data area is to be written, the start address must be in the left byte and the length of the tag must be an even number.
3. Select the device name displayed in bold type and click in the name box to change the device name. Note: The device name is specified when the hardware driver is installed. Only if you assigned a different name then (which, however, is not a good idea) do you have to change the device name here also.
4-24
08.97
Channels
3. In the "Name" box, enter the name of the application relationship. Note: The name of the application relationship must be configured in the WinCC system in the local database. To do this, use the "COML 1413 TF" program from the "TF-NET 1413/Windows 95" or "TF-NET 1413/Windows NT" package. You also specify your own TSAP-IDs and external TSAP-IDs here. For example, for a connection to SIMATIC S5, these IDs must correspond to the "TSAP" values under the headings "Remote Parameters" and "Local Parameters" from the configuration of the CP 1430 in SIMATIC S5. 4. In the "Type Remote" box, select the remote PLC for communication.
4-25
Channels
08.97
5. In the "Setup Type Layer 7," specify the connection that should be set up in the application layer. Note: This value must be configured similarly in the remote PLC system. The following variants in setup type are permitted: WinCC None Active Passive Remote PLC System None Passive Active
6. Select the check box "Remote is GRACIS" in case the remote PLC system is a GRACIS system and enter the "Node ID" in the appropriate box.
Channel Units
Depending on the installed WinCC communication hardware, the following applications are available:
MPI for connecting via an internal MPI interface (e.g. PG 760/PC RI45) or MPI module, as well as the communication component CP 5511 (PCMCIA card), PROFIBUS for the communication modules of the SIMATIC NET PROFIBUS (e.g. CP 5412/A2), Industrial Ethernet for the communication modules of the SIMATIC NET Industrial Ethernet (e.g. CP 1413). Slot PLC for the communication to the PLC card, which is a PC card located in your PC. TCP/IP for the communication via networks with a TCP/IP protocol.
4-26
08.97
Channels
If a communication card is used, which does not support these name conventions, the preset logical device names can be changed in the System Parameter dialog of the channel unit.
4-27
Channels
08.97
Explanation Displays the selected channel unit type. Enter the logical device name either directly or select one from the list box. If this checkbox is selected, starting runtime will initiate a check to see if only one communication card is installed for this communication type. If this is the case, the configured name of the channel unit will be replaced by the existing one.
set automatically
If a logical device name is selected, which is not contained in the list box, the system will display the following message:
Click on OK to accept the selected device name. The available device names (that can be selected from the list-box) are determined by the Setting the PG/PC Interface tool, located in the Windows95/NT4.0 Control Panel. If this tool is not installed, only the currently entered device name will be displayed. If you set a different logical device name, the following message will be displayed:
4-28
08.97
Channels
Binary tag Unsigned 8-bit value Signed 8-bit value Unsigned 16-bit value Signed 16-bit value Unsigned 32-bit value Signed 32-bit value 32-bit IEEE 754 floating-point number 62-bit IEEE 754 floating-point number Text tag 8-bit character set Text tag 16-bit character set Raw data tag
4-29
Channels
08.97
4. In the "Data Area" field, select whether the tag is to be located in a data block, a bit memory (flag) area, or an input/output area. 5. If the tag is located in a data block, the "DB No." field will also be displayed - enter the data block number in this field. 6. Select the addressing type in the "Addressing" field. In most cases the default address can be accepted. 7. Enter the word-address in the corresponding field (e.g. "DBW"). 8. If the tag is of the Binary type, enter the bit address in the Bit field.
4-30
08.97
Channels
4. In the "Data Area" field, select whether the tag is to be located in a data block, a bit memory (flag) area, or an input/output area. 5. If the tag is located in a data block, the "DB No." field will also be displayed - enter the data block number in this field. 6. Select the addressing type in the "Addressing" field. In most cases the default address can be accepted. 7. Enter the address in the corresponding field (e.g. "DBB"). 8. If necessary, specify the length of the raw data block in the "Length" field. Note: The length of the raw data is limited to one data block - it must be possible to completely transfer one raw data block with one PDU (Protocol Data Unit).
4-31
Channels
08.97
The length of the data blocks that can be transmitted by the S7 communication driver is determined by the block length set during connection setup minus the header and additional information. The following PDU lengths are currently used for SIMATIC S7:
PDU length 240 Bytes (S7-300): raw data block maximum 208 Bytes PDU length 480 Bytes (S7-400): raw data block maximum 448 Bytes
If you use a S7-5412 with a SAPI-S7, the raw data block length is limited to a maximum of 224 Bytes. If an invalid block length is entered, a message will be displayed indicating that your read/write request has been rejected.
The raw data tags for processing S7 functions contain S7 specific header and are generally used by the WinCC message and the process data recording systems. To use raw data tags for processing S7 functions, a S7-PMC license is required. The raw data tags for user-defined applications are used to transfer user data blocks from and to the automation system. These raw data tags only handle user data.
4-32
08.97
Channels
4-33
Channels
08.97
08.97
Channels
Via a fixed, configured connection, regular read and write requests can also be carried out. If very large data ranges are being transferred, the data blocks will be transferred into multiple PDUs. For performance reasons, it might be practical to create a specific connection for the BSEND/BRCV functions.
WinCC Manual C79000-G8276-C106-01
4-35
Channels
08.97
For the BSEND/BRCV functionality, a 32 Bit long R_ID must be indicated as a hexadecimal number. The R_ID serves for the differentiation of multiple data block transfers via one connection. The send and receive calls to the subordinated communication sub-system (S7DOS) are always indicated in reference to the R_ID. A raw data tag, therefore, is always assigned to an unique R_ID. For resource reasons, the number of BSEND/BRCV raw data tags should be kept small.
4-36
08.97
Channels
4-37
Channels
08.97
Header Type
The header type determines whether the data block header contains a time stamp or not. Header Type = 0: Header contains no time stamp Header Type = : Header contains no time stamp The time stamp contains the date and time in the SIMATIC-S7-BCD format. The weekday entry is not utilized by WinCC. Cycle - in which the process values are read - in time units. 1 2 3 The process values are read in equal time intervals. Each process value contains a time stamp. Each process value contains a time difference in time units.
Time Stamp
Unit (Area)
Displays the size of the time units used for the unit (type) = 3 1 reserved 2 reserved 3 Milliseconds 4 Seconds 5 Minutes 6 Hours 7 Days The process values are directly stored in the S7 format. Unit (Type) = 1 The process values are read in equal time intervals: The maximum size of the user data area is 16000 Bytes. This allows the transfer of 8000 process values of the data type WORD or INT, or the transfer of 4000 process values of the data type DWORD, DINT or REAL. A time stamp entry in the header is required. Process values with time stamps: Each element in the user data area consists of a time stamp (8 Bytes) and a value. This allows the transfer of 1600 process values of the data type WORD or INT, or the transfer of 1333 process values of the data type DWORD, DINT or REAL. A time stamp entered in the header will not be valued. Process values with time difference: Each element of the user data area consists of a time difference (4 Bytes) and a value. This allows the transfer of 2666 process values of the data type WORD or INT, or the transfer of 2000 process values of the data type DWORD, DINT or REAL. A time stamp entry in the header is required.
Unit (Type) = 2
Unit (Type) = 3
4-38
08.97
Channels
3. In the "Station Address" field, enter the bus station address of the SIMATIC S7. 4. Currently, the "Segment ID" field is not supported - the value must remain at "0". 5. If an external communication processor (e.g. CP 443-5) is used, enter the rack number of the CPU to be addressed in the Rack Number field. For an internal MPI interface of a CPU: Rack Number = 0.
4-39
Channels
08.97
6. If an external communication processor (e.g. CP 443-5) is used, enter the slot number of the CPU in the "Slot Number" field. For an internal MPI interface of a CPU: Slot Number = 0. 7. If you activated the check-box Send/receive raw data block, a connection resource must be indicated. Note: If an invalid rack or slot number is entered, the communication connection will not be set up.
3. In the "Station Address" field, enter the bus station address of the SIMATIC S7.
4-40
08.97
Channels
4. Currently, the "Segment ID" field is not supported - the value must remain at "0". 5. In the "Rack Number" field, enter the rack number of the CPU to be addressed. 6. In the "Slot Number" field, enter the slot number of the CPU. 7. If you activated the check-box Send/receive raw data block, a connection resource must be indicated. Note: If an invalid rack or slot number is entered, the communication connection will not be set up.
4-41
Channels
08.97
3. In the "Ethernet Address" field, enter the Industrial Ethernet bus station address of the SIMATIC S7. 4. In the "Rack Number" field, enter the rack number of the CPU to be addressed. 5. In the "Slot Number" field, enter the slot number of the CPU. 6. If you activated the check-box Send/receive raw data block, a connection resource must be indicated. Note: If an invalid rack or slot number is entered, the communication connection will not be set up. During the configuration of the CP 443-1, do not specify any connection requests to the WinCC system.
4-42
08.97
Channels
4-43
Channels
08.97
3. Enter the Internet protoco l address of the SIMATIC S7 at the TCP/IP bus in the IP Address field. 4. In the "Rack Number" field, enter the rack number of the CPU to be addressed. 5. In the "Slot Number" field, enter the slot number of the CPU. 6. If you activated the check-box Send/receive raw data block, a connection resource must be indicated. Note: If an invalid rack or slot number is entered, the communication connection will not be set up.
4-44
08.97
Channels
This communication driver has a channel unit that makes it possible to operate a COM port for serial connection. The following application is available:
Channel Unit SIMATIC TI505 Unit #1 for serial communication by means of either the TBP protocol or the NITP protocol.
Note: It is possible to use one channel unit to operate more than one logical connection (by means of different COM ports).
Binary tag Unsigned 8-bit value (supported only by VMS addressing) Signed 8-bit value (supported only by VMS addressing) Unsigned 16-bit value Signed 16-bit value Unsigned 32-bit value Signed 32-bit value 32-bit IEEE 754 floating-point number
4-45
Channels
08.97
4. In the "Address Type" box, select the location of the tag in the PLC. Depending on the address type that you select, you must supply additional information (for example, in the "Data Element" box for the "V - Variable Memory" address type). 5. If you select the "Read-Only Tag" check box, you can specify that the WinCC system cannot write to the tag. Note: For a description of the address types, consult the technical documentation for SIMATIC TI505.
4-46
08.97
Channels
3. In the "Serial Port Name" box, select the communication interface (for example, COM1, COM2, or a configured port) for the serial connection.
4-47
Channels
08.97
4. Select the "Detect Automatically" box if the channel unit should detect automatically the data transmission speed and the protocol used by the controller. or In the boxes "Baud Rate" and "Protocol," set the data transmission speed and protocol used. 5. By selecting the "Optimized Requests" check box, you can optimize the data transmission to be able to transmit several tags with one request. 6. If you select the "Deactivate Connection" box, the logical connection is deactivated. For example, this is a good idea during system startup if you want to interrupt a connection temporarily.
Channel Units
This channel DLL has two channel units that make it possible to operate a maximum of two CP 1413s. The functionality of the channel units is identical. They differ only in their logical device names. You can change the logical device name by means of the system parameters of the channel unit. You can also set the parameters for the ISO transport protocol here. The following applications are possible:
Channel Unit TI505 Ethernet (CP 1413-1) for the communication modules for SIMATIC Industrial Ethernet (for example, CP 1413). Channel Unit TI505 Ethernet (CP 1413-2) for the communication modules for SIMATIC Industrial Ethernet (for example, CP 1413).
Binary tag Unsigned 8-bit value (supported only by VMS addressing) Signed 8-bit value (supported only by VMS addressing) Unsigned 16-bit value Signed 16-bit value Unsigned 32-bit value Signed 32-bit value 32-bit IEEE 754 floating-point number
4-48
08.97
Channels
5. In the "Address Type" box, select the location of the tag in the PLC. Depending on the address type that you select, you must supply additional information (for example, in the "Data Element" box for the "V - Variable Memory" address type). 6. If you select the "Read-Only Tag" check box, you can specify that the WinCC system cannot write to the tag.
4-49
Channels
08.97
Note: For a description of the address types, consult the technical documentation for SIMATIC TI505. Access to the memory locations of a PLC can often take place only by byte or word. If binary or 8-Bit tags are used, the Address Properties dialog will contain an additional tab, through which individual bits, in the PLCs memory locations, can be changed. For that reason, every write instruction reads the addressed memory location from the PLC and changes the corresponding bits/bytes. Afterwards, the data is written back into the PLC. Note: Changes to the read data, made by the PLC, will be overwritten during the write back. Depending on the tag type, access, to the memory locations of a PLC, is carried out either by bit or by byte
4-50
08.97
Channels
4. Via the checkbox, the By Bit accessing method can be selected. 5. Select the addressing method of the PLC memory locations from the list box. 6. Select the number of the bit to be changed from the list box. Note: In the S5 PLC, markers, inputs, and outputs can be addressed by byte, and data blocks (DB, DX) can be addressed by word.
4. Via the checkbox, the By Byte accessing method can be selected. 5. Select the addressing method of the PLC memory locations from the list box. 6. Select the number of the bit to be changed from the list box.
4-51
Channels
08.97
4.7.3 System Parameters for the TI505 Ethernet (CP 1413-x) Channel Unit
The process driver connection by means of Industrial Ethernet is possible with the SIMATIC TI505 PLCs. These PLCs use the CP 1434 TF communication module. Communication takes place by means of the ISO transport protocol. The WinCC system uses the CP 1413 communication module. Because communication takes place by means of the ISO transport protocol, it is not necessary to configure the logical connection in the local database.
3. Select the device name displayed in bold type and click in the name box to change the device name. Note: The device name is specified when the hardware driver is installed. Only if you assigned a different name then (which, however, is not a good idea) do you have to change the device name here also.
4-52
08.97
Channels
5. Set the value in the "PDU Size" box to the value that was also configured on the CP 1434 TF. 6. In the "Setup Attempts" box, specify how often an attempt should be made to set up a connection. 7. In the "Duration of Send Repetitions" area, select "Infinite." 8. In the "Acknowledgment Time" box, enter the value 30 so that you are informed after no more than 30 seconds by means of the tag status that the remote PLC did not answer within this time (for example, PLC is in the STOP mode).
4-53
Channels
08.97
3. In the "Ethernet Address Controller" box, enter the station address of the SIMATIC TI505 on the Industrial Ethernet bus. 4. Specify the parameters for the READ function in the WinCC system. They depend on the request used in the SIMATIC TI505. WinCC Side FETCH Active (Request "READ Active") FETCH Passive (Request "WRITE Passive") SIMATIC TI505 Side READ Passive (Request "READ Passive") WRITE Active (Request "WRITE Active")
4-54
08.97
Channels
5. In the "Own TSAP-ID" box, enter the value that was configured for the CP 1434 TF as "TSAP" under the heading of "Remote Parameters." 6. In the "External TSAP-ID" box, enter the value that was configured for the CP 1434 TF as "TSAP" under the heading of "Local Parameters." 7. Enter the appropriate parameters for "Own TSAP-ID" and "External TSAP-ID" for the WRITE function. WinCC Side Request "WRITE Active" SIMATIC TI505 Side Request "WRITE Passive"
Channel Unit
This communication channel has a channel unit that makes it possible to operate the interface. The following application is available:
Channel unit DDE for communication by means of the DDE interface of Windows.
Binary tag Unsigned 8-bit value Signed 8-bit value Unsigned 16-bit value Signed 16-bit value Unsigned 32-bit value Signed 32-bit value Text tag 8-bit character set
4-55
Channels
08.97
4. In the "Tag Name" box, enter the name of the tag in the DDE server (for example, with Excel for the cell in the third line and the second column "l3c2"). Letters of the alphabet must always be written in lower case. 5. In the "Data Type" box, also specify the data type in the DDE server (for example, "WORD" for an unsigned 16-bit value). Note: Although the data are generally transmitted in text format ("CF_TEXT") over the DDE channel, it is absolutely necessary to specify matching data types for the DDE client and the DDE server.
4-56
08.97
Channels
3. If the DDE server is not located on your computer, use the "Computer Name" box to enter the name of the computer from which the data are to be requested by means of the DDE connection. 4. In the "Application" box, enter the name of the server application (in our example, "excel" for the table calculation program Excel).
4-57
Channels
08.97
5. In the "Topic" box, specify the file being processed by the application (for example, "product.xls table"). 6. In the "Procedure for Reading Tags" area, specify the criteria for reading the tags. The following assignment applies: WinCC Side Always fetch Fetch only after change Fetch automatically upon change DDE Function REQUEST/POKE COLD ADVISE/POKE HOT ADVISE/POKE WARM
7. In the "Response Time" box, you should enter a value greater than 0. 8. In the "Connection Setup Attempts" area, you should select the "Infinite" box. In this case, an attempt will be made to set up the connection until the connection setup is successful. Notes: The DDE server application and the file specified in the "Topic" box must be started in the ONLINE mode during setup of the DDE connection. If you have questions concerning the function of the Windows DDE interface and assigning parameters to the DDE interface for external applications, consult the appropriate documentation from Microsoft and from the manufacturer of the external application.
4-58
08.97
Channels
Index
C
Channel DLL 3-2 Channel unit 3-2 Channel unit 505 Ethernet (CP 1413-x) 4-54 Channel unit S5 Application (CP1413-x) 4-25 Channel unit S5-Transport (CP1413-x) 4-21 Communication parameters for SIMATIC 505 Ethernet Layer 4 4-54 Communication parameters for SIMATIC 505 Serial 4-47 Communication parameters for SIMATIC S5 Ethernet Layer 4 4-21 Communication parameters for SIMATIC S5 Ethernet TF 4-25 Communication parameters for SIMATIC S7 Protocol Suite 4-39; 4-40; 4-41 Connection 3-2
S
S5-AS511 channel unit 4-14 S5-RK512 (3964R) 4-7 S7 Funktionsbaustein 4-37 S7 MPI channel unit 4-39 SFB 37 AR_SEND 4-37 SIMATIC 505 Unit #1 4-47 SIMATIC S5 Programmers Port AS511 channel DLL 4-8 SIMATIC S5 Programmers Port AS511 communication parameters 4-14 SIMATIC S5 Serial 3964R communication parameters 4-7 SINEC H1 channel unit 4-41 SINEC L2 channel unit 4-40 Status of driver connections 3-2 System parameters for SIMATIC 505 Ethernet Layer 4 4-52 System parameters for SIMATIC S5 Ethernet Layer 4 4-19 System parameters for SIMATIC S5 Ethernet TF 4-24
D
Data types SIMATIC 505 Ethernet Layer 4 4-48 Data types SIMATIC 505 Serial 4-45 Data types SIMATIC S5 Ethernet Layer 4 4-15 Data types SIMATIC S5 Ethernet TF 4-22 Data types SIMATIC S5 Programmers Port AS511 4-9 Data types SIMATIC S5 Serial 3964R 4-3 Data types SIMATIC S7 Protocol Suite 4-29 Data types Windows DDE 4-55 DDE channel unit 4-57
T
Tag 3-3 Tag address SIMATIC 505 Ethernet Layer 4 4-49 Tag address SIMATIC 505 Serial 4-46 Tag address SIMATIC S5 Ethernet Layer 4 4-16 Tag address SIMATIC S5 Ethernet TF 4-23 Tag address SIMATIC S5 Programmers Port AS511 4-9 Tag address SIMATIC S5 Serial 3964R 4-3 Tag address SIMATIC S7 Protocol Suite 4-30 Tag address Windows DDE 4-56 Tag group 3-3
G
Group tag 3-3
L
Logical connection 3-2
W
Windows DDE communication parameters 4-57
Index-1
Channels
08.97
Index2
C79000-G8276-C106-01
WinCC, SIMATIC, SINEC, STEP are Siemens registered trademarks. All other product and system names in this manual are (registered) trademarks of their respective owners and must be treated accordingly.
(The reproduction, transmission or use of this document or ist contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.)
(We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for improvement are welcomed.)
Siemens AG 1994-1997 All rights reserved C79000-G8276-C106-01 Printed in the Federal Republic of Germany
Siemens Aktiengesellschaft
Table of Contents
1 2 General Information .................................................................. Functional Principle of the User Administrator ......................
2.1 2.2 2.3 User Administrator Configuration System ....................................... User Administrator Run-Time System............................................. Tasks of the User Administrator .....................................................
1-1 2-1
2-1 2-1 2-1
3-1
3-1 3-1 3-2 3-2 3-2 3-2 3-3 3-4 3-5 3-5 3-6 3-6 3-6 3-7 3-7 3-7 3-7 3-7 3-7 3-8 3-8 3-8 3-8 3-9 3-9 3-9 3-10 3-10 3-11
4-1
4-1 4-1 4-2
5-1
User Administrator
08.97
ii
08.97
User Administrator
Preface
Purpose of the Manual This manual is a reference which introduces you to the functions and operation of each software component. You can find the information you need by means of the table of contents or the index. Of course, this information is also available in the on-line help as context-sensitive Help or by means of the Help contents.
In the Getting Started Manual, you can find a general overview of WinCC and a configuration example. The example enables you to carry out the essential functions of the individual components in a practical application.
Additional Assistance
If you have technical questions, please contact the Siemens representative in your area. You can find the addresses in such sources as the Siemens Worldwide appendix of the S7-300 Programmable Controller System, Hardware and Installation Manual; catalogs; and in CompuServe (go autforum).... In addition, our hotline is available at the following telephone number: +49 (911) 895-7000 (Fax 7001). You can find more information in the Internet under the following address: www.aut.siemens.de/coros/html_00/coros.htm.
Up to date information about SIMATIC products can be obtained: * from the Internet under http://www.aut.siemens.de/ * via fax# 08765-93 02 77 95 00 In addition, the SIMATIC Customer Support provides current information and downloads that can be beneficial for the utilization of SIMATIC products: * from the Internet under http://www.aut.siemens.de/support/html_00/index.shtml * via the SIMATIC Customer Support Mailbox under phone# +49 (911) 895-7100 * To address the mailbox, use a modem with up to V.34 (28.8 kBaud), which parameters must be set as follows: 8, N, 1, ANSI, or dial up through ISDN (x.75, 64 kBit). The SIMATIC Customer Support can be reached by phone under the number +49 (911) 895-7000 and by fax under the number +49 (911) 895-7002. Inquiries can also be made via Internet mail or mail addressed to the above mailbox.
iii
User Administrator
08.97
iv
08.97
User Administrator
1 General Information
The "User Administrator" editor is a module that assigns user authorization for the run-time modules of the individual editors. Access authorizations are assigned to a user by means of a list and then loaded in the data base. The corresponding access authorizations are enabled in the individual editors. If a colleague logs on to the run-time module, his assigned access authorization is checked and the project areas with the corresponding access levels are enabled.
Functionality
Structure Available authorization levels How to work with the "User Administrator."
1-1
User Administrator
08.97
1-2
08.97
User Administrator
2-1
User Administrator
08.97
2-2
08.97
User Administrator
The "User Administrator" is similar in structure to the other editors in WinCC. The interface contains the following features:
Menu Bar Toolbar A project window divided into two sections (three sections in the last release) Status Bar
3-1
User Administrator
08.97
3-2
08.97
User Administrator
2. Enter the name of the new group. 3. Assign the desired authorization levels. Note: A group name can only be assigned once.
3-3
User Administrator
08.97
Area Login
Description Identification of the user with a length of 4 to 24 characters. It appears as a user name in the tree in the navigation window. User password. It must be between 6 and 24 characters long. Additional entry of the password to check it. Reenter your password. If this check box is selected, all of the group settings are copied.
Password
Retype Password
Note:
3-4
08.97
User Administrator
Area Login
Description Identification of the user with a length of 4 to 24 characters. It appears as a user name in the tree in the navigation window. User password. It must be between 6 and 24 characters long. Additional entry of the password to check it. Reenter your password.
Password
Retype Password
Note:
A login user name can only be assigned once. It appears in the tree view in the project navigation window.
3-5
User Administrator
08.97
Area Login
Description Identification of the user with a length of 4 to 24 characters. It appears as a user name in the tree in the navigation window. Old user password. It must be between 6 and 24 characters long. New user password. It must be between 6 and 24 characters long. Additional entry of the password to check it. Reenter your password.
Password
New Password
Retype Password
3-6
08.97
User Administrator
The selected line is deleted. Note: If you delete an authorization level, it is deleted for all of the entered users.
3-7
User Administrator
08.97
3.4.1 Index
Use the "Index" command to call up the User Administrator on -line help index. You can learn more about this procedure from the Windows 95 description.
3-8
08.97
User Administrator
These icons allow you to execute actions more rapidly. You do not have to make several selections through the menus until you reach the required function. "User" "Add User" "Group" "Add Group" "User" "Copy User" "User" "Delete" "User" "Change Password" "Context-Sensitive Help"
3.7 Procedures
The User Administrator allocates rights to the users in two steps. You can assign each of your colleagues with a password to exactly one group. It is logical to assign users to a group based on the authorizations that the users receive.
3-9
User Administrator
08.97
It contains the authorization levels in the authorization numbering sequence. If you select an authorization level here, only users that have the appropriate authorization level can access this dialog from the run -time module. 1. Use the "Authorization Level" button to open the dialog box. 2. Select the desired authorization level. 3. Exit the dialog box.
3-10
08.97
User Administrator
3-11
User Administrator
08.97
3-12
08.97
User Administrator
When you write to a chip card, all of the data on the card are deleted. The user (login name) and the password are stored on the chip card.
Note:
You can only activate this menu if WinCC was installed with the "Chip Card" option.
4-1
User Administrator
08.97
Checking a Chip Card To check whether the data was entered correctly, you can read from the chip card. The login identification for the card user is entered after "Name:" and the text "Card is valid" also appears. If there is an error when reading the chip card, it is noted in this dialog. No user name is provided. Note: You can only activate this menu if WinCC was installed with the "Chip Card" option.
4-2
08.97
User Administrator
Select Window Hard Copy Acknowledge Messages Lock Messages Enable Messages
Configure Messages If this item is active, you can configure messages. Start Archive Stop Archive Edit Archive Value Configure Archive Configure Action Project Manager If this item is active, you can configure the start of an archiving process. If this item is active, you can configure the end of an archiving process. If this item is active, you can change values of archive tags. If this item is active, you can configure the Tag Logging editor. If this item is active, you can configure the Global Scripts editor. If this item is active, you can configure the Control Center.
5-1
User Administrator
08.97
5-2
08.97
User Administrator
Index
A
Access authorization 2-1 Access authorizations 1-1 Authorization 2-1 Automatic logout 3-2
U
User 2-1; 3-9 Access level 1-1 Authorization 1-1 Change name 3-6 Groups 3-3 Identifier 3-2 Management 2-1 Name 3-4 User authorization 2-1 Authorization level 3-2; 3-10
C
Chip card 4-1 Test 4-2 Write 4-1
G
Group 3-9 Create 3-10 Groups 3-1 Group settings 3-4
L
Login 3-4; 3-5; 3-6 Login in run-time 3-11 Logout 3-2
M
Management 2-1
P
Password 3-4; 3-5 change 3-6 New 3-6 Set 3-6
S
System logons 2-1
Index-1
User Administrator
08.97
Index-2