You are on page 1of 8

1352309 : Robotics and Automation Engineering Laboratory 2

Panyapiwat Institute of Management


Engineering and Technology

COURSE 1352309 : Robotics and Automation Engineering Laboratory 2

EXPERIMENT Lab 06 PLC Programming 2 - PLC and Pneumatic

1 INTRODUCTION

PLC programming in the realm of pneumatic systems plays a pivotal role in streamlining
industrial processes, reducing manual labor, enhancing precision, and ensuring the safety of workers.

2 OBJECTIVES

● Learn how to integrate PLCs with pneumatic systems to control and optimize various
industrial processes.
● Understand the process of configuring digital and analog input/output modules on the PLC
to interface with pneumatic sensors, switches, and actuators.
● Gain the skills to control solenoid valves and sequence their operation effectively using PLC
programming.

3 BASIC INFORMATION

A Programmable Logic Controller (PLC) is a specialized digital computer designed for


controlling industrial processes and machinery. PLCs are used in various industries to automate tasks
and processes, making them more efficient, precise, and reliable.

Figure 1: Components of a Programmable Logic Controllers (PLC)

1/8 Lab 06
1352309 : Robotics and Automation Engineering Laboratory 2

4 EQUIPMENT REQUIRED

● Computer with TIA Portal v15

5 Experiment : Pneumatic Control via PLC

5.1 การควบคุมการทางานเป็ นจังหวะ

รู ปที่ 1 : วงจรควบคุมการทางานเป็ นจังหวะโดยใช้กระบอกสู บทางเดียวด้วย PLC


ตารางที่ 1 ตารางกาหนดรายละเอียด Input/Output
Components Type Address
Start Switch Input I0.0
Solenoid Valve (A+) Output Q0.0

2/8 Lab 06
1352309 : Robotics and Automation Engineering Laboratory 2

5.2 การควบคุมการทางานค้างตาแหน่ง

รู ปที่ 2 : วงจรควบคุมการทางานเป็ นจังหวะโดยใช้กระบอกสู บสองทางด้วย PLC


ตารางที่ 2 ตารางกาหนดรายละเอียด Input/Output
Components Type Address
Start Switch Input I0.0
Stop Switch Input I0.1
Solenoid Valve (B+) Output Q0.0

3/8 Lab 06
1352309 : Robotics and Automation Engineering Laboratory 2

5.3 การควบคุมการเคลื่อนที่ของก้านสู บ

รู ปที่ 3 : การควบคุมการเคลื่อนที่ของก้ านสูบด้วย PLC


ตารางที่ 3 ตารางกาหนดรายละเอียด Input/Output
Components Type Address
Start Switch Input I0.0
Limit Switch (A0) Input I0.1
Limit Switch (A1) Input I0.2
Solenoid Valve (A+) Output Q0.0
Solenoid Valve (A+) Output Q0.1

4/8 Lab 06
1352309 : Robotics and Automation Engineering Laboratory 2

5.4 การควบคุมการทางานด้วยคาสั่งเวลา
• ก้านสู บจะค้างอยูท่ ี่ตาแหน่ง A1 เป็ นเวลา 5 วินาที

รู ปที่ 4 : การควบคุมการเคลื่อนที่ของก้ านสูบด้วย PLC


ตารางที่ 4 ตารางกาหนดรายละเอียด Input/Output
Components Type Address
Start Switch Input I0.0
Limit Switch (A0) Input I0.1
Limit Switch (A1) Input I0.2
Solenoid Valve (A+) Output Q0.0
Solenoid Valve (A+) Output Q0.1

5/8 Lab 06
1352309 : Robotics and Automation Engineering Laboratory 2

5.5 การควบคุมการทางานตามจานวนครั้ง
• ก้านสู บจะเคลื่อนที่ไปและกลับจานวน 5 ครั้ง

รู ปที่ 5 : การควบคุมการเคลื่อนที่ของก้ านสูบด้วย PLC


ตารางที่ 5 ตารางกาหนดรายละเอียด Input/Output
Components Type Address
Start Switch Input I0.0
Reset Switch Input I0.1
Limit Switch (A0) Input I0.2
Limit Switch (A1) Input I0.3
Solenoid Valve (A+) Output Q0.0
Solenoid Valve (A+) Output Q0.1

6/8 Lab 06
1352309 : Robotics and Automation Engineering Laboratory 2

5.6 การควบคุมการทางานดังนี้
• ก้านสู บจะเคลื่อนที่ไปและกลับจานวน 5 ครั้ง โดยในการทางานแต่ละครั้งหน่วงเวลาครั้งละ 5 วินาที

รู ปที่ 6 : การควบคุมการเคลื่อนที่ของก้ านสูบด้วย PLC


ตารางที่ 6 ตารางกาหนดรายละเอียด Input/Output
Components Type Address
Start Switch Input I0.0
Reset Switch Input I0.1
Limit Switch (A0) Input I0.2
Limit Switch (A1) Input I0.3
Solenoid Valve (A+) Output Q0.0
Solenoid Valve (A+) Output Q0.1

7/8 Lab 06
1352309 : Robotics and Automation Engineering Laboratory 2

5.7 จงเขียน Ladder Diagram สาหรับควบคุมการทางานของเครื่ องปั้มชิ้นงานดังรู ปที่ 7 ที่มีลาดับการทางาน A+ B+ A- B-


โดยเครื่ องปั้มชิ้นงานประกอบไปด้วยกระบอกสู บสองทาง 2 ตัว

รู ปที่ 7 : เครื่ องปั้มชิ้นงาน

8/8 Lab 06

You might also like