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

Example PLC Program to Control a Pump based on Level Sensors

Learn an example PLC program to control a pump based on level sensors using ladder…

2 weeks ago
  • PLC Tutorials

PLC Timer Application in Security Camera Recording

In the PLC timer application for security camera recording, when motion is detected then camera…

2 weeks ago
  • PLC Tutorials

Batch Mixing with PLC Ladder Logic Program

In this example, we will learn batch mixing with PLC ladder logic program using timer…

2 weeks ago
  • PLC Tutorials

PLC Example on Manufacturing Line Assembly

This PLC example on manufacturing line assembly is an intermediate-level PLC program prepared for the…

2 weeks ago
  • PLC Tutorials

PLC Programming Example with Pushbutton and Motor

In this article, you will learn the PLC programming example with pushbutton and motor control…

3 weeks ago
  • PLC Tutorials

Boolean Logic to PLC Programming

This article teaches how to convert Boolean logic to PLC programming ladder logic with the…

1 month ago