PLC Tutorials

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.

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”

  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.

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

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.

  1. At low-level pump is on
  1. When the level reaches a high-level and it will turn OFF the pump.

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.

You've successfully subscribed !
Share

Recent Articles

  • PLC Tutorials

VFD Simulator Download – Free Yaskawa V1000 Software

VFD simulator download: Master the online tool from the Yaskawa V1000 & programming software for…

2 days ago
  • PLC Tutorials

Conveyor Sorting Machine PLC Program with Calculation Function

The conveyor sorting machine is widely used in the packing industries using the PLC program…

5 days ago
  • PLC Tutorials

Example of Flip-Flop PLC Program for Lamps Application

Learn the example of flip-flop PLC program for lamps application using the ladder logic to…

6 days ago
  • PLC Tutorials

STAR DELTA Programming using PLC Controller

In this article, you will learn the STAR DELTA programming using PLC controller to start…

6 days ago
  • Instrumentation Design

Single and Three Phase Immersion Electrical Heaters Wiring Circuits

Lube oil consoles of rotary equipment packages in industrial process plants are usually equipped with…

3 days ago
  • Instrumentation Design

Immersion Heaters in Lube Oil Consoles

Rotating equipment packages such as pumps, compressors, turbines need the lube oil consoles for their…

5 days ago