PLC Programming Tutorial for Beginners_ Part 1 - Summary

Summary

Here is a concise summary of the provided text:

**Project Overview**

* Write a PLC (Programmable Logic Controller) program for a machine using an S7-300 PLC and Step 7 software.
* Machine: Two pumps filling a tank with liquids, with level switches, an electric mixer, and a discharge valve.

**Program Requirements**

* Activate pumps when liquid level reaches minimum (lower level switch).
* Stop pumps when level reaches maximum (upper level switch).
* Turn on mixer for 7 seconds after tank is full.
* Open discharge valve after mixing, allowing liquid to drain.

**Configuration Steps**

* Create a new project in Sematic Manager.
* Select S7-300 station and configure modules:
1. Rack
2. Power Supply (Slot 1)
3. CPU 316 (Slot 2)
4. Digital Input Module (Slot 4, 16 inputs, addresses I0:I17)
5. Digital Output Module (Slot 5, 16 outputs, addresses Q40:Q57)

**Next Steps**

* Download configuration to PLC (using a simulator).
* Write the program in block OB1, to be covered in the next lesson.

Facts

Here are the key facts extracted from the text, numbered and in short sentences:

**Hardware and Equipment**

1. The machine uses two pumps to transfer two separate liquids into a tank.
2. The tank has two digital level switches (lower and upper parts).
3. A 24V DC signal is sent to the PLC input when a level switch is triggered.
4. The machine includes an electrically powered mixer inside the tank.
5. A discharge valve controls the draining of liquid from the tank.

**PLC and Software**

6. The PLC used is an S7300.
7. The programming software used is Step 7 with Sematic Manager.
8. Sematic Manager is used to manage subprograms of Step 7.

**Project Configuration**

9. The project name is "Project Mixer".
10. The project uses a Station 300 setup for the S7300 PLC.
11. The PLC rack has 11 slots.
12. A 2-Ampere power supply is inserted into the first slot.
13. A CPU 316 module is inserted into the second slot.
14. A digital input module (24V, 16 inputs) is inserted into the fourth slot.
15. A digital output module (24V, 16 outputs) is inserted into a subsequent slot.

**Module Addresses**

16. Digital input module addresses range from Byte 0 to Byte 1 (IO0 to IO17).
17. Digital output module addresses range from Byte 4 to Byte 5 (Q40 to Q57).

**Simulation and Download**

18. A simulator is used to test the program.
19. The configuration is downloaded to the PLC after saving and compiling.
20. The MPI address must be selected during the download process.