application manual dvp-plc application manual - · pdf fileb. dvp-plc application manual....

Click here to load reader

Post on 01-Feb-2018

345 views

Category:

Documents

23 download

Embed Size (px)

TRANSCRIPT

  • DVP-PLC Application Manual

    www.delta.com.tw/ia

    ( Programming )

    DV

    P-P

    LC A

    pp

    licatio

    n M

    an

    ual ( P

    rog

    ram

    min

    g )

    20130530

    Industrial Automation HeadquartersDelta Electronics, Inc. Taoyuan Technology CenterNo.18, Xinglong Rd., Taoyuan City, Taoyuan County 33068, TaiwanTEL: 886-3-362-6301 / FAX: 886-3-371-6301

    AsiaDelta Electronics (Jiangsu) Ltd.Wujiang 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., Ltd.238 Min-Xia Road, Pudong District, ShangHai, P.R.C.Post code : 201209TEL: 86-21-58635678 / FAX: 86-21-58630003 Delta Electronics (Japan), Inc.Tokyo Office 2-1-14 Minato-ku Shibadaimon, Tokyo 105-0012, JapanTEL: 81-3-5733-1111 / FAX: 81-3-5733-1211

    Delta Electronics (Korea), Inc.1511, Byucksan Digital Valley 6-cha, Gasan-dong, Geumcheon-gu, Seoul, Korea, 153-704TEL: 82-2-515-5303 / FAX: 82-2-515-5302

    Delta Electronics Intl (S) Pte Ltd4 Kaki Bukit Ave 1, #05-05, Singapore 417939TEL: 65-6747-5155 / FAX: 65-6744-9228

    Delta Electronics (India) Pvt. Ltd.Plot No 43 Sector 35, HSIIDC Gurgaon, PIN 122001, Haryana, India TEL : 91-124-4874900 / FAX : 91-124-4874945

    AmericasDelta Products Corporation (USA)Raleigh OfficeP.O. Box 12173,5101 Davis Drive, Research Triangle Park, NC 27709, U.S.A.TEL: 1-919-767-3800 / FAX: 1-919-767-8080

    Delta Greentech (Brasil) S.ASao Paulo OfficeRua Itapeva, 26 - 3 andar Edificio Itapeva One-Bela Vista01332-000-So Paulo-SP-BrazilTEL: +55 11 3568-3855 / FAX: +55 11 3568-3865

    EuropeDeltronics (The Netherlands) B.V.Eindhoven 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.

  • DVP-PLC Application Manual: Programming Table of Contents

    Chapter 1 Basic Principles of PLC Ladder Diagram Foreword: Background and Functions of PLC.......................................................... 1-1

    1.1 The Working Principles of Ladder Diagram ........................................................ 1-1

    1.2 Differences Between Traditional Ladder Diagram and PLC Ladder Diagram ........ 1-2

    1.3 Edition Explanation of Ladder Diagram ............................................................. 1-3

    1.4 How to Edit Ladder Diagram ............................................................................. 1-8

    1.5 The Conversion of PLC Command and Each Diagram Structure ......................... 1-12

    1.6 Simplified Ladder Diagram ............................................................................... 1-15

    1.7 Basic Program Designing Examples .................................................................. 1-17

    Chapter 2 Functions of Devices in DVP-PLC 2.1 All Devices in DVP-PLC.................................................................................... 2-1

    2.2 Values, Constants [K] / [H] ............................................................................... 2-9

    2.3 Numbering and Functions of External Input/Output Contacts [X] / [Y].................. 2-10

    2.4 Numbering and Functions of Auxiliary Relays [M] .............................................. 2-14

    2.5 Numbering and Functions of Step Relays [S] ..................................................... 2-14

    2.6 Numbering and Functions of Timers [T] ............................................................. 2-16

    2.7 Numbering and Functions of Counters [C] ......................................................... 2-18

    2.8 Numbering and Functions of Registers [D], [E], [F] ............................................ 2-33

    2.8.1 Data register [D] ........................................................................................ 2-33

    2.8.2 Index Register [E], [F] ................................................................................ 2-34

    2.8.3 Functions and Features of File Registers .................................................... 2-34

    2.9 Pointer [N], Pointer [P], Interruption Pointer [I] .................................................. 2-35

    2.10 Special Auxiliary Relays and Special Data Registers ........................................ 2-39

    2.11 Functions of Special Auxiliary Relays and Special Registers............................. 2-88

    2.12 Communication Addresses of Devices in DVP Series PLC................................ 2-155

    2.13 Error Codes ................................................................................................... 2-157

    Chapter 3 Basic Instructions 3.1 Basic Instructions and Step Ladder Instructions ................................................ 3-1

  • 3.2 Explanations on Basic Instructions ................................................................... 3-3

    Chapter 4 Step Ladder Instructions 4.1 Step Ladder Instructions [STL], [RET] ............................................................... 4-1

    4.2 Sequential Function Chart (SFC) ...................................................................... 4-2

    4.3 How does a Step Ladder Instruction Work? ....................................................... 4-3

    4.4 Things to Note for Designing a Step Ladder Program......................................... 4-8

    4.5 Types of Sequences ......................................................................................... 4-10

    4.6 IST Instruction ................................................................................................. 4-18

    Chapter 5 Categories & Use of Application Instructions 5.1 List of Instructions ........................................................................................... 5-1

    5.2 Composition of Application Instruction .............................................................. 5-9

    5.3 Handling of Numeric Values.............................................................................. 5-14

    5.4 E, F Index Register Modification ....................................................................... 5-16

    5.5 Instruction Index .............................................................................................. 5-18

    Chapter 6 Application Instructions API 00-49 API00 ~ 09Loop Control.......................................................................... 6-1

    API10 ~ 19Transmission Comparison ...................................................... 6-20

    API20 ~ 29Four Arithmetic Operation ...................................................... 6-37

    API30 ~ 39Rotation & Displacement ........................................................ 6-52

    API40 ~ 49Data Processing .................................................................... 6-63

    Chapter 7 Application Instructions API 50-88 API50 ~ 59High Speed Processing .......................................................... 7-1

    API60 ~ 69Handy Instructions ................................................................. 7-42

    API70 ~ 79Display of External Settings ................................................... 7-74

    API80 ~ 88Serial I/O............................................................................... 7-97

    Chapter 8 Application Instructions API 100-149 API100 ~ 109Communication .................................................................. 8-1

    API110 ~ 119Floating Point Operation ..................................................... 8-22

    API120 ~ 129Floating Point Operation ..................................................... 8-37

    API130 ~ 139Floating Point Operatio....................................................... 8-49

    API140 ~ 149Others ............................................................................... 8-61

  • Chapter 9 Application Instructions API 150-199 API150 ~ 154Others ............................................................................... 9-1

    API155 ~ 159Position Control ................................................................. 9-29

    API160 ~ 169Real Time Calendar............................................................ 9-60

    API170 ~ 179Gray Code Conversion/Floating Point Operation .................. 9-72

    API180 ~ 190Matrix ................................................................................ 9-90

    API190 ~ 199Positioning Instruction ........................................................ 9-106

    Chapter 10 Application Instructions API 202-313 API202 ~ 207Others. .............................................................................. 10-1

    API215 ~ 223Contact Type Logic Operation Instruction. ........................... 10-16

    API224 ~ 246Contact Type Comparison Instruction .................................. 10-19

    API266 ~ 274Word Device Bit Instruction ................................................ 10-26

    API275 ~ 313Floating-point Contact Type Comparison Instruction............. 10-32

    Chapter 11 Appendix 11.1 Appendix A: Table for Self-detecting Abnormality ............................................. 11-1

    11.2 Appendix B: MPU Terminal Layout................................................................... 11-2

    11.3 Appendix C: Terminal Layout for Digital I/O Modules ........................................ 11-6

    11.4 Appendix D: Difference between EH2 and EH3 ................................................ 11-9

    11.5 Appendix E: Current Consumption of a Slim PLC/an Extension

View more