PLC Tutorials

Siemens S7 300 and STEP 7 PLC program using SIMATIC Software

This article provide step-by-step programming tutorials for Siemens S7 300 and STEP 7 PLC program using SIMATIC Software application.

Siemens S7 300 and STEP 7 PLC program

1.Open SIMATIC Manager. SIMATIC Manager is a program which manages subprograms of STEP 7.

2.To start our programming first we need to create a new project by clicking on the “new” icon on the toolbar to open the “new project” window.

In this window we enter a name for our project in the “name” field.The path to our saved project is shown in the “storage location.”

However we can use the browse button to navigate to a different location other than the default.

Siemens S7 300 Program
Siemens S7 300 Program
3.After creating the project we click on its name to highlight it.then from the “insert”   menu we select one of these “stations”dependent upon the control system that we intend to use.
4.After selecting “Station 300” we see that a subgroup named “SIMATIC 300” has been added to our project.
STEP 7 PLC program
5.Next we click on this “hardware” icon which takes us to the hardware.
so that we can configure the modules we need for the PLC.Our PLC is an “S7 300″.
so we need to select the relevant modules from “SIMATIC 300” subgroup here.
SIMATIC Software
6.First of all we need a rack into which we will mount the modules.
To insert the rack, open the “rack 300” and double click on the “rail” to add it to the left window.As you can see this rack has 11 slots.

7.We need to install a “power supply” in the first slot to power our PLC modules and turn them on.

To do this we open this “PS 300” folder and double click on this two-ampere power supply to insert it into the first slot of the rack

S7 300 PLC Programming

8.In the second slot of the rack we always insert the “CPU” module.To select the desired module we open this “CPU 300” folder, which opens to show us all types of “300 CPUs.”

We want to select a “316 CPU”, so we need to open this “CPU 316” folder and click on the relevant part number to insert it into the second slot in the rack.We can add rest of the modules in similar way.

9.The addresses of the digital input module range from byte zero to byte number one means that the addresses we can use in this module for our program start at “I 0.0”for the first input and continue through to“I 1.7” for the last input.

Similarly you can see the addresses of our digital output module range from byte number 4 through to byte number 5 so there are 16 addresses that we can use for this module starting at “Q 4.0” continuing through to “Q 5.7. Finish the configuration and download it to PLC

STEP 7 PLC program using SIMATIC Software
10.Before downloading Click on save and compile icon to save it.then we click on this download icon.This brings up a window where we need to select the CPU to which we want to download the configuration and then click “OK”.
In the next window click on “view” and then select the appropriate “MPI” address, and after clicking “OK” the configuration will download to the CPU.
Now, having completed the configuration we can check the project tree and see that a subgroup with the same name as the CPU has been added there.
PLC Programming using Siemens S7
11.Now we can write our program in a block named “OB 1″We can find the “OB 1” by opening the “S7 Program” folder and looking in the “block”folder.
Siemens S7 300 Application
12.open the “OB 1” by double clicking on it; as it’s the first time we have opened it this “properties” window opens.We simply OK the window to get into the programming environment.
Siemens PLC S7 300 Logic
13.Open symbol table from option menu to give a representative name for each I/O and save symbol table.
Siemens PLC S7 300 Screenshot
14.Make the PLC program as per project requirement.
15.Click on Download button to download the program in to PLC.

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.

Read Next:

You've successfully subscribed !

View Comments

  • You done awesome work your all articals are very helpful i am engineer in cement plant where we use abb compact builder and siemens simatic can u post topic related to siemens simatic stl programming.

  • Sir, Awesome blog for instrumentation guys..
    I also work in Oil & Gas sector. Plz add something related to Bentley Nevada vibration Monitoring and also some focus on Honeywell TDC300

  • Sir, your articles are very useful and informative for instrumentation people, I work in cement plant where we use Allen Bradley controllogix PLC, Can u post steps on Node scheduling for ControlNet using RSNetworx S/w.

Share

Recent Articles

  • PLC Tutorials

Shutter Door Control using Motor and Limit Switches

 In this article, we are going to discuss about shutter door control using induction motor…

5 days ago
  • Electrical Basics

Electrical Drives – Modes, Types, Speed Control Applications

Electrical Drives control the motion of electric motors. Motion control is required in industrial and…

5 days ago
  • PLC Tutorials

PLC Ladder Logic Design: Control 3 Motors with Toggle Switch

PLC ladder logic design to control 3 motors with toggle switch and explain the program…

3 weeks ago
  • PLC Tutorials

VFD Simulator Download – Free Yaskawa V1000 Software

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

5 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…

1 week 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…

1 week ago