Welcome to S7-PLCSIM, the Software for Simulating S7 CPUs

The following readme file contains important information for the installation and use of S7PLCSIM V 5.0 with Service Pack 1 (SP1). You should read this information before you install and operate the software.

Contents
1 2 3 4 5 6 6.1 6.2 6.3 6.4 7 7.1 7.2 7.3 7.4 7.5 What's New in S7-PLCSIM V 5.0 including SP1 Contents of the Consignment Hardware Requirements Software Requirements S7-PLCSIM Documentation Installing the Software Installing S7-PLCSIM If a Version of S7-PLCSIM Is Already Installed... Uninstalling Authorization Information on S7-PLCSIM Switching between Real and Simulated CPUs What You Can Expect to Do with S7-PLCSIM Looking at Variable View Objects Known Problems Shortcut Key Combinations

------------------------------------------------------------------------------------------------------------------SIMATIC®, SIMATIC HMI®, and SIMATIC NET® are registered trademarks of Siemens AG. Third parties using any other names in this document which refer to trademarks for their own purposes might infringe upon the rights of the trademarks owners. -------------------------------------------------------------------------------------------------------------------

1

What's New in S7-PLCSIM V 5.0 including SP1
Record/Playback Testing Record your interaction with S7-PLCSIM view objects as you change data values in input, output, and internal memory locations and reset timers. Play back the recording to test the functioning of your program in S7-PLCSIM. Vertical Bit View Object Vertical format shows the absolute or symbolic address of each bit. You specify a memory type for the variable: • • • Input Output Bit memory

New Data Types Two new data types are available for S7-PLCSIM: • String

Individual License (CD) or Upgrade License (CD). which you can access using the "Help" menu. or by pressing F1 or clicking the question mark button to activate the context-sensitive help. S7-PLCSIM. When you select the manual.0 with Service Pack 3 or higher. SFC 90. The S7PLCSIM Setup program installs this manual in the Windows Start menu. You can find extensive information about working with S7-PLCSIM in the online help. which is installed during the setup for STEP 7 or S7-PLCSIM. In order to work with S7-PLCSIM V 5. OB73. but not under a SIMATIC H Station. or Windows NT 4. SFB 8. Fault-Tolerant H Systems S7-PLCSIM now supports the following PLC functionality: • • OB102 (cold restart) Fault Tolerant H Systems (OB70. Windows 9x. 3 Hardware Requirements The requirements for the installed version of STEP 7 apply. SFB 9) S7-PLCSIM operates standalone and can be used to simulate redundancy OBs while configured under a standard SIMATIC 400 station.0 operating system in conjunction with Internet Explorer V 5.5"). Also included is an authorization diskette (3. SFC 14.• DT (DATE_AND_TIME) Support for OB102 (Cold Restart). The S7-PLCSIM manual is included with this consignment in electronic form. you will require: • • • The requirements for installing STEP 7 must be met (See the STEP 7 readme file) Approximately 11 Mbytes of additional free space on your hard disk At least 3 Mbytes of free space in the windows Temp folder for the Setup program (Setup files are deleted when the installation is complete) 4 Software Requirements S7-PLCSIM is a 32-bit application that requires the Microsoft Windows Millennium. In order to use S7-PLCSIM. you must have STEP 7 V 5. OB72.x. 2 Contents of the Consignment S7-PLCSIM is an optional package for STEP 7 supplied on CD (order number 6ES7 8410CC02-0YE0). SFC 15. .0. it is automatically displayed using the Adobe Acrobat Reader. 5 S7-PLCSIM Documentation This consignment contains a manual for S7-PLCSIM in electronic form. Windows 2000.

3. You can perform the authorization immediately. Continue the installation and overwrite the old version with the new version. Make sure that STEP 7 and Internet Explorer have been completely installed. Not enough memory: You need at least 11 Mbytes of free space on your hard disk. Insert the CD and start the program SETUP. Follow the instructions displayed by the Setup program. Memory requirement for languages: All languages of the user interface require approximately 11 Mbytes of free space on the hard disk. queries are shown in dialog boxes for you to answer. Bad disk: Call your local Siemens representative. If a Version of S7-PLCSIM Is Already Installed. Close all STEP 7 applications before starting the Setup program. The Setup program guides you step-by-step through the installation process.. and options are displayed for you to select. a message appears. If the Setup program finds another version of S7-PLCSIM on the programming device or personal computer. Overwriting an old version with a new version has the disadvantage that if you then uninstall. Result of the installation: Once the installation has been completed successfully. If no authorization is found. To start the Setup program. or continue the installation and execute the authorization at a later date. 4.3 Uninstalling Use the usual Windows procedure to remove software: . Authorization requirement: During installation.EXE.1 Installing the Software Installing S7-PLCSIM Before you can start installing the software. 2. During installation. If errors occur during the installation: The following errors may cause the installation to fail: • • • 6. the STEP 7 basic package must be loaded. the program checks to see whether an authorization is installed on the hard disk. 6.EXE program was probably not started under a supported Windows operating system. a message to that effect is displayed on the screen. any remaining components of the old version are not removed. proceed as follows: 1.2 Initialization error immediately after starting Setup: The SETUP. the program reports this and asks you which of the following you want to do: • • Abort the installation so that you can uninstall the old S7-PLCSIM version and then start the installation again. Your software is better organized if you uninstall any older versions before installing the new version.. Read the following notes so that you can reply to the queries more quickly and easily.6 6.

