Escolar Documentos
Profissional Documentos
Cultura Documentos
Project Data
Date: Project Number: Project Name: Project Manager: Client: Client Representative: 20 Jul 2011 0000-0000 SIMATIC Project Reuben Allott Client Company Client Representatives
Allottware CC
P.O. Box 12611, Vorna Valley, 1686, South Africa Tel: +27 82 809 3262 Fax: +27 11 315 1464 Email: reuben@allottware.co.za Web: www.allottware.co.za Managing Members: Reuben Allott
Reg No: 2004/028046/23
SIMATIC Workstation
CONTENTS
1 INTRODUCTION...............................................................................................................................................4 1.1 OVERVIEW........................................................................................................................................................4 1.2 SOFTWARE REQUIREMENTS..................................................................................................................................4 1.3 HARDWARE REQUIREMENTS.................................................................................................................................4 2 INSTALLATION CHECKLIST........................................................................................................................5 2.1 AUTHORIZATIONS...............................................................................................................................................5 2.2 HARDWARE INSTALLATION..................................................................................................................................5 2.3 SOFTWARE INSTALLATION....................................................................................................................................5 2.4 PROJECT INSTALLATION.......................................................................................................................................5 2.5 SYSTEM STARTUP...............................................................................................................................................5 3 RECOVER ORIGINAL AUTHORIZATIONS...............................................................................................6 4 HARDWARE INSTALLATION.......................................................................................................................7 4.1 STANDARD EQUIPMENT.......................................................................................................................................7 4.2 SIMATIC CP-1613........................................................................................................................................7 5 OPERATING SYSTEM INSTALLATION......................................................................................................8 5.1 OPERATING SYSTEM...........................................................................................................................................8 5.2 ADDITIONAL WINDOWS COMPONENTS...................................................................................................................8 5.3 VIDEO, NETWORK & SOUND DRIVERS..................................................................................................................9 5.4 INTERNET EXPLORER V6 + SP2..........................................................................................................................9 5.5 OPERATING SYSTEM SERVICE PACK......................................................................................................................9 5.6 WINDOWS 2000 SP4 HOTFIX KB828748..........................................................................................................9 5.7 CREATE USERS................................................................................................................................................10 6 SIMATIC SOFTWARE INSTALLATION....................................................................................................11 6.1 SIMATIC NET V6.1 + SP1........................................................................................................................11 6.2 CP-1613 AS TCP/IP CARD............................................................................................................................12 6.3 NETWORK CONFIGURATION...............................................................................................................................13 6.3.1 Computer Name...................................................................................................................................13 6.3.2 Network Connections..........................................................................................................................14 6.3.3 Office LAN..........................................................................................................................................15 6.3.4 PLC Network.......................................................................................................................................15 6.4 PG/PC INTERFACE..........................................................................................................................................16 6.4.1 TCP/IP via CP-1613............................................................................................................................16 6.4.2 Industrial Ethernet via CP-1613..........................................................................................................17 6.4.3 TCP/IP via Standard Ethernet Card.....................................................................................................17 6.5 MICROSOFT SQL SERVER 2000 + SP3.............................................................................................................18 6.6 STEP7 PROFESSIONAL.......................................................................................................................................19 6.7 WINCC V6.0 + SP2......................................................................................................................................20 6.8 WINCC DATA MONITOR V6.0 + SP1 + HOTFIX2.............................................................................................22 6.9 WINCC V6.0 + SP2 + HOTFIX3.....................................................................................................................23 6.10 TRANSFER AUTHORIZATIONS............................................................................................................................24 7 PROJECT INSTALLATION...........................................................................................................................25 7.1 CREATE PROJECT FOLDER.................................................................................................................................25 7.2 RETRIEVE PROJECT...........................................................................................................................................25 7.3 OPEN THE WINCC PROJECT.............................................................................................................................25 7.4 SET COMPUTER PROPERTIES..............................................................................................................................26 7.4.1 Computer Name...................................................................................................................................26 7.4.2 Limiting Runtime................................................................................................................................26 7.5 SET TCP/IP SYSTEM PARAMETER.....................................................................................................................27 APPENDIX A: SIMATIC AUTHORIZATIONS............................................................................................28
Rev: 1, 18 Nov 2005 Status: As-Built Doc no: 0000-0000-SRP-1 Page 2 of 36 0000-0000 SIMATIC Project
SIMATIC Workstation
WINCC V6.0.....................................................................................................................................................28 STEP 7 PROFESSIONAL V5.3..................................................................................................................................29 APPENDIX B: WINCC AUTOSTART............................................................................................................30 APPENDIX C: RESTRICTING THE WINCC RUN-TIME..........................................................................31 APPENDIX D: AUTOMATIC LOGON FOR WINDOWS............................................................................32 APPENDIX E: WINDOWS STARUP COUNTER..........................................................................................33 APPENDIX F: DISABLING USB FLASH DISK AUTO-START.................................................................34 APPENDIX G: WINDOWS 2000 / XP FOREGROUND LOCK TIMEOUT...............................................36
SIMATIC Workstation
1
1.1
INTRODUCTION
Overview
This document lists the steps required to install a new computer workstation to be used for the project. The Service Technician should know a little about Siemens hardware or software. A general working knowledge of installing hardware and software and working with files, folders, networking and user access on the Windows platform is essential. 1.2 Software Requirements
The following software is required. Other versions have not been tested and may not work together correctly:
Required Software Windows XP Professional Windows 2000 Professional MS Internet Explorer MS Internet Information Services WinCC Web Navigator/Data Monitor Server Web Navigator/Data Monitor Client SIMATIC NET PC Software Version (Revision Level) 5.1.2600 Service Pack 2 Build 2600 5.00.2195 Service Pack 4 V6 + SP2 IIS 5.1 V6.0 + SP2 + Hotfix 3 (V6.0.2.3) V6.0 + SP1 + Hotfix 2 (V6.0.1.2) V6.0 + SP1 (V6.0.1.0) V6.1 + SP1 (V6.1.1.0)
NOTE: Please dont try to install Windows XP and Windows 2000 at the same time. You may cause a rip in the space-time continuum. 1.3 Hardware Requirements
SIMATIC Workstation
2
2.1
INSTALLATION CHECKLIST
Authorizations Recover Original Authorizations Hardware Installation PC, Keyboard, Monitor, Mouse Video Card, Sound Card NIC #1 Office LAN NIC #2 PLC Network Software Installation Operating System (Windows 2000 or XP) Additional Windows Components (IIS and Message Queuing) Video, Network & Sound Card Drivers Internet Explorer V6 + SP2 Operating System Service Pack Windows 2000 SP4 Hotfix KB828748 Create WinCC User SIMATIC Net V6.1 + SP1 Configure Networking Configure PG/PC Interface Microsoft SQL Server 2000 + SP3 Step7 Professional V5.3 WinCC V6.0 + SP2 WinCC Data Monitor V6.0 + SP1 WinCC V6.0 + SP2 + Hotfix 3 Transfer Authorizations Project Installation Create Project Folder Create Project Share Retrieve Project Set Computer Properties Set TCP/IP System Parameter Configure the Web Server System Startup Configure WinCC Autosart Configure Windows Auto-logon
2.2
2.3
2.4
2.5
SIMATIC Workstation
Do not forget to remove all your SIMATIC authorizations from the original WinCC workstation before formatting or disposing of the hard disk! Please refer to Appendix A for instructions on transferring authorizations. If the original workstation has crashed and will not start up, you can try installing the hard disk into another computer as a slave. From there you can extract the licences as usual. If the hard disk has failed and cannot be accessed in this manner, a data recovery specialist may still be able to recover the data. If all else fails, you will have to use the Emergency 14-day licenses included on your original Siemens authorization disks and contact Siemens for replacement licenses.
SIMATIC Workstation
4
4.1
HARDWARE INSTALLATION
Standard Equipment
Make sure all the usual computer hardware is installed, such as video card, sound card, HDD, mouse, keyboard monitor etc. Make sure there are TWO network adapters installed: NIC #1 Network interface card for the Office LAN NIC #2 Network interface card for the PLC Network (or CP-1613 card)
The PLC network is separate from the Office LAN for performance reasons; hence two adapter cards are required. 4.2 SIMATIC CP-1613
This document describes installing the CP-1613 at this initial point. This is to save opening up the computer twice. The official documentation from Siemens instructs you to only install the card AFTER you have installed the SIMATIC Net drivers for the card. This prevents Windows prompting you for device drivers after start-up when it detects the plug-and-play CP-1613 card. When you start up windows simply ignore the driver installation prompts launched automatically by windows (click Cancel or Close). They will stop popping up once you have installed the SIMATIC Net drivers. Alternately, do not install the CP-1613 hardware at this point. When you are prompted to restart the computer after installing the SIMATIC Net drivers (later on in the procedure) shut down the computer and install the CP-1613 hardware before restarting again.
SIMATIC Workstation
5
5.1
Install Windows 2000 Professional or Windows XP Professional. It is very important that you perform a clean installation do not try to upgrade or overwrite an already existing operating system. Format the destination partition with the NTFS file system during the installation. NTFS is more efficient than FAT and supports better security features. 5.2 Additional Windows Components
Select these additional Windows Components during installation: Internet Information Services (IIS) Message Queuing Services
WinCC and WinCC Data Monitor will not install without them. You can install these components after installing the operating system from the Control Panel. Open Add/Remove Programs and select the components from the Add/Remove Windows Components button:
SIMATIC Workstation
5.3
Install the drivers for the Office LAN network interface card (NIC), the Video adapter and the Sound Card installed in the PC. If you are using a standard network interface card for the PLC Network and not a CP-1613 card, then install the drivers for that card also. Select screen size: 1024 x 768 x True Color 5.4 Internet Explorer V6 + SP2
Install the latest version of Internet Explorer. This is possibly already included in the Windows Service Pack. Otherwise the CD is supplied with the WinCC software pack. 5.5 Operating System Service Pack
Install the latest Service Pack for Windows Windows 2000 SP4 (or later) or Windows XP SP2 (or later). 5.6 Windows 2000 SP4 Hotfix KB828748
If you have installed Windows 2000 Service Pack 4 you will need to install this hotfix. The hotfix is found on the MS Tools CD included with WinCC V6.0. It is also included on the project backup CD in <CDROM>\Windows 2000 KB828748. If it is not installed you will receive the following error during the installation of WinCC:
SIMATIC Workstation
5.7
Create Users
Create a local user called wincc with password wincc. Add this user to the Administrators group.
Open Computer Management from the Desktop from the My Computer context menu.
In Local Users and Groups, add a new user named WinCC with the password wincc. Select User password and expires. cannot change Password never
Open the properties for the new WinCC user and add Administrators to the users group membership.
SIMATIC Workstation
6
6.1
Install the SIMATIC NET V6.1 + SP1 software, or the version that came with your communications card:
If you have not yet installed the CP-1613 card hardware, select No and manually shutdown the computer. Install the CP-1613 in a free PCI slot (you can try installing it in a used PCI slot, but you will probably damage it and again cause that space-time continuum thing). Restart the computer, or the remainder of the installation process may seem to take a long time (Dont you hate these obvious instructions? At least youre not reading something badly translated from Chinese, like Upon completion of the PCI installation successful, pass begin, collect 200 dollars, and proceed once again through the cables with the flow of electricity).
SIMATIC Workstation
6.2
To use the CP-1613 as a standard TCP/IP card, you must install the NDIS drivers from the SIMATIC Net CD. Open the Add/Remove Hardware applet from the Control Panel:
Click Next
Select No
Select the CP-1613 NDIS drivers from the SIMATIC Net CD that came with your CD-1613 card
SIMATIC Workstation
6.3
Network Configuration
Open Computer Properties from the Desktop from the My Computer context menu.
Click Properties
You will be asked to reboot the computer after making this change (youre not even half-way yet, so dont start getting upset now).
SIMATIC Workstation
6.3.2 Network Connections At this stage you should see two networks in the Network and Dial-Up Connections in the Control Panel:
SIMATIC Workstation
6.3.3 Office LAN The following TCP/IP setting must be selected for the Office LAN (DHPC):
Select Obtain an IP address automatically and Obtain DNS server address automatically. This is Microsoft DummySpeek for Use DHCP. And dont get me started on that stupid little paper clip Office Assistant.
6.3.4 PLC Network The following TCP/IP setting must be selected for the PLC Network (XX.XX.XX.XX with subnet mask 255.255.255.0):
SIMATIC Workstation
6.4
PG/PC Interface
You can configure the CP-1613 card for Industrial Ethernet or for TCP/IP.
6.4.1 TCP/IP via CP-1613 Select CP1613(RFC1006) for the WinCC and S7ONLINE Access Points:
You must configure the IP address from the Properties button. Note that this address must be different to the TCP/IP address assigned to the same card in the Control Panel in Network and Dial-Up Connections. Set this address to XX.XX.XX.YY with subnet mask 255.255.255.0.
SIMATIC Workstation
6.4.2 Industrial Ethernet via CP-1613 If you are only using Industrial Ethernet (no TCP/IP) then select the CP1613(ISO) Access Point instead. 6.4.3 TCP/IP via Standard Ethernet Card If you do not have a CP-1613 you must use the TCP/IP protocol as follows:
Select the TCP/IP option with the network card that is connected to the PLC Network. Here the ethernet card is a Via Networking Velocity. Yours may be something else, such as 3COM, Intel, Planet, Genius etc.
If you do not see your network card, click the Select button and install the TCP/IP option.
SIMATIC Workstation
6.5
Install Microsoft SQL Server 2000 + SP3. You must install the version supplied with the WinCC software pack.
Click Next to begin installation. You may have to reboot the computer after installation.
SIMATIC Workstation
6.6
Step7 Professional
If you plan to use Step7 then install it BEFORE WinCC. You must have Step7 and WinCC to make changes to the project. If you are only setting up a runtime system, then you do not require Step7.
Click Next to begin installation. You may, surprisingly, have to reboot the computer after installation.
SIMATIC Workstation
6.7
Install WinCC V6.0. Select the following options during installation: Options: Basic Process Control If you are setting up an integrated engineering system (Step7 & WinCC) then select the following additional components: Communications: SIMATIC Device Drivers Object Manager AS-OS Engineering STEP7 Symbol Server Proceed as follows:
Click Next
Enter your name and the serial number from your yellow authorization disk that came with WinCC
SIMATIC Workstation
SIMATIC Workstation
6.8
Click Next
Enter your name and the serial number from your yellow authorization disk that came with WinCC Dat@Monitor
Reboot!
SIMATIC Workstation
6.9
This Hotfix for WinCC is included on the WinCC Data Monitor CD.
Click Next
Reboot!
SIMATIC Workstation
6.10 Transfer Authorizations You must transfer all required authorizations to the WinCC machine. Please refer to Appendix A for instructions on how to do this. The following Authorizations are required by the system:
Required Authorization SIK/SIMATIC WINCC-V6 RC64K SIK/SIMATIC WinCC Server SIK/SIMATIC WinCC DataMonitor Server SIK/SIMATIC WinCC-V6 Dat@M.3 Clients SIK/SIMATIC NET Industrial Ethernet-S7 Step 7 Professional 2004 V5.3 (Optional) Order Number
SIMATIC Workstation
7
7.1
PROJECT INSTALLATION
Create Project Folder
Create a folder called C:\Projects and share it as Projects. 7.2 Retrieve Project
The project backup is in a Step7 archive. Use Step7 to retrieve the archive into the Project folder, or simply unzip the project with WinZip or Windows XP. The Step7 project should then be located in C:\Projects\XXX. 7.3 Open the WinCC Project
You open the WinCC project with the WinCC Explorer: Start > SIMATIC > WinCC > WinCC Control Centre 6.0 From the File > Open menu select the WinCC project file: C:\Projects\XXX\wincproj\XXX\XXX.mcp
You may get a message that the configured server is not available. Select Start server locally to use the local machine as server and proceed to the next section to set the computer name.
SIMATIC Workstation
7.4
7.4.1 Computer Name If the computer name is not the same as the one configured in the project you will need to change it. Open the properties dialog for the WinCC server from the Computers list and set the computer name to WINCC from the computer properties dialog:
You must close and reopen the project after changing the computer name. 7.4.2 Limiting Runtime To restrict users from accessing the operating system and running other applications, refer to Appendix C Restricting the WinCC Runtime.
SIMATIC Workstation
7.5
Make sure WinCC is using the correct access point for TCP/IP or Ethernet communications. Open the System Parameter dialog for the SIMATIC S7 Protocol Suite:
Make sure the logical device name is S7ONLINE, or the network adapter used for the PLC Network. The example on the right is using the CP1613 card. You must close and reopen WinCC after changing this parameter.
SIMATIC Workstation
SIMATIC Workstation
Step 7 Professional V5.3 Step 7 V5.3 onwards uses the new authorization program Automation License Manager. This program is very similar to the AuthorsW program with previous versions and other products, but it supports the newer SIMATIC authorizations. It is usually started from: Start > SIMATIC > License Management > Automation License Manager
NOTE: The Automation License Manager can handle the previous authorizations, but the AuthorsW application cannot handle the newer authorizations.
SIMATIC Workstation
This program configures WinCC to automatically launch the selected project into Run-Time mode whenever the current user logs in to the Windows system. Configuring an automatic login to Windows can further enhance this automatic program launch. Appendix D describes how to do this.
SIMATIC Workstation
Got to the Graphics Runtime page and check these options to make the WinCC runtime operate in a full-screen window:
SIMATIC Workstation
SIMATIC Workstation
Open the Advanced page. Click on the Recovery. Settings button in Startup and
Reduce the System startup counters from 30 seconds to 3 seconds, or to 0 to select the operating system immediately.
SIMATIC Workstation
The value in this code specifies the devices for which the Autostart function is to apply. The drives are coded in bits:
Bit 0 1 2 3 4 5 6 7 Value 1 2 4 8 16 32 64 128 Meaning Disables Autostart for unknown drive types Disables Autostart for removable data media (e.g. floppy disk drive) Disables Autostart for fixed data media Disables Autostart for network drives Disables Autostart for CD-ROM Disables Autostart for RAM-DISK Reserved and always set Value (hex) Value (dec) Meaning
Table 1: Bit assignment of the "NoDriveTypeAutoRun" byte The relevant bits of this byte enable or disable the Autostart function of each type of drive. A value of 0 in the bit concerned means that the Autostart function is enabled. The default value is hexadecimal 95 (decimal this corresponds to 149, that is 1+4+16+128 = 149). Thus it is also possible for floppy disk drives, for example, to switch on the Autostart function.
SIMATIC Workstation
Valu e (Dec ) 95 B5 00 FF FD
Meaning For CDs Autorun.inf is executed automatically For CDs and hard disk Autorun.inf is executed with a doubleclick For all drives (also floppy disk) Autorun.inf is executed with a doubleclick Autorun.inf is no longer executed at all The Autostart function is switched off for all drives
Table 2: Sample assignments of the "NoDriveTypeAutoRun" byte If you also wish to suppress the "Info Balloon", then insert the code "EnableBalloonTips" into the following path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\
Assign this code the data type DWORD and set the value to "0".
SIMATIC Workstation
This was fine until Windows 2000/XP. When a background task is activated, Windows may prevent it from moving to the foreground, and flashes the icon instead (so it is still lost behind WinCC). This behavior is designed to keep background tasks from stealing focus. You can control this behavior by editing the registry: 1. Use Regedt32 to navigate to HKEY_CURRENT_USER\Control Panel\Desktop. 2. Edit or Add Value name ForegroundLockTimeout, a REG_DWORD data type. Set the data value to 0 to disable this behavior. The default is 200000 milliseconds. If the time since the last user input exceeds the data value, the window is automatically brought to the foreground. 3. Edit or Add Value name ForegroundFlashCount, a REG_DWORD data type. Set the data value to the number of flashes. The default is 3.