Việc Lập Trình PLC Delta: Hướng Dẫn và Ví Dụ Ứng Dụng

Chuyên khảo phân tích Vi du lap trinh plc delta, đánh giá các khía cạnh quan trọng, đề xuất hướng nghiên cứu tiếp theo., phục vụ nghiên cứu và ứng dụng thực tiễn

Trường đại học

Delta Electronics

Chuyên ngành

Industrial Automation

Người đăng

Ẩn danh

Thể loại

Hướng dẫn

2023

267
57
2

Phí lưu trữ

55 Point

Mục lục chi tiết

Foreword

1. Basic Program Design Examples

1.1. Normally Closed Contact in Series Connection

1.2. Block in Parallel Connection

1.3. Rising-edge Pulse Output for One Scan Cycle

1.4. Falling-edge Pulse Output for One Scan Cycle

1.5. Latching Control Circuit

1.6. Interlock Control Circuit

1.7. Automatic Parameter Initialization When Powered Up

1.8. Common Latched Circuit and SET/RST Instructions Application

1.9. SET/RST - Latched and Unlatched Circuit

1.10. Alternate Output Circuit (With Latched Function)

1.11. Conditional Control Circuit

2. Counter Design Examples

2.1. Product Mass Packaging

2.2. Daily Production Record (16-bit Counting Up Latched Counter)

2.3. Products Amount Calculation (32-bit Counting Up/Down Counter)

2.4. 24-hour Clock Operated by 3 Counters

2.5. A B-phase Pulse High-speed Counter

3. Timer Design Examples

3.1. Delay OFF Program

3.2. Delay ON Program

3.3. Delay ON/OFF Program

3.4. Sequential Delay Output (Starting 3 Motors Sequentially)

3.5. Pulse-Width Modulation

3.6. Artificial Fishpond Water Level Monitoring System (Flashing Circuit)

3.7. Burn-in Test System (Timing Extension)

3.8. Star-Delta Reduced Voltage Starter Control

3.9. Automatic Door Control

3.10. Automatic Liquids Mixing Control System

3.11. Automatic Coffee Maker

3.12. Automatic Urinal Flushing Control Program

3.13. Performing Accumulative Function with Normal Timer

3.14. Performing Teaching Function with Normal Timer

3.15. Auto Interruption Timer

3.16. Traffic Lights Control

4. Index Registers E, F Design Examples

4.1. Summation of Continuous D Registers

4.2. Parameter Setting for Product Recipe

4.3. Controlling Voltage Output of 2 DVP-04DA by 8 VRs (Variable Resistors)

5. Loop Instruction Design Examples

5.1. Recipe Setting by CJ Instruction

5.2. Reservoir Level Control

5.3. Fire Alarm in the Office (Interruption Application)

5.4. Auto Lock up System in the Supermarket (FOR ~ NEXT)

6. Data Transmission and Comparison Design Examples

6.1. CMP - Material Mixing Machine

6.2. ZCP - Water Level Alarm Control

6.3. BMOV - Multiple History Data Backup

6.4. FMOV - Single Data Broadcasting

6.5. CML - Color Lights Flashing

6.6. XCH - Exchanging the Upper and Lower 8 bits in a Register

6.7. DIP Switch Input and 7-segment Display Output

7. Elementary Arithmetic Operations Design Examples

7.1. Accurate Pipe Flow Measurement

7.2. INC/DEC - Fine Tuning by JOG Control

7.3. NEG - Displacement Reverse Control

8. Rotation and Shift Design Examples

8.1. ROL/ROR - Neon Lamp Design

8.2. SFTL - Defective Product Detect

8.3. WSFL - Automatic Sorting Mixed Products

8.4. SFWR/SFRD - Room Service Call Control

9. Data Processing Design Examples

9.1. ENCO/DECO - Encoding and Decoding

9.2. SUM/BON - Checking and Counting the Number of “1”

9.3. MEAN/SQR - Mean Value and Square Root

9.4. MEMR/MEMW - File Register Access

9.5. ANS/ANR - Level Monitoring Alarm System