6. Hidden files are stored in the folder "C:\AX NF ZZ". you have the possibility of installing an emergency authorization. You should therefore run a virus check on your PC or programming device every time you install or remove an authorization. When you install an authorization." • --------------------------------------------------------------------------------------------------------------------Note For S7-PLCSIM. compressing. 2. DBLSPACE/DRVSPACE). These files and the folder must not be deleted.1. only use this option once you have moved the authorization from the hard disk back to the authorization diskette.4 Authorization Before you can start working with S7-PLCSIM. found on the authorization diskette. thereby destroying the valid authorizations. Start the dialog box for installing software under Windows by double-clicking on the Add/Remove Programs icon in the Control Panel. on your hard disk." Do not attempt to restore the defective cluster. a cluster appears on the target drive which is marked as "defective. To prevent a valid authorization from being overwritten by a backup copy.. the Setup program displays a message if there is no suitable authorization installed on your computer. 3. This allows you to run .. select the respective host drive. or restoring your hard disk or before installing a new operating system. If you use an optimizing program which enables you to move fixed blocks of memory. You can then decide whether you want the authorization to be installed by the Setup program or whether you want to install the authorization manually at a later time using the AuthorsW program. Then boot the computer and install the authorization using the taskbar under "Start > Simatic > AuthorsW > AuthorsW. you must remove all authorizations before you make a backup copy or exclude the authorizations from the backup. ---------------------------------------------------------------------------------------------------------------------To ensure that your authorization is installed without errors. Select the SIMATIC S7-PLCSIM entry in the displayed list of installed software. moved.WRI file. Read the notes on AuthorsW in the README. adhere to the following notes: • The authorization diskette must not be read-only. Do not forget to transfer the authorization to the authorization diskette before formatting. They contain data required for the authorization of your software. There are two ways of doing this: • While you are installing S7-PLCSIM. Because the authorization diskette is to be used without write protection. there is a danger that these copies may overwrite the valid installed authorizations when you restore your backup data to the hard disk. If the "Remove Shared File" dialog boxes appear. If a backup copy of your hard disk contains copies of authorizations." button to uninstall the software. If C: is a compressed drive (for example. there is a danger that a virus could be transferred from the hard disk to the diskette. the authorization must be installed on target drive C:. click the "No" button if you are unsure how to respond. • • • • Using the emergency authorization: If the normal authorization is lost. If you do not adhere to these guidelines. continue the Setup program without installing the authorization. Click on the "Add/Remove. the authorization may be irretrievably lost. or copied. you must transfer the authorization from the authorization diskette to the computer. If the authorization cannot be installed during setup.

