How to use Simulator in Siemens PLC?

The simulator is used when you don’t have an actual PLC and you want to test the logic, It acts as a virtual PLC.

In the last article, I have explained a method to create a new project using a Siemens Simatic manager.

Here, in this article, I will explain how to use the simulator in siemens plc, works the same in both Simatic manager and TIA portal if you have selected CPU-300 or 400.

Also Read:

  1. Download Siemens PLC Software
  2. Create a New Project in Siemens PLC
  3. Example PLC Programs and Tutorials

Simulator in Siemens PLC

Here, I will create a program for high and low-level detection and work with a simulator.

  1. Open the Siemens programming environment.
  2. write the program.
How to use Simulator in Siemens PLC

Here I0.0 is used for Low-level switch,

I0.1 is used for the high-level switch,

Q0.0 is used for the pump.

When the level is low then the low-level switch will energize and makes the pump run. Here, the pump is latched to provide continuous signal flow.

When the level reaches to a High level due to NC contact it Won’t allow the signal to pass and make pump OFF till it can’t get back to a low level.

  1. Let’s run this logic using the simulator. Follow the below step to run the simulator.

In Simatic manager go to “option” and hit click on “set PG/PC interface”

Siemens PLC simulation
  1. Following window will pop-up. Here, select PLCSIM.MPI to work in the simulator.

You can select another option if you have connected It with actual PLC as per the network you have used for your application.

Hit “ok” will load the selected option.

Siemens PLC SIM
  1. Select option simulation on/off as shown in the below window.
Siemens Offline Simulation
  1. From “insert” you can add input and output variable.
siemens plc simulator
  1. Now let’s download the program to the simulator. Select “Simatic 300” and click on “download icon”
Plc simulator siemens free download

Here, in the simulator, as shown in a red mark change it with PLC SIM (MPI) from TCP/IP otherwise it won’t work.

  1. After downloading In OB environment select icon with “spectacle”.

In the simulator choose ”Run” or “Run-P” mode and test the logic.

S7 PLC Simulator
  1. At low-level pump is on
Siemens PLC Simulator and Plant Simulation Software
  1. When the level reaches a high-level and it will turn OFF the pump.
Siemens Simatic PLC Step7 Simulation

Author: Suhel Patel

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address

Leave a Comment

Share via
Follow us and never miss an update!