9.6. SORT - Sorting Acquired Data

9.7. SER - Room Temperature Monitoring

10. High-speed Input/Output Design Examples

10.1. REF/REFF - DI/DO Refreshment and DI Filter Time Setting

10.2. DHSCS - Cutting Machine Control

10.3. DHSZ/DHSCR - Multi-segment Coater Control

10.4. SPD - Wheel Rotation Speed Measurement

10.5. PLSY - Production Line Control Program

10.6. PWM - Sprayer Valve Control Program

10.7. PLSR - Servo Motor Acceleration/Deceleration Control

11. Floating Point Operation Design Examples

11.1. Elementary Arithmetic for Integer and Floating Point

11.2. Elementary Arithmetic for Floating Point

12. Communication Design Examples Introduction

12.1. Communication between PLC and Delta VFD-M Series AC Motor Drive

12.2. Communication between PLC and Delta VFD-B Series AC Motor Drive

12.3. Communication between PLC and Delta VFD-V Series AC Motor Drive

12.4. Communication between PLC and Delta ASD-A Series AC Servo Drive

12.5. Communication between PLC and Delta ASD-A Series AC Servo Drive

12.6. Communication between PLC and Delta DTA Temperature Controller

12.7. Communication between PLC and Delta DTB Temperature Controller

12.8. PLC LINK 16 Slaves and Read/Write 16 Data (Word)

12.9. PLC LINK 32 Slaves and Read/Write 100 Data (Word)

12.10. LINK between PLC, Delta AC Motor Drive and AC Servo Drive

12.11. LINK between PLC, Delta DTA and DTB Temperature Controllers

12.12. Controlling START/STOP of 2 DVP PLCs through Communication

12.13. Communication between Delta PLC and Siemens MM420 Frequency Inverter

12.14. Communication between Delta PLC and Danfoss VLT6000 Series Adjustable Frequency Drive

13. Real Time Calendar Time Design Examples

13.1. TRD/TWR/TCMP - Office Bell Timing Control

13.2. TRD/TZCP - Control of Warehouse Automatic Door

13.3. HOUR - Control of Switching Motors after a Long Time Running

14. Simple Positioning Design Examples

14.1. Simple positioning Demonstration System of Delta ASDA AC Servo Drive

14.2. Draw DELTA LOGO by 2-axis Synchronous Motion

15. Handy Instruction Design Examples

15.1. ALT - Auto Blackboard Cleaner

15.2. RAMP - Ramp Control of Crane

15.3. INCD - Traffic Lights Control (Incremental Drum Sequencer)

15.4. ABSD - Adding Materials in Different Intervals (Absolute Drum Sequencer)

15.5. IST - Electroplating Process Auto Control

15.6. FTC - Fuzzy Temperature Control of the Oven

15.7. PID - Oven Temperature Control (Auto-tuning for PID Temperature Control)

16. Network Connection Design Examples

Tóm tắt

I. Tổng quan về lập trình PLC Delta Hướng dẫn chi tiết

Lập trình PLC Delta là một phần quan trọng trong tự động hóa công nghiệp. PLC Delta được biết đến với tính năng ổn định và hiệu suất cao. Việc hiểu rõ về lập trình PLC Delta giúp người dùng tối ưu hóa quy trình sản xuất và nâng cao hiệu quả công việc. Bài viết này sẽ cung cấp cái nhìn tổng quan về lập trình PLC Delta, từ cơ bản đến nâng cao.

1.1. Lập trình PLC Delta Khái niệm và ứng dụng

Lập trình PLC Delta là quá trình sử dụng phần mềm để điều khiển các thiết bị tự động. Ứng dụng của PLC Delta rất đa dạng, từ ngành thực phẩm đến ngành dệt may.

1.2. Các loại PLC Delta phổ biến trên thị trường

Trên thị trường hiện nay, có nhiều loại PLC Delta như DVP, DVP-SX, và DVP-ES. Mỗi loại có những tính năng và ứng dụng riêng biệt.

II. Vấn đề và thách thức trong lập trình PLC Delta

