You are on page 1of 7

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

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

DT (DATE_AND_TIME)

Support for OB102 (Cold Restart), Fault-Tolerant H Systems S7-PLCSIM now supports the following PLC functionality: OB102 (cold restart) Fault Tolerant H Systems (OB70, OB72, OB73, SFC 14, SFC 15, SFC 90, SFB 8, SFB 9)

S7-PLCSIM operates standalone and can be used to simulate redundancy OBs while configured under a standard SIMATIC 400 station, but not under a SIMATIC H Station.

Contents of the Consignment


S7-PLCSIM is an optional package for STEP 7 supplied on CD (order number 6ES7 8410CC02-0YE0). Also included is an authorization diskette (3.5"), S7-PLCSIM, Individual License (CD) or Upgrade License (CD). The S7-PLCSIM manual is included with this consignment in electronic form.

Hardware Requirements
The requirements for the installed version of STEP 7 apply. In order to use S7-PLCSIM, 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)

Software Requirements
S7-PLCSIM is a 32-bit application that requires the Microsoft Windows Millennium, Windows 2000, Windows 9x, or Windows NT 4.0 operating system in conjunction with Internet Explorer V 5.x. In order to work with S7-PLCSIM V 5.0, you must have STEP 7 V 5.0 with Service Pack 3 or higher.

S7-PLCSIM Documentation
This consignment contains a manual for S7-PLCSIM in electronic form. The S7PLCSIM Setup program installs this manual in the Windows Start menu. When you select the manual, it is automatically displayed using the Adobe Acrobat Reader, which is installed during the setup for STEP 7 or S7-PLCSIM. You can find extensive information about working with S7-PLCSIM in the online help, which you can access using the "Help" menu, or by pressing F1 or clicking the question mark button to activate the context-sensitive help.

6
6.1

Installing the Software


Installing S7-PLCSIM Before you can start installing the software, the STEP 7 basic package must be loaded. The Setup program guides you step-by-step through the installation process. To start the Setup program, proceed as follows: 1. 2. 3. 4. Make sure that STEP 7 and Internet Explorer have been completely installed. Close all STEP 7 applications before starting the Setup program. Insert the CD and start the program SETUP.EXE. Follow the instructions displayed by the Setup program.

During installation, queries are shown in dialog boxes for you to answer, and options are displayed for you to select. Read the following notes so that you can reply to the queries more quickly and easily. Memory requirement for languages: All languages of the user interface require approximately 11 Mbytes of free space on the hard disk. Authorization requirement: During installation, the program checks to see whether an authorization is installed on the hard disk. If no authorization is found, a message appears. You can perform the authorization immediately, or continue the installation and execute the authorization at a later date. Result of the installation: Once the installation has been completed successfully, a message to that effect is displayed on the screen. If errors occur during the installation: The following errors may cause the installation to fail: 6.2 Initialization error immediately after starting Setup: The SETUP.EXE program was probably not started under a supported Windows operating system. Not enough memory: You need at least 11 Mbytes of free space on your hard disk. Bad disk: Call your local Siemens representative.

If a Version of S7-PLCSIM Is Already Installed... If the Setup program finds another version of S7-PLCSIM on the programming device or personal computer, 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. Continue the installation and overwrite the old version with the new version.

Your software is better organized if you uninstall any older versions before installing the new version. Overwriting an old version with a new version has the disadvantage that if you then uninstall, any remaining components of the old version are not removed. 6.3 Uninstalling Use the usual Windows procedure to remove software:

1. Start the dialog box for installing software under Windows by double-clicking on the Add/Remove Programs icon in the Control Panel. 2. Select the SIMATIC S7-PLCSIM entry in the displayed list of installed software. Click on the "Add/Remove..." button to uninstall the software. 3. If the "Remove Shared File" dialog boxes appear, click the "No" button if you are unsure how to respond. 6.4 Authorization Before you can start working with S7-PLCSIM, you must transfer the authorization from the authorization diskette to the computer. There are two ways of doing this: While you are installing S7-PLCSIM, the Setup program displays a message if there is no suitable authorization installed on your computer. 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. If the authorization cannot be installed during setup, continue the Setup program without installing the authorization. Then boot the computer and install the authorization using the taskbar under "Start > Simatic > AuthorsW > AuthorsW."

--------------------------------------------------------------------------------------------------------------------Note For S7-PLCSIM, the authorization must be installed on target drive C:. If C: is a compressed drive (for example, DBLSPACE/DRVSPACE), select the respective host drive. Read the notes on AuthorsW in the README.WRI file. Hidden files are stored in the folder "C:\AX NF ZZ". These files and the folder must not be deleted, moved, or copied. They contain data required for the authorization of your software. If you do not adhere to these guidelines, the authorization may be irretrievably lost. ---------------------------------------------------------------------------------------------------------------------To ensure that your authorization is installed without errors, adhere to the following notes: The authorization diskette must not be read-only. Because the authorization diskette is to be used without write protection, there is a danger that a virus could be transferred from the hard disk to the diskette. You should therefore run a virus check on your PC or programming device every time you install or remove an authorization. If you use an optimizing program which enables you to move fixed blocks of memory, only use this option once you have moved the authorization from the hard disk back to the authorization diskette. When you install an authorization, a cluster appears on the target drive which is marked as "defective." Do not attempt to restore the defective cluster. Do not forget to transfer the authorization to the authorization diskette before formatting, compressing, or restoring your hard disk or before installing a new operating system. If a backup copy of your hard disk contains copies of authorizations, there is a danger that these copies may overwrite the valid installed authorizations when you restore your backup data to the hard disk, thereby destroying the valid authorizations. To prevent a valid authorization from being overwritten by a backup copy, you must remove all authorizations before you make a backup copy or exclude the authorizations from the backup.

