PLC System Industrial Electricity Profession - College Level - Petroleum College 2020 - 8

For example:

Figure 4.49. Example of MUL_I instruction function

When input I0.0=1, the MUL-I instruction is active, the result of the MW0*MW2 multiplication instruction is output to MW10. If the result is outside the operating range of a 16-bit integer, Q4.0=1.

3.2.8 16-BIT INTEGRAL DIVISION INSTRUCTION (DIV-I_DIVIDE INTERGER)

Symbol:

Figure 4.50. Arithmetic division command parameters to get integers Operation:

When the EN input status is 1, the DIV-I instruction is executed, the IN1 value is divided by the IN2 value and the result is sent to the OUT output. If the result exceeds the allowable limit of a 16-bit integer, the OV and OS bits are set to 1 and ENO=0, so other functions connected to the ENO port will not work.

For example:

Figure 4.51. DIV_I command function

When input I0.0=1, the DIV-I instruction is active, the result of the instruction dividing MW0 by MW2 is output to input MW10. If the result is outside the operating range of a 16-bit integer, Q4.0=1.

3.2.9 MOD-DI_RETURN FRACTION DOUBLE INTEGER

Symbol:

Figure 4.52. Arithmetic division command parameters to get remainder


Work:

When the input status EN=1, the MOD-DI instruction is active, the IN1 value is divided by the IN2 value and the remainder is sent to the OUT output. If the result exceeds the allowable limit of a 32-bit double integer, the OV and OS bits are set to 1 and ENO=0, so other functions connected to the ENO port will not operate.

For example:

When input I0.0=1, the MOD-DI instruction is active, the remainder result of the MD0:MD4 division instruction is output to MD10. If the result is outside the operating range of a 32-bit double integer, Q4.0=1.

LESSON 4: PLC APPLICATION TO SYSTEM CONTROL


INTRODUCTION TO LESSON 4:


- Control the conveyor system

- Pneumatic system control

THE OBJECTIVE OF LESSON 4 IS:

- Analyze the technological process of PLC control system

- Programming and operating PLC control systems

- Connect peripheral devices of systems to PLC

- Practice positive , proactive and creative qualities

TEACHING AND LEARNING METHODS LESSON 4

- For teachers: use active teaching methods (lecture, question and answer, problem-based teaching); ask learners to do discussion questions and exercises in lesson 1 (individually or in groups).

- For learners: actively read the textbook (lesson 1) before class; complete all discussion questions and situational exercises for lesson 1 individually or in groups and submit them to the teacher on time.

CONDITIONS FOR PERFORMING EXERCISE 4

- Specialized classrooms/workshops: Electrical and electronic practice classrooms

- Equipment: Projectors and other teaching equipment

- Learning materials, tools, and supplies: Course curriculum, textbooks, reference materials, lesson plans, films, and related documents, and personal protective equipment: insulated shoes, insulated gloves.

- Other conditions: none

TEST AND EVALUATION LESSON 4

Content:

- Knowledge : Check and evaluate all content stated in the knowledge objectives

- Skills : Evaluate all content stated in the skills objectives.

- Self-control and responsibility: During the learning process, learners need to:

- Study the lesson before coming to class

+ Prepare full learning materials.

+ Participate in full course duration.

+ Serious in learning process.

Method:

- Periodic theoretical test: 01 test point (format: multiple choice test, time 45 ÷ 60 minutes)

- Periodic practical test: 01 test point (form: Write washing machine control program - complete assembly of schematic diagram, control diagram, connection to PLC)

4.1 TRAFFIC LIGHT CONTROL

4.1.1 Technical requirements:


Figure 5.1. Graphical model simulating traffic light control system

Requirements: Red light 30 seconds, green light 25 seconds, yellow light 5 seconds. The system must have Start and Stop buttons.

Write control programs, create monitoring and control interfaces on HMI screens


4.1.2 Practice process:

Step 1: Prepare materials and equipment

- PLC station system

- Computer

- VOM meter

Step 2: Create an input and output address table and write a control program Step 3: Create a monitoring and control interface on the HMI screen Step 4: Download, operate and troubleshoot

4.1.3 Practice results:

Create address table:


Table 5.1. Addressing of input and output ports of traffic light control


Input

Exit

Name

Address

Name

Address





















Maybe you are interested!

Write the control program:




































4.1.4 Evaluation criteria: 10-point scale

Table 5.2. Traffic light scoring scale


TT

Content

Point

Note

1

Create address table

2


2

Write a program

4


Content

Point

Note


3

Create monitoring and control interface on HMI screen


3


4

Industrial cleaning

1


TT


4.2 PNEUMATIC SYSTEM CONTROL


4.2.1 Elements in pneumatic system

a. Executive structure:

- The actuator has the task of converting pneumatic energy into mechanical energy. The actuator can move in a straight line (cylinder) or in a rotary motion (pneumatic motor).

- Linear motion actuator:

Single acting cylinder (1-way acting cylinder):


Spring

Piston rod

Air inlet/outlet


Figure 5.2. Double acting cylinder


Air inlet/outlet Air inlet/outlet



Figure 5.3. Translational motion actuator

- Rotary motion actuator:

Rotary Engine

Half-turn engine


Figure 5.4. Rotary motion actuator

b. Electro-pneumatic control elements:

- 3/2 solenoid valve not maintained


2


Y1

1 3


Figure 5.5. 3/2 solenoid valve not maintained

- 5/2 solenoid valve not maintained

4 2


Y1

5 3


Figure 5.6. 5/2 solenoid valve not maintained

- 3/2 solenoid valve maintained

2


Y1 Y2

1 3

Figure 5.7. 3/2 solenoid valve maintained

- 5/2 solenoid valve maintained


4 2


Y1 Y2

5 3


Figure 5.8. 5/2 solenoid valve maintained

K1

K1

- Relay


4

K1

1 2 Common leg

Figure 5.9. Relay

For example:For semi-automatic detailed label printing system as shown in figure 3.11

The pistons of cylinders A and B are initially inside. Press START, the piston of cylinder A pushes the part out, at the end of the stroke the piston of cylinder B goes down to print the part label, then the piston of cylinder B returns. Finally the piston of cylinder A returns. The part is removed by hand.

System control using PLC

Figure 5.10. Semi-automatic label printing system model

Assignment:

T1

T2

Step 1: Draw a step diagram


+ A

-


S2


S1 S1


T1 S2


A+ B+

S4


E1 = S1 E2 = S4 A+ = T1

B+ =

+ S4


B

- S3

A- B-


S3 T2


T1^S2

B- = T2

Comment


Agree Privacy Policy *