Siemens SIMATIC S7 F Manual page 142

Systems
Table of Contents

Advertisement

Programming
Downloading the Safety Program After Simulation
Before you download the tested Safety Program to the CPU you must do the
following:
1. Switch off the simulation by clicking the "Simulation Off" button in the "Safety
Program – S7 Program" dialog box.
Result: The blocks from the Fail-safe Blocks: F User Blocks library are
copied to the block container.
2. Recompile CFC charts if there have been any changes.
5.4.11.2 Using PLCSim V5.1 (and above)
Starting with PLCSim V5.1, the F User Blocks library is supported directly; there is
no need to replace the blocks in the program's offline blocks container with blocks
from the F Simulation library.
In the "Edit Safety Program" dialog box, the Simulation button is not displayed if
PLCSim V5.1 or above is detected on the ES.
Starting Simulation
Proceed as follows:
1. Activate the simulation by clicking the button for simulation
toolbar of SIMATIC Manager or by choosing the Options > Simulate Modules
menu command. PLCSim then processes all the programming device
functions, such as downloading, module status, etc., instead of the real
modules. You can find information on working with S7-PLCSim in manual /12/.
2. The system data must be downloaded to PLCSIM via HWCONFIG.
3. When downloading the Safety Program into PLCSim, a "Setup Access Rights
dialog box will appear requesting a password for the CPU. You MUST enter
plcsim (all lower case) regardless of the password you assigned the CPU in
HWCONFIG.
Changes to the Safety Program can only be downloaded with the whole program
when the virtual CPU is in STOP mode. In test mode, the Safety Program can be
monitored as with a real CPU.
Note
If the virtual CPU of PLCSim goes into STOP mode or the Safety Program
becomes disabled, you must do the following:
This also applies to either a "Partial (isolated F Run-time groups shutdown) or "Full
(entire Safety Program shutdown).
5-60
Reset the memory of the virtual CPU of PLCSim.
Download the configuration data and the S7 program again.
on the
Fail-Safe Systems
A5E00085588-03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7 fh

Table of Contents