Our Site Moved to InstrumentationTools.com

Siemens S7 300 and STEP 7 PLC program using SIMATIC Software

Siemens S7 300 and STEP 7 PLC program using SIMATIC Procedure:

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
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
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
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
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
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
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
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
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.

Also Read:


Related

PLC 1380087419383792915

Post a Comment Default Comments

emo-but-icon

item