Mặc dù lập trình PLC Delta mang lại nhiều lợi ích, nhưng cũng tồn tại một số thách thức. Việc hiểu rõ các vấn đề này sẽ giúp người dùng dễ dàng hơn trong việc khắc phục và tối ưu hóa quy trình.

2.1. Khó khăn trong việc cấu hình PLC Delta

Cấu hình PLC Delta có thể gặp khó khăn do sự phức tạp trong các thông số kỹ thuật và yêu cầu của từng ứng dụng cụ thể.

2.2. Thiếu tài liệu hướng dẫn chi tiết

Nhiều người dùng gặp khó khăn trong việc tìm kiếm tài liệu hướng dẫn chi tiết về lập trình PLC Delta, điều này có thể ảnh hưởng đến hiệu quả công việc.

III. Phương pháp lập trình PLC Delta hiệu quả

Để lập trình PLC Delta hiệu quả, người dùng cần nắm vững một số phương pháp và kỹ thuật cơ bản. Những phương pháp này sẽ giúp tối ưu hóa quy trình lập trình và điều khiển.

3.1. Sử dụng ngôn ngữ lập trình Ladder

Ngôn ngữ lập trình Ladder là một trong những ngôn ngữ phổ biến nhất trong lập trình PLC Delta. Nó giúp người dùng dễ dàng hình dung và lập trình các quy trình điều khiển.

3.2. Tối ưu hóa mã lệnh trong PLC

Tối ưu hóa mã lệnh giúp giảm thiểu thời gian xử lý và tăng hiệu suất của PLC Delta. Việc này bao gồm việc sử dụng các lệnh hiệu quả và giảm thiểu số lượng lệnh không cần thiết.

IV. Ứng dụng thực tiễn của lập trình PLC Delta

Lập trình PLC Delta được ứng dụng rộng rãi trong nhiều lĩnh vực khác nhau. Những ứng dụng này không chỉ giúp nâng cao hiệu quả sản xuất mà còn tiết kiệm chi phí.

4.1. Ứng dụng trong ngành thực phẩm

Trong ngành thực phẩm, PLC Delta được sử dụng để điều khiển quy trình sản xuất, từ việc trộn nguyên liệu đến đóng gói sản phẩm.

4.2. Ứng dụng trong ngành dệt may

PLC Delta giúp tự động hóa quy trình dệt may, từ việc điều khiển máy dệt đến quản lý kho hàng.

V. Kết luận và tương lai của lập trình PLC Delta

Lập trình PLC Delta đang ngày càng trở nên quan trọng trong tự động hóa công nghiệp. Tương lai của lập trình PLC Delta hứa hẹn sẽ có nhiều cải tiến và ứng dụng mới.

5.1. Xu hướng phát triển công nghệ PLC

Công nghệ PLC đang phát triển nhanh chóng với nhiều tính năng mới, giúp nâng cao hiệu quả và độ tin cậy trong tự động hóa.

5.2. Tầm quan trọng của đào tạo lập trình PLC

Đào tạo lập trình PLC là rất cần thiết để đảm bảo người dùng có thể khai thác tối đa tiềm năng của PLC Delta trong công việc.

Tóm tắt và mô tả trên trang này được tạo với sự hỗ trợ của AI. Nếu bạn thấy nội dung không chính xác hoặc có vấn đề, vui lòng Báo lỗi nội dung.

27/07/2025
Vi du lap trinh plc delta

Trích đoạn nội dung tài liệu

Foreword I ndustrial Automation Business Unit (IABU) of Delta Electronics focuses our expertise on "Drive, Motion and Control" with our knowledge and experience in automation control. Our R&D teams continue researching and developing key technologies, producing innovative products in industrial automation; for example many OEM’s use our automation products for processing machines used in the food industry, textile industry, chemical industry, electronics industry, metal industry and plastic industry. Our automation equipment is also used in the pharmaceutical industry, printing industry, as well as for energy saving air-conditioning and water treatment facilities. In recent years, we have integrated our industrial automation products, developed industrial control networks, and offered integration services to our clients around the world.