Using the emergency authorization: If the normal authorization is lost, you have the possibility of installing an emergency authorization, found on the authorization diskette, on your hard disk. This allows you to run

the corresponding software package for an additional fourteen days. You can use this period of time to obtain or repair the full authorization.

7
7.1

Information on S7-PLCSIM
Switching between Real and Simulated CPUs You can switch simulation on or off from the SIMATIC Manager. To avoid confusion between real and simulated CPUs when using STEP 7 tools, you can only be in one mode or the other. You can think of this as switching from the "real" world to the "simulated" world. This switch is carried out at the MPI network communication level, 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, for example). Conversely, when real CPUs are visible, 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. For more information, see the S7-PLCSIM online help or electronic manual. To switch simulation on or off from the SIMATIC manager, use one of these methods:

7.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, using the tools in the STEP 7 Standard software package and the S7-PLCSIM interface. It is primarily useful for debugging logic. Timing will be significantly different from real CPUs, so some hardware testing is still recommended for timing concerns. Inputs and outputs can be easily monitored and changed from the visual interface. This product allows you to debug one CPU at a time. Not all features of S7 CPUs are supported, so some advanced features of special products may produce error messages when run with S7-PLCSIM. For a complete description of the differences, see the S7-PLCSIM online help or the electronic manual.

7.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. These view objects are updated when a cycle is completed or when a breakpoint is reached (single step in the editor uses this mechanism), so you will not see every change of data during normal RUN mode. Otherwise data would typically change faster than you could read it. These updates would also slow down the execution. To see the results of every instruction, use the single step feature in the program editors of the STEP 7 Standard software.

7.4 7.4.1

Known Problems Monitoring Large Programs in the SCL Editor When monitoring large programs in the SCL editor, you might receive occasional error messages when paging down. If this occurs, click OK on the error message, page to the desired location and restart monitoring. The correct data will be displayed. The possibility of this happening can be reduced by monitoring fewer lines of code.

7.4.2

Projects that Use L2 or H1 Communications

S7-PLCSIM does not support projects that use L2 or H1 communications. To use S7PLCSIM with these projects, you must first reconfigure the project to use MPI communications. 7.4.3 Support for Additional CP Cards S7-PLCSIM supports S7 CPU modules that have built-in communication capability (such as WinLC, CPU 315-2 DP, or CPU 416-2 DP); it does not support communications implemented by CP modules. 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. S7-PLCSIM does not currently allow the download of a configuration with an IF964-DP as DP master. S7-PLCSIM does not support hardware configurations with more than one DP master. Additionally, PLCSIM does not support Industrial Ethernet CPs (such as the CP343-1). If you do not download the hardware configuration to define the valid peripheral memory (PI and PQ) addresses, all peripheral memory (PI and PQ) addresses are treated as valid. 7.4.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". S7-PLCSIM does not allow you to download such a configuration. To use S7-PLCSIM with newer S7 CPU modules, you must first change the DP mode from "DPV1" to "S7 compatible". You make that selection on the Operating Mode tab of the DP property dialog in your hardware configuration. 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, S7-PLCSIM does not return the previous CPU operating mode (RUN or RUN-P) but sets the CPU to STOP mode. To return the CPU to RUN or RUN-P mode, you must manually change the operating mode to RUN or RUN-P. This implementation reinforces that the CPU must go through a restart after power has been turned on. 7.4.6 CPU Accumulators Supported by S7-PLCSIM S7-PLCSIM supports four accumulators (like an S7-400 CPU does). For certain special cases, 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.4.7 Monitoring STEP 7 Variables with Windows 95 Infrequently, the VAT table may crash when you monitor STEP 7 variables on a Windows 95 machine. Simply close the error message box and re-start the VAT table. 7.4.8 Running S7-PLCSIM and SIMATIC WinLC Concurrently Do not run S7-PLCSIM and SIMATIC WinLC concurrently on the same computer. Doing so can cause WinLC to be affected by modifications to your S7-PLCSIM controls. 7.4.9 When to Restart WinCC You must restart WinCC when:

You load a saved PLC into S7-PLCSIM You shut down and restart S7-PLCSIM

7.4.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, CPU313C, CPU313C-2 DP, CPU313C-2 PtP, CPU314C-2 DP, CPU314C-2 PtP) 7.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 Insert toolbar. Allows you to toggle the display of the CPU Mode toolbar. Closes S7-PLCSIM. Allows you to toggle the display of the Record/Playback toolbar.

You might also like