Transcription of Application Manual DVP-PLC Application Manual
1 DVP-PLC Application ( Programming ) DVP-PLC Application Manual ( Programming ) 20130530 Industrial Automation HeadquartersDelta Electronics, Inc. Taoyuan Technology , Xinglong Rd., Taoyuan City, Taoyuan County 33068, TaiwanTEL: 886-3-362-6301 / FAX: 886-3-371-6301 AsiaDelta Electronics (Jiangsu) Plant 31688 Jiangxing East Road, Wujiang Economic Development ZoneWujiang City, Jiang Su Province, People's Republic of China (Post code: 215200)TEL: 86-512-6340-3008 / FAX: 86-769-6340-7290 Delta Greentech (China) Co.
2 , Min-Xia Road, Pudong District, ShangHai, code : 201209 TEL: 86-21-58635678 / FAX: 86-21-58630003 Delta Electronics (Japan), Office 2-1-14 Minato-ku Shibadaimon, Tokyo 105-0012, JapanTEL: 81-3-5733-1111 / FAX: 81-3-5733-1211 Delta Electronics (Korea), , Byucksan Digital Valley 6-cha, Gasan-dong, Geumcheon-gu, Seoul, Korea, 153-704 TEL: 82-2-515-5303 / FAX: 82-2-515-5302 Delta Electronics Int l (S) Pte Ltd4 Kaki Bukit Ave 1, #05-05, Singapore 417939 TEL: 65-6747-5155 / FAX: 65-6744-9228 Delta Electronics (India) Pvt.
3 No 43 Sector 35, HSIIDC Gurgaon, PIN 122001, Haryana, India TEL : 91-124-4874900 / FAX : 91-124-4874945 AmericasDelta Products Corporation (USA)Raleigh Box 12173,5101 Davis Drive, Research Triangle Park, NC 27709, : 1-919-767-3800 / FAX: 1-919-767-8080 Delta Greentech (Brasil) Paulo OfficeRua Itapeva, 26 - 3 andar Edificio Itapeva One-Bela Vista01332-000-S o Paulo-SP-BrazilTEL: +55 11 3568-3855 / FAX: +55 11 3568-3865 EuropeDeltronics (The Netherlands) OfficeDe Witbogt 15, 5652 AG Eindhoven, The Netherlands TEL: 31-40-2592850 / FAX: 31-40-2592851 DVP-0959720-04*We reserve the right to change the information in this catalogue without prior notice.
4 DVP-PLC Application Manual : Programming Table of Contents Chapter 1 Basic Principles of PLC Ladder Diagram Foreword: Background and Functions of 1-1 The Working Principles of Ladder 1-1 Differences Between Traditional Ladder Diagram and PLC Ladder Diagram .. 1-2 Edition Explanation of Ladder Diagram .. 1-3 How to Edit Ladder Diagram .. 1-8 The Conversion of PLC Command and Each Diagram Structure .. 1-12 Simplified Ladder 1-15 Basic Program Designing 1-17 Chapter 2 Functions of Devices in DVP-PLC All Devices in 2-1 Values, Constants [K] / [H].
5 2-9 Numbering and Functions of External Input/Output Contacts [X] / [Y].. 2-10 Numbering and Functions of Auxiliary Relays [M] .. 2-14 Numbering and Functions of Step Relays [S] .. 2-14 Numbering and Functions of Timers [T] .. 2-16 Numbering and Functions of Counters [C] .. 2-18 Numbering and Functions of Registers [D], [E], [F] .. 2-33 Data register [D] .. 2-33 Index Register [E], [F] .. 2-34 Functions and Features of File Registers .. 2-34 Pointer [N], Pointer [P], Interruption Pointer [I].
6 2-35 Special Auxiliary Relays and Special Data Registers .. 2-39 Functions of Special Auxiliary Relays and Special 2-88 Communication Addresses of Devices in DVP Series 2-155 Error Codes .. 2-157 Chapter 3 Basic Instructions Basic Instructions and Step Ladder 3-1 Explanations on Basic Instructions .. 3-3 Chapter 4 Step Ladder Instructions Step Ladder Instructions [STL], [RET] .. 4-1 Sequential Function Chart (SFC) .. 4-2 How does a Step Ladder Instruction Work? .. 4-3 Things to Note for Designing a Step Ladder 4-8 Types of 4-10 IST Instruction.
7 4-18 Chapter 5 Categories & Use of Application Instructions List of Instructions .. 5-1 Composition of Application Instruction .. 5-9 Handling of Numeric 5-14 E, F Index Register Modification .. 5-16 Instruction Index ..5-18 Chapter 6 Application Instructions API 00-49 API00 ~ 09 Loop 6-1 API10 ~ 19 Transmission Comparison .. 6-20 API20 ~ 29 Four Arithmetic Operation .. 6-37 API30 ~ 39 Rotation & Displacement .. 6-52 API40 ~ 49 Data Processing .. 6-63 Chapter 7 Application Instructions API 50-88 API50 ~ 59 High Speed 7-1 API60 ~ 69 Handy Instructions.
8 7-42 API70 ~ 79 Display of External 7-74 API80 ~ 88 Serial 7-97 Chapter 8 Application Instructions API 100-149 API100 ~ 109 Communication .. 8-1 API110 ~ 119 Floating Point Operation .. 8-22 API120 ~ 129 Floating Point 8-37 API130 ~ 139 Floating Point 8-49 API140 ~ 149 Others .. 8-61 Chapter 9 Application Instructions API 150-199 API150 ~ 154 Others .. 9-1 API155 ~ 159 Position Control .. 9-29 API160 ~ 169 Real Time 9-60 API170 ~ 179 Gray Code Conversion/Floating Point Operation.
9 9-72 API180 ~ 190 Matrix .. 9-90 API190 ~ 199 Positioning Instruction .. 9-106 Chapter 10 Application Instructions API 202-313 API202 ~ 207 Others.. 10-1 API215 ~ 223 Contact Type Logic Operation Instruction.. 10-16 API224 ~ 246 Contact Type Comparison Instruction .. 10-19 API266 ~ 274 Word Device Bit Instruction .. 10-26 API275 ~ 313 Floating-point Contact Type Comparison 10-32 Chapter 11 Appendix Appendix A: Table for Self-detecting Abnormality .. 11-1 Appendix B: MPU Terminal 11-2 Appendix C: Terminal Layout for Digital I/O 11-6 Appendix D: Difference between EH2 and EH3.
10 11-9 Appendix E: Current Consumption of a Slim PLC/an Extension Module .. 11-10 Appendix F: Current Consumption of an EH2/EH3 Series PLC/an Extension 11-12 Appendix G: Using Ethernet Communication ..11-14 Appendix H: Revision History .. 11-27 The models that every series includes are as follows. Series Model name DVP-ES DVP14ES00R2, DVP14ES00T2, DVP14ES01R2, DVP14ES01T2, DVP24ES00R, DVP24ES00R2, DVP24ES00T2, DVP24ES01R2, DVP24ES01T2, DVP24ES11R2, DVP30ES00R2, DVP30ES00T2, DVP32ES00R, DVP32ES00R2, DVP32ES00T2, DVP32ES01R2, DVP32ES01T2, DVP40ES00R2, DVP40ES00T2, DVP60ES00R2, DVP60ES00T2 DVP10EC00R3, DVP10EC00T3, DVP14EC00R3, DVP14EC00T3, DVP16EC00R3, DVP16EC00T3, DVP20EC00R3, DVP20EC00T3, DVP24EC00R3, DVP24EC00T3, DVP30EC00R3, DVP30EC00T3, DVP32EC00R3, DVP32EC00T3, DVP40EC00R3, DVP40EC00T3, DVP60EC00R3.