Delta's DVP series high-speed, stable and highly reliable PLCs are applied in various automation machines. In addition to its fast logic operations, abundant instructions, various extension cards and cost-effectiveness, DVP series PLCs support many communication protocols, seamlessly integrating the industrial automation control system as a whole. To meet users’ needs for DVP-PLC programming examples, we provide examples of basic instructions including sequential/position control, timed counting and input/output control in DVP-PLC Application Examples. In addition, in this manual we also provides examples of advanced instructions including elementary arithmetic operations, data processing, high speed input/output control, network connection, and PLC communication(AC motor drive / temperature controller / servo motor).

DVP-PLC Application Examples includes most common applications in automation control, such as parking lot entry/exit control, material mixing, stock monitoring, level monitoring, traffic lights control, and conveyer belt control. This manual explains methods for applying basic instructions as well as advanced instructions of DVP-PLC to accomplish the field application purposes. Users can easily understand how DVP-PLC features in automation applications through this manual. By referring to our DVP-PLC Application Manual- 【 Programming 】 , users can also apply DVP-PLC efficiently on particular purposes and fulfill various control requirements in industrial automation.

DVP-PLC Application Examples CONTENTS 1. Basic Program Design Examples 1.1 Normally Closed Contact in Series Connection .2 Block in Parallel Connection .3 Rising-edge Pulse Output for One Scan Cycle.4 Falling-edge Pulse Output for One Scan Cycle .5 Latching Control Circuit.6 Interlock Control Circuit .7 Automatic Parameter Initialization When Powered Up .8 Common Latched Circuit and SET/RST Instructions Application .9 SET/RST - Latched and Unlatched Circuit .10 Alternate Output Circuit (With Latched Function) .11 Conditional Control Circuit .12 First-in Priority Circuit .13 Last-in Priority Circuit .14 Entry/Exit Control of the Underground Car Park.15 Forward/Reverse Control for the Three-Phase Asynchronous Motor .16 Selective Execution of Programs .17 MC/MCR - Manual/Auto Control .18 STL Manual/Auto Control. Counter Design Examples 2.1 Product Mass Packaging .2 Daily Production Record (16-bit Counting Up Latched Counter).3 Products Amount Calculation (32-bit Counting Up/Down Counter) .4 24-hour Clock Operated by 3 Counters .5 A B-phase Pulse High-speed Counter. Timer Design Examples 3.1 Delay OFF Program .2 Delay ON Program .3 Delay ON/OFF Program .4 Sequential Delay Output (Starting 3 Motors Sequentially) .5 Pulse-Width Modulation .6 Artificial Fishpond Water Level Monitoring System (Flashing Circuit) .7 Burn-in Test System (Timing Extension) .8 Star-Delta Reduced Voltage Starter Control .9 Automatic Door Control .10 Automatic Liquids Mixing Control System .11 Automatic Coffee Maker.12 Automatic Urinal Flushing Control Program .13 Performing Accumulative Function with Normal Timer .14 Performing Teaching Function with Normal Timer .15 Auto Interruption Timer.17 Traffic Lights Control.

Index Registers E, F Design Examples 4.1 Summation of Continuous D Registers .2 Parameter Setting for Product Recipe .3 Controlling Voltage Output of 2 DVP-04DA by 8 VRs (Variable Resistors). Loop Instruction Design Examples 5.1 Recipe Setting by CJ Instruction .2 Reservoir Level Control .3 Fire Alarm in the Office (Interruption Application) .4 Auto Lock up System in the Supermarket (FOR ~ NEXT). Data Transmission and Comparison Design Examples 6.1 CMP - Material Mixing Machine .2 ZCP - Water Level Alarm Control .3 BMOV - Multiple History Data Backup .4 FMOV - Single Data Broadcasting .5 CML - Color Lights Flashing .6 XCH - Exchanging the Upper and Lower 8 bits in a Register .7 DIP Switch Input and 7-segment Display Output. Elementary Arithmetic Operations Design Examples 7.1 Accurate Pipe Flow Measurement .2 INC/DEC - Fine Tuning by JOG Control.3 NEG - Displacement Reverse Control.

