Delta · DVP · 267 стр.

Руководство по эксплуатации Delta DVP-PLC — Примеры программирования (EN)

Оригинальное название: DVP-PLC Application Examples of Programming(CURVE)

Читать онлайн

Похожие инструкции

Содержание

Текст документа

Foreword

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.

Стр. 2

CONTENTS

DVP-PLC Application Examples C O N T E N T S 1. Basic Program Design Examples 1.1 Normally Closed Contact in Series Connection........................................ 1-1 1.2 Block in Parallel Connection................................................................... 1-2 1.3 Rising-edge Pulse Output for One Scan Cycle......................................... 1-3 1.4 Falling-edge Pulse Output for One Scan Cycle ........................................ 1-4 1.5 Latching Control Circuit.......................................................................... 1-5 1.6 Interlock Control Circuit .........................................................................

1-6 1.7 Automatic Parameter Initialization When Powered Up .............................. 1-7 1.8 Common Latched Circuit and SET/RST Instructions Application ............... 1-8 1.9 SET/RST - Latched and Unlatched Circuit............................................... 1-9 1.10 Alternate Output Circuit (With Latched Function) ................................... 1-10 1.11 Conditional Control Circuit .................................................................... 1-12 1.12 First-in Priority Circuit .......................................................................... 1-13 1.13 Last-in Priority Circuit ..........................................................................

1-15 1.14 Entry/Exit Control of the Underground Car Park..................................... 1-16 1.15 Forward/Reverse Control for the Three-Phase Asynchronous Motor ....... 1-18 1.16 Selective Execution of Programs .......................................................... 1-19 1.17 MC/MCR - Manual/Auto Control ............................................................ 1-21 1.18 STL Manual/Auto Control...................................................................... 1-24 2. Counter Design Examples 2.1 Product Mass Packaging ........................................................................ 2-1 2.2 Daily Production Record (16-bit Counting Up Latched Counter)................

2-2 2.3 Products Amount Calculation (32-bit Counting Up/Down Counter) ............ 2-4 2.4 24-hour Clock Operated by 3 Counters ................................................... 2-5 i

Стр. 4

CONTENTS

2.5 A B-phase Pulse High-speed Counter ..................................................... 2-6 3. Timer Design Examples 3.1 Delay OFF Program ............................................................................... 3-1 3.2 Delay ON Program................................................................................. 3-2 3.3 Delay ON/OFF Program ......................................................................... 3-3 3.4 Sequential Delay Output (Starting 3 Motors Sequentially) ........................ 3-4 3.5 Pulse-Width Modulation .........................................................................

3-6 3.6 Artificial Fishpond Water Level Monitoring System (Flashing Circuit) ........ 3-7 3.7 Burn-in Test System (Timing Extension) .................................................. 3-9 3.8 Star-Delta Reduced Voltage Starter Control............................................. 3-11 3.9 Automatic Door Control .......................................................................... 3-13 3.10 Automatic Liquids Mixing Control System .............................................. 3-15 3.11 Automatic Coffee Maker........................................................................ 3-17 3.12 Automatic Urinal Flushing Control Program ...........................................

3-19 3.13 Performing Accumulative Function with Normal Timer ............................ 3-21 3.14 Performing Teaching Function with Normal Timer .................................. 3-23 3.15 Auto Interruption Timer......................................................................... 3-25 3.16 Interesting Fountain ............................................................................. 3-27 3.17 Traffic Lights Control ............................................................................ 3-29 4. Index Registers E, F Design Examples 4.1 Summation of Continuous D Registers ....................................................

4-1 4.2 Parameter Setting for Product Recipe ..................................................... 4-3 4.3 Controlling Voltage Output of 2 DVP-04DA by 8 VRs (Variable Resistors) . 4-5 5. Loop Instruction Design Examples 5.1 Recipe Setting by CJ Instruction ............................................................. 5-1 5.2 Reservoir Level Control .......................................................................... 5-3 5.3 Fire Alarm in the Office (Interruption Application) .................................... 5-5 5.4 Auto Lock up System in the Supermarket (FOR ~ NEXT) ......................... 5-7 ii

Стр. 5

CONTENTS

6. Data Transmission and Comparison Design Examples 6.1 CMP - Material Mixing Machine .............................................................. 6-1 6.2 ZCP - Water Level Alarm Control ............................................................ 6-3 6.3 BMOV - Multiple History Data Backup ..................................................... 6-4 6.4 FMOV - Single Data Broadcasting .......................................................... 6-5 6.5 CML - Color Lights Flashing ................................................................... 6-7 6.6 XCH - Exchanging the Upper and Lower 8 bits in a Register ....................

6-8 6.7 DIP Switch Input and 7-segment Display Output...................................... 6-9 7. Elementary Arithmetic Operations Design Examples 7.1 Accurate Pipe Flow Measurement ........................................................... 7-1 7.2 INC/DEC - Fine Tuning by JOG Control................................................... 7-3 7.3 NEG - Displacement Reverse Control ..................................................... 7-5 8. Rotation and Shift Design Examples 8.1 ROL/ROR - Neon Lamp Design .............................................................. 8-1 8.2 SFTL - Defective Product Detect.............................................................

8-3 8.3 WSFL - Automatic Sorting Mixed Products .............................................. 8-5 8.4 SFWR/SFRD - Room Service Call Control............................................... 8-8 9. Data Processing Design Examples 9.1 ENCO/DECO - Encoding and Decoding................................................... 9-1 9.2 SUM/BON - Checking and Counting the Number of “1” ............................ 9-3 9.3 MEAN/SQR - Mean Value and Square Root............................................. 9-4 9.4 MEMR/MEMW - File Register Access...................................................... 9-5 9.5 ANS/ANR - Level Monitoring Alarm System .............................................

9-7 9.6 SORT - Sorting Acquired Data ................................................................ 9-8 9.7 SER - Room Temperature Monitoring ...................................................... 9-10 10. High-speed Input/Output Design Examples 10.1 REF/REFF - DI/DO Refreshment and DI Filter Time Setting ................... 10-1 10.2 DHSCS - Cutting Machine Control ........................................................ 10-3 10.3 DHSZ/DHSCR - Multi-segment Coater Control....................................... 10-4 iii

Стр. 6