25/07/2024

Technology Trending

Stay Ahead Of The Tech Curve

How to Application a Siemens S7-300 Programmable Logic Controller

How to Application a Siemens S7-300 Programmable Logic Controller

Do you have a Siemens S7-300 Programmable Logic Controller that you are not acquainted with but you will need to software it NOW! Following is a quick set of guidelines I have place together to aid you get started off programming a Siemens S7-300 PLC.

After loading the programming computer software and connecting a Siemens MPI cable in between your programming laptop or computer and the PLC, open SIMATIC Supervisor by clicking the icon on the desktop. The Move 7 Wizard: “New Project” window will open. It is simpler to use the Wizard to setup communications with your PLC, but I chose to consider the scenic route. I figured I would learn additional this way. So, close the Stage 7 Wizard window by clicking Terminate. If there are any other windows or jobs open, close them. We want to get started with a completely new plan.

Make a new job by clicking the new task button on the toolbar in the upper still left corner of your screen.

The New Undertaking window opens. In this article you will see any current packages located on your laptop or computer. In close proximity to the bottom of the window, you will see the Title: enter kind. Sort whatever you want to name your new venture and simply click Ok.

A new window will open demonstrating the identify of your venture at the top rated. You will also see your task in the window on the still left hand aspect of the display at the top. Right click your venture and decide on “Insert New Item”. Decide on the system you will be programming. We will be making use of the SIMATIC 300 Station so decide on that assortment.

You will now see SIMATIC 300 surface in the suitable window of your display. It need to be highlighted blue. Click on anyplace in the window to make the blue go absent. Double simply click SIMATIC 300 and it will move to the left window and “Hardware” will show up in the appropriate window.

Double simply click “Hardware” and two (it’s possible three) new home windows will open up. On the remaining will be SIMATIC 300 – (the title of your task). The window on the right will be the catalog of areas.

Search in the right window, the areas catalog, and click on the additionally signal beside SIMATIC 300.

Click the furthermore sign beside RACK – 300. Click and drag the Rail onto the left window. You will now see the Slots window look. This is where by we will position our PLC parts.

We will 1st pick out our CPU. On the lookout at the components catalog, in the SIMATIC 300 tree, opt for the CPU that you are applying. We are working with the CPU – 300 so click the moreover signal beside that choice.

Now search at the entrance top left of your PLC. This is where you will come across the PLC model. I will use CPU313C-2 DP as an case in point since this is the design PLC that I use.

Come across this CPU in your areas catalog and simply click the plus sign. You will now see some part figures.

Glimpse back at your PLC. Find the doorway covering the MPI port. This will be the base remaining side of the PLC. At the base of the door you will discover the part number. The part quantity for the PLC I am using as an instance is 313-6CF03-0AB0.

Find this portion range in the elements catalog. You will recognize this is another folder. Open up it and you will see V2. and V2.6. Glance back again at the PLC, open the doorway masking the MPI port, and proper above the MPI port you will see V2.6.3.

Go back to the areas catalog and click V2.6. See how a slot in the left hand window will emphasize green. I believe it will be slot #2. (Slot #1 is reserved for electrical power materials.) This is wherever you will drag and drop your CPU. (Detect the software will not let you set the CPU in any other slot but slot #2.)

When you launch the mouse button more than slot #2, a new window will open up, “Attributes – PROFIBUS interface”. Simply click new, a new window opens, click on Ok, and then click on Okay once more. We are not environment up a community at this time.

You will now see your CPU and linked hardware shown.

Double simply click in the Slot that checklist your DI16/DO16 (Electronic Input/Electronic Output).

A window with a few tabs will open. The 1st tab will be Typical, the second tab will be Addresses and the third tab will be Inputs.

Open the tab “Addresses”. We need to have to adjust the default addresses. Do this by unchecking the System Default button and shifting 124 (or regardless of what tackle you have) to . Do this for both of those the Inputs and Outputs.

We now will need to transform the Node Handle. Go back to the window exactly where you double clicked DI16/DO16 and double click in Slot 2, the CPU 313-2DP slot.

The Attributes – CPU 313C-2DP window will open up.

Appear down the window a minor above fifty percent way and uncover the Interface spot and click on Houses. A different window, “Qualities – MPI interface CPU 313-2DP” will open.
Alter the tackle to satisfy your distinct criteria. I know that my notebook, which I am making use of to method my PLC, is normally tackled as 1 and my target PLC is ordinarily addressed as 2. You will likely be the similar.

Now simply click MPI(1) and click on Ok. Click on Okay again to shut the Homes window.

Preserve and Compile by clicking the icon positioned on the left of the toolbar.

Obtain the components configuration to the PLC by clicking the download icon situated on the toolbar.

A window titled “Pick Target Module” need to open up. Simply click Okay.

Yet another window titled “Choose Node Address” will open. You should see mentioned your node address for the PLC you are doing work with as you configured it in a earlier step. If not, simply click check out and simply click on regardless of what node address appears and click on Ok.

Swap back to SIMATIC manager (by clicking the tab on the taskbar).

Click on Selections. Select Set PG/Computer Interface. Opt for Personal computer Adapter (Automobile).

Click on Houses. A new window will open up, displaying both Computerized Bus Profile Detection or Local Connection. Click Regional Connection and choose USB. Now select Computerized Bus Profile Detection and alter the address to 30. You can test your relationship now by clicking Start Community Detection. If a new window opens displaying Network Style = MPI, Transmission Charge = 187.5kbps, you have recognized communications with your S7-300. Simply click Close. Click Okay. Click Ok.

It is now time to get started programming. Hunting at the SIMATIC Supervisor window, click the moreover sign found beside SIMATIC 300(1), click on the additionally sign beside CPU 313C-2DP, click the in addition indicator beside S7 Plan(1). Now simply click on Blocks and you will see Procedure knowledge and OB1 seem in the appropriate window on your display.

Double click on on OB1 and a new window will open named Attributes – Business Block

Listed here you can opt for how you want to program, in LAD (ladder), STL (statement record), or FBD (function block diagram). Opt for which you want to use and click on Ok.

Double click on OB1 once again and the LAD/STL/FBD programming window will open up.

You can now commence programming.

I have these same guidelines with photographs on my site at http://www.saturdayafternoonhobbies.com