Get Started

This page intends to help you get started with PlantSim, providing you with a few simple and easy to follow, steps. Read the instructions below, or, if you prefer, watch the video to see how easy and enjoyable it is to use PlantSim.

[stripe]

[/stripe]

Installation

Download the latest version of PlcSim and extract the zip archive to a folder of choice.

Start PlantSim.exe.

Plant model selection

PlantSim allows the simulation of a variety of plant models. To select a plant model to work with:

go to Options -> Plant or press F8.

A window opens with a list of the available plant models. Double click a row in the table to use the corresponding model.

Hint: To install a new plant model, drag and drop its DLL-file onto this window.

Settings

PlantSim does not communicate with S7-PLCSIM directly. Instead, a server application, PLCSIM-Server, is used, which is supplied together with PlantSim. This way two workflows are possible:

To set up the connection to the server,

go to Options -> Server or press F7.

A window opens with the available server settings. In the Communication section, it is possible to set the:

Additionally, in the Base Address section, it is possible to set the:

Starting PLCSIM-Server

For the local workflow, please start PLCSIM-Server directly from PlantSim:

Go to Server -> Start or press F6.

This opens the console window of PLCSIM-Server. The server is ready to accept connections if the following message is shown:

Awaiting connection on port X…

For the remote workflow, please start the server on the remote workstation manually:

start PlcSimServer.exe

Starting S7-PLCSIM

To be able to proceed further with PlantSim, a running instance of S7-PLCSIM is required. Please consult the Simatic Manager’s manual about starting S7-PLCSIM and downloading a STEP 7 program to it.

Connecting to PLCSIM-Server

Once both S7-PLCSIM and PLCSIM-Server are running

go to Server->Connect or press F5

to establish a connection.

Testing the control software

At this point, everything should be up and running. S7-PLCSIM is executing your STEP 7 program with the model from PlantSim as a plant. If the model has control elements, such as switches and knobs, you might want to go on and operate them to affect the simulation.

To achieve the desired plant behavior, feel free to alter your STEP 7 program in Simatic Manager and download it again into S7-PLCSIM as many times as you need.

Restarting the simulation

Depending on the model you are using, it might be necessary at some point to re-run the simulation. To do that

click Ctrl+R.