Professional Documents
Culture Documents
SIEMENS S7-300
1. CONNECTING HARDWARE:
Using the STEP 7 software, you can create your S7 program within a project. The
S7 programmable controller consists of a power supply unit, a CPU, and input and
output modules (I/O modules).
The programmable logic controller (PLC) monitors and controls your machine with
the S7 program. The I/O modules are addressed in the S7 program via the
addresses.
Hardware is equipped with a cable to be plugged in the serial port of a computer.
Plug this wire into the serial port carefully and turn on the computer.
The project structure is used to store and arrange all the data and programs in
order.
• Double-click the SIMATIC Manager icon. The STEP 7 Wizard is activated.
• If it is not activated then go to FILE and select NEW PROJECT WIZARD.
You always have to choose the block OB1 specially meant for CYCLIC EXECUTION.
6. PROGRAMMING IN LADDER LOGIC:
Now you have three options to choose one in which you want to program your
project.
These languages are
• LAD (Ladder Logic)
• STL (Statement List)
• FBD (Function block Diagram)
For simplicity, you have to choose LAD.
7. NAMING THE PROJECT:
Just write the name of your project and click MAKE and a blank project will be
prepared for you to use.
The hardware is configured with STEP 7. These configuration data are transferred to
the programmable controller later on "downloading".
Open the SIMATIC 300 Station folder and double-click the Hardware symbol.
The HW CONFIG window opens. After this, search for CATALOG in the main pallet
and open it. There are a lot of options, we will select our required module and insert
in the required slot.
Now we have to fill first five slots. Let’s move.
• First you require a power supply module. Navigate in the catalog until you
reach PS300. Open this folder and drag and drop PS 307 2A into slot 1.
• The CPU you selected on creating the project is already displayed in slot
2.There is no need to change it.
• Slot 3 remains empty for serial communication purpose.
• Navigate until you find the input module SM 300, then open it and search for
AI/AO-300. Open this folder too and search SM 334 AI4/AO2 X 12BIT.
Now drag and drop it into slot 4.
• After this navigate for the module DI/DO-300 and search for SM 323
DI16/DO16 X 24V/0.5A. After you get it, drag and drop it in slot 5.
• Go to STATION and then SAVE and COMPILE.
• Close the HW CONFIG window.
• Now turn the operating mode switch to STOP again to download the program.
• Go to the computer and open the PROJECT WINDOW in which you have
also written your program.
• Click on the PLC option in the main pallet and then select DOWNLOAD.
There are some problems which may occur during interfacing. For your convenience
these problems have been discussed briefly and their solutions have been described.
• First problem is the display of COMMUNICATION ERROR during
interfacing. To avoid it, restart your computer and open the BIOS settings.
Just change the serial comport address and this problem will never occur
again.