You are on page 1of 13

BM.05-QT.PDT.

04
30/05/19-REV:0

TRƯỜNG ĐẠI HỌC HÀNG HẢI VIỆT NAM


KHOA ĐIỆN – ĐIỆN TỬ

PRACTICE – EXPERIMENT MANUAL

Subject : PLC
Subject code : 13314E
Training system : formal university

Hải Phòng, ngày 5 / 8 / 2019 Hải Phòng, ngày 5 / 8 / 2019 Hải Phòng, ngày 5 / 8 / 2019
TRƯỞNG KHOA TRƯỞNG BỘ MÔN NGƯỜI BIÊN SOẠN
(hoặc Trưởng đơn vị) (hoặc Trưởng bộ phận)

HẢI PHÒNG, ...../2019

1
PRACTICE – EXPERIMENT MANUAL LIST
Number of Page
No. Practice – experiment Place NOTE
hours (từ - đến)
Lesson 1: Setting up
4-7
1 hardware configuration for A6-308 2

PLC
Lesson 2: Apple packaging
2 A6-308 4 8-10
line
Lesson 3: Water supply
3 A6-308 4 11-13
pump systeM
Total of lesstion: 3 Total of hours: 10

2
GENERAL INTRODUCTION
1.General goal of the practice - subject experiment
• Help students master knowledge in programming method on step 7
software.
• Help students better understand logic functions, counter, timers and
their operations in the PLC.
• Students can build simple automatic systems with PLCs.
• Helping students access modern control methods.
2. Equipment practice room - experiment
- Practice room 308
- 7 desktops + 2 PLC stations for testing purposes.
3. Table of progress and duration of the practice exercises of the students

Practice Time Number of groups


Prastice 1 2 hours 3
Prastice 2 4 hours 3
Prastice 3 4 hours 3
4. Method of evaluating students' practice results
During the practice process, students must write technical reports.
5. Preparation of students
 Students must review basic knowledge in class to grasp the content of
the command.
 Students must read the experiment document and find out the solution to
the problem.
6. Officer in charge, instructing the practice of the subject
Masters Trần Tiến Lương
7. References
- PLC lession
- Nguyễn Doãn Phước, Phan Xuân Minh. Tự động hoá với SIMATIC S7-
200. Nhà xuất bản nông nghiệp

3
Lesson 1: Setting up hardware configuration for PLC
1.1. Target:
- Introduce how to create new programs with Step7 software.
- Get familiar with how to declare a PLC station
1.2. Student preparation
- Students must read the documentation and prepare it at home
- Learn about the hardware structure of a PLC station
1.3. Equipment needed:
- Personal computer
1.4. Practice content
The first thing to do in order to create a program for the PLC is to declare
its hardware configuration. The requirements for configuration declaration in
the PLC must be in the correct order compared to the actual configuration. The
hard configuration declaration done in S7-300 is done as follows:
4.1. Create a new project named “Bài 1”

4.2. After naming and choosing the path for the project, we proceed to select
the hard configuration for the PLC. First, we select the master station for the
PLC as follows: Insert  Station  Simatic 300 Station.

4
4.3. Select the PLC 300 station to configure for the station

4.4. Next, we proceed to select the corresponding hardware modules. We


proceed to select the expansion modules for as shown in Table 1:
- Rack-300: choose rails for S7-300
- PS-300: select the power supply module
- CPU-300: select CPU
- SM-300: select expansion modules (DI, DO, AI, AO…)

5
Table 1: Hardware configuration of PLC S7-300 practice
Power source 5A 307-1EA00-0AA0
CPU 315-2DP 315-2AF03-0AB0
DI 32Xdc24 321-1BL00-0AA0
DI 32Xdc24 321-1BL00-0AA0
DO 32Xdc24/0.5A 322-1BL00-0AA0
DO 32Xdc24/0.5A 322-1BL00-0AA0
AO 2x12 322-5HB01-0AB0
AO 2x12 322-5HB01-0AB0
AI 8x12bit 331-7KF02-0AB0

4.5. Place the cursor to the position of block OB1 to write program to PLC

6
5. In conclusion, the master requirements need to be placed on students in
practice:
- Know the hardware structure of a PLC station
- Declaration steps and types of functional modules, extension modules
- Addresses the modules declared in the station

7
Lesson 2: Apple packaging line
1.1. Target:
- Get familiar with programming language and programming language for
PLC
- Simulation system using PLC-sim
1.2. Student preparation
- Students must read the documentation and prepare it at home
- Prepare a program to control the system
1.3. Equipment needed:
- Personal computer
1.4. Practice content

* Line operations
When the Start button (switch) is pressed, the conveyor for the apple box
moves. When the box sensor is activated (the apple box is in the ready

8
position), the apple conveyor starts to move. The sensor counts until 10 apples
are in the box, the apple conveyor stops, the apple box conveyor moves to put
the next box into the ready position. The system stops when the Stop button is
pressed.
- Defines the outputs for the PLC

9
* Programing PLC

5. In conclusion, requirements need to be met with students in practice


- Understand how to write control programs for PLC S7-300
- Understand the basic commands

10
Lesson 3: Water supply pump system
1.1. Target:
- Improve programming ability, use timer, counter in PLC
- Simulation system using PLC-sim
- Run the program on the PLC station
1.2. Student preparation
- Students must read the documentation and prepare it at home
- Prepare a program to control the system
1.3. Equipment needed:
- Personal computer
1.4. Practice content

The system requires to pump water from tank 2 to tank 1. System


requirements are as follows:
• When tank 1 runs out of water (L2 sensor works), the pump works to
pump water from bottle 2 to bottle 1.
• If the water in tank 1 is full until L3 operates, stop the pump.

11
• If the water in tank 2 is exhausted (below level L1) the pump will not
operate.
• In addition, you can run the pump in manual mode by pressing the Start
or Stop button.
- Defines the outputs for the PLC

- Programing PLC

12
5. In conclusion, requirements need to be met with students in practice
- Understand the operation of different timers in S7-300
- Practice on test PLC station

13

You might also like