Rotation and Shift Design Examples 8.1 ROL/ROR - Neon Lamp Design .2 SFTL - Defective Product Detect.3 WSFL - Automatic Sorting Mixed Products .4 SFWR/SFRD - Room Service Call Control. Data Processing Design Examples 9.1 ENCO/DECO - Encoding and Decoding.2 SUM/BON - Checking and Counting the Number of “1” .3 MEAN/SQR - Mean Value and Square Root.4 MEMR/MEMW - File Register Access .5 ANS/ANR - Level Monitoring Alarm System .6 SORT - Sorting Acquired Data .7 SER - Room Temperature Monitoring. High-speed Input/Output Design Examples 10.1 REF/REFF - DI/DO Refreshment and DI Filter Time Setting .2 DHSCS - Cutting Machine Control .3 DHSZ/DHSCR - Multi-segment Coater Control.4 SPD - Wheel Rotation Speed Measurement .5 PLSY - Production Line Control Program.6 PWM - Sprayer Valve Control Program .7 PLSR - Servo Motor Acceleration/Deceleration Control. Floating Point Operation Design Examples 11.1 Elementary Arithmetic for Integer and Floating Point .2 Elementary Arithmetic for Floating Point.

Communication Design Examples Introduction .1 Communication between PLC and Delta VFD-M Series AC Motor Drive .2 Communication between PLC and Delta VFD-B Series AC Motor Drive .3 Communication between PLC and Delta VFD-V Series AC Motor Drive .4 Communication between PLC and Delta ASD-A Series AC Servo Drive .5 Communication between PLC and Delta ASD-A Series AC Servo Drive .6 Communication between PLC and Delta DTA Temperature Controller .7 Communication between PLC and Delta DTB Temperature Controller .8 PLC LINK 16 Slaves and Read/Write 16 Data (Word) .9 PLC LINK 32 Slaves and Read/Write 100 Data (Word) .10 LINK between PLC, Delta AC Motor Drive and AC Servo Drive .11 LINK between PLC, Delta DTA and DTB Temperature Controllers .12 Controlling START/STOP of 2 DVP PLCs through Communication .13 Communication between Delta PLC and Siemens MM420 Frequency Inverter .14 Communication between Delta PLC and Danfoss VLT6000 Series Adjustable Frequency Drive. Real Time Calendar Time Design Examples 13.1 TRD/TWR/TCMP - Office Bell Timing Control.2 TRD/TZCP - Control of Warehouse Automatic Door .3 HOUR - Control of Switching Motors after a Long Time Running. Simple Positioning Design Examples 14.1 Simple positioning Demonstration System of Delta ASDA AC Servo Drive14-1 14.2 Draw DELTA LOGO by 2-axis Synchronous Motion. Handy Instruction Design Examples 15.1 ALT - Auto Blackboard Cleaner .2 RAMP - Ramp Control of Crane .3 INCD - Traffic Lights Control (Incremental Drum Sequencer) .4 ABSD - Adding Materials in Different Intervals (Absolute Drum Sequencer)15-9 15.5 IST - Electroplating Process Auto Control .6 FTC - Fuzzy Temperature Control of the Oven .7 PID - Oven Temperature Control (Auto-tuning for PID Temperature Control).

Network Connection Design Examples 16. Basic Program Design Examples 1.1 Normally Closed Contact in Series Connection Y0 X1 X0 Control Purpose: z Detecting the standing bottles on the conveyor and pushing the fallen bottles out Devices: Device Function X0 X0 = ON when the detected input signal from the bottle-bottom is sheltered. X1 X1 = ON when the detected input signal from the bottle-neck is sheltered. Y0 Pneumatic pushing pole Control Program: X0 X1 Y0 Program Description: z If the bottle on the conveyor belt is upstanding, the input signal from monitoring photocell at both bottle-bottom and bottle-neck will be detected.

In this case, X0 = ON, and X1 = ON. The normally open (NO) contact X0 will be activated as well as the normally closed (NC) contact X1. Y0 remains OFF and pneumatic pushing pole will not perform any action. z If the bottle from the conveyor belt is down, only the input signal from monitoring photocell at the bottle-bottom will be detected.