4.2 Projects that Use L2 or H1 Communications . To switch simulation on or off from the SIMATIC manager. when real CPUs are visible. Timing will be significantly different from real CPUs.3 Looking at Variable View Objects The Variable view objects provide an easy interface for viewing and changing CPU internals and I/O in the most common data formats. see the S7-PLCSIM online help or electronic manual. for example). This switch is carried out at the MPI network communication level. These updates would also slow down the execution. To see the results of every instruction. Inputs and outputs can be easily monitored and changed from the visual interface. These view objects are updated when a cycle is completed or when a breakpoint is reached (single step in the editor uses this mechanism). The possibility of this happening can be reduced by monitoring fewer lines of code. so some hardware testing is still recommended for timing concerns. so you will not see every change of data during normal RUN mode. the simulated CPU cannot be seen. STEP 7 will ask you to close any connections to one type of CPU before you are allowed to switch to the other type.4.the corresponding software package for an additional fourteen days. For more information. You can think of this as switching from the "real" world to the "simulated" world. 7 7. For a complete description of the differences. Not all features of S7 CPUs are supported. Otherwise data would typically change faster than you could read it. so the real MPI network is effectively replaced with a virtual network on which only one simulated CPU is visible (in the Accessible Nodes window. It is primarily useful for debugging logic. 7. you can only be in one mode or the other.1 Information on S7-PLCSIM Switching between Real and Simulated CPUs You can switch simulation on or off from the SIMATIC Manager. using the tools in the STEP 7 Standard software package and the S7-PLCSIM interface. so some advanced features of special products may produce error messages when run with S7-PLCSIM. The correct data will be displayed.4 7. To avoid confusion between real and simulated CPUs when using STEP 7 tools. you might receive occasional error messages when paging down. If this occurs.2 Select the menu command Options > Simulate Modules Click the toolbar button for S7-PLCSIM What You Can Expect to Do with S7-PLCSIM S7-PLCSIM allows you to load and debug an S7 program without a PLC. You can use this period of time to obtain or repair the full authorization.1 Known Problems Monitoring Large Programs in the SCL Editor When monitoring large programs in the SCL editor. 7. use the single step feature in the program editors of the STEP 7 Standard software. click OK on the error message. 7. This product allows you to debug one CPU at a time. see the S7-PLCSIM online help or the electronic manual. Conversely. page to the desired location and restart monitoring. use one of these methods: • • 7.

S7-PLCSIM does not currently allow the download of a configuration with an IF964-DP as DP master.4.7 Monitoring STEP 7 Variables with Windows 95 Infrequently. CPU 315-2 DP. You make that selection on the Operating Mode tab of the DP property dialog in your hardware configuration. To use S7PLCSIM with these projects.S7-PLCSIM does not support projects that use L2 or H1 communications. it does not support communications implemented by CP modules. For certain special cases. S7-PLCSIM does not support hardware configurations with more than one DP master. This implementation reinforces that the CPU must go through a restart after power has been turned on. To return the CPU to RUN or RUN-P mode.4. PLCSIM does not support Industrial Ethernet CPs (such as the CP343-1). a program running on S7-PLCSIM (with four accumulators) may have different behavior from the same program running on an S7-300 CPU (with two accumulators. 7. Simply close the error message box and re-start the VAT table. To use S7-PLCSIM with newer S7 CPU modules.6 CPU Accumulators Supported by S7-PLCSIM S7-PLCSIM supports four accumulators (like an S7-400 CPU does).8 Running S7-PLCSIM and SIMATIC WinLC Concurrently Do not run S7-PLCSIM and SIMATIC WinLC concurrently on the same computer. For example: if you were to download a hardware configuration for a CPU 416-2 DP with a CP 443-5 module (both DP masters). S7-PLCSIM would support only the CPU 416-2 DP. If you do not download the hardware configuration to define the valid peripheral memory (PI and PQ) addresses.4 Support for PROFIBUS-DP with DP Mode "DPV1" S7-PLCSIM does not support PROFIBUS-DP for newer S7 CPU modules that have the default setting DP mode "DPV1".4. Doing so can cause WinLC to be affected by modifications to your S7-PLCSIM controls.4. 7.9 When to Restart WinCC You must restart WinCC when: . 7. you must manually change the operating mode to RUN or RUN-P. S7-PLCSIM does not allow you to download such a configuration. you must first change the DP mode from "DPV1" to "S7 compatible". all peripheral memory (PI and PQ) addresses are treated as valid. 7. or CPU 416-2 DP).4. 7.) 7.4.5 Toggling Power Off and On Does Not Restore Original CPU Operating Mode If the CPU is in RUN or RUN-P mode when you toggle power off and on. the VAT table may crash when you monitor STEP 7 variables on a Windows 95 machine. S7-PLCSIM does not return the previous CPU operating mode (RUN or RUN-P) but sets the CPU to STOP mode.3 Support for Additional CP Cards S7-PLCSIM supports S7 CPU modules that have built-in communication capability (such as WinLC. Additionally. you must first reconfigure the project to use MPI communications.4. 7.

CPU313C. Allows you to toggle the display of the Insert toolbar.4.• • You load a saved PLC into S7-PLCSIM You shut down and restart S7-PLCSIM 7. CPU313C-2 DP. CPU314C-2 PtP) 7. CPU313C-2 PtP. Allows you to toggle the display of the CPU Mode toolbar. CPU314C-2 DP.10 No Support for Integrated I/Os and DP of the New CPUs PLCSIM does not support the integrated I/Os and DP of the new CPUs (CPU312C. Closes S7-PLCSIM. .5 Shortcut Key Combinations The following shortcut key combinations are available within S7-PLCSIM: ALT + F1 ALT + F2 ALT + F3 ALT + F4 ALT + F5 Allows you to toggle the display of the Standard toolbar. Allows you to toggle the display of the Record/Playback toolbar.

Sign up to vote on this title
UsefulNot useful