In this case, X0 = ON, X1 = OFF. The state of output YO will be ON because the NO contact X0 activates and the NC contact X1 remains OFF. The pneumatic pushing pole will push the fallen bottle out of the conveyor belt. DVP-PLC Application Examples 1-1 1.

Basic Program Design Examples 1.2 Block in Parallel Connection Y0 X1 X0 Control Purpose: z Setting up a lighting system for users to switch on/off the light whether they are at the bottom or the top of the stairs. Devices: Device Function X0 X0 turns ON when the bottom switch is turned to the right X1 X1 turns ON when the top switch is turned to the right. Y1 Stair light Control Program: X0 X1 Y0 X0 X1 Program Description: z If the states of the bottom switch and the top switch are the same, both ON or OFF, the light will be ON. If different, one is ON and the other is OFF, the light will be OFF.

z When the light is OFF, users can turn on the light by changing the state of either top switch at the bottom switch of the stairs. Likewise, when the light is ON, users can turn off the light by changing the state of one of the two switches. 1-2 DVP-PLC Application Examples 1. Basic Program Design Examples 1.3 Rising-edge Pulse Output for One Scan Cycle Control Purpose: z Creating a pulse of one program scan cycle as the condition to trigger the indicator or other devices when the switch (X0) is turned on.

X0 M10 One scan cycle Y0 Devices: Device Function X0 Switch (OFF→ON) M10 Creating a trigger pulse for one program scan cycle Y0 Indicator Control Program: X0 PLS M10 M10 turns on for one scan cycle M10 SET Y0 Program Description: z When X0 is turned on (Rising-edge triggered), PLS instruction will be executed, and M10 will send a pulse for one program scan cycle. z When M10 = ON, [SET Y0] instruction will be executed and Y0 will be ON. In this case, the indicator will be lighted, and other devices will be activated as well. DVP-PLC Application Examples 1-3 1.

Basic Program Design Examples 1.4 Falling-edge Pulse Output for One Scan Cycle X0 Y0(Electromagnetic valve) Control Purpose: z Creating a pulse of one program scan cycle as the condition to trigger the electromagnetic valve or other devices when the switch is turned off. X0 M10 One scan cycle Y0 Devices: Device Function X0 Switch(ON→OFF) M10 Creating a trigger pulse for one program scan cycle Y0 Electromagnetic valve Control Program: X0 PLF M10 M10 turns on for one scan cycle M10 RST Y0 Y0 = OFF Program Description: z When X0 is turned on (Falling-edge triggered), PLF instruction will be executed, and M10 will send a pulse for one program scan cycle. z When M10 = ON, [RST Y0] instruction will be executed and Y0 will be OFF. In this case, the electromagnetic valve will be shut down.

1-4 DVP-PLC Application Examples 1. Basic Program Design Examples 1.5 Latching Control Circuit Y0 X0 START X1 STOP X2 TEST Control Purpose: z Controlling the running state of the ceiling-fan by pressing START and STOP. z Checking if the ceiling-fan is running normally by pressing TEST. Devices: Device Function X0 Press START, X0 = ON.

X1 Press STO, X1 = ON. X2 Press TEST, X2 = ON. X3 Error signal Y1 Ceiling-fan motor control signal Control Program: X0 X1 X3 Y1 Y1 Error Signal X2 TEST button Program Description: z Press START lightly and X0 = ON. The ceiling-fan will keep running if no error occurred (X3 = OFF).

The action can be practiced by a latching circuit which takes output Y1 as one of the input condition to keep the fan running even if the START button is not pressed. z When STOP is pressed, X1 = ON and Y1 = OFF. The ceiling-fan will stop running. z If error occur (X3 = ON), Y1 will be OFF and the ceiling-fan will stop running.

z When TEST is pressed (X2 = ON), Y1 = ON. The ceiling-fan will start running if no error occurred (X3 = OFF).

Nội dung được bảo vệ bản quyền — Tải xuống đầy đủ