1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

Programming instructions for DVP ES2 EX2 SS2 SA2 SX2 SE MC series and TP

855 5 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Cấu trúc

  • DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming

  • Revision History

  • Contents

  • Chapter 1 PLC Concepts

    • 1.1 PLC Scan Method

    • 1.2 Current Flow

    • 1.3 NO Contact, NC Contact

    • 1.4 PLC Registers and Relays

    • 1.5 Ladder Logic Symbols

      • 1.5.1 Creating a PLC Ladder Program

      • 1.5.2 LD / LDI (Load NO contact / Load NC contact)

      • 1.5.3 LDP / LDF (Load Rising edge trigger/ Load Falling edge trigger)

      • 1.5.4 AND / ANI (Connect NO contact in series / Connect NC contact in series)

      • 1.5.5 ANDP / ANDF (Connect Rising edge in series/ Connect Falling edge in series)

      • 1.5.6 OR / ORI (Connect NO contact in parallel / Connect NC contact in parallel)

      • 1.5.7 ORP / ORF (Connect Rising edge in parallel/ Connect Falling edge in parallel)

      • 1.5.8 ANB (Connect block in series)

      • 1.5.9 ORB (Connect block in parallel)

      • 1.5.10 MPS / MRD / MPP (Branch instructions)

      • 1.5.11 STL (Step Ladder Programming)

      • 1.5.12 RET (Return)

    • 1.6 Conversion between Ladder Diagram and Instruction List Mode

    • 1.7 Fuzzy Syntax

    • 1.8 Correcting Ladder Diagram

    • 1.9 Basic Program Design Examples

  • Chapter 2 Programming Concepts

    • 2.1 ES2/EX2 Memory Map

    • 2.2 SS2 Memory Map

    • 2.3 SA2/SX2 Memory Map

    • 2.4 SE Memory Map

    • 2.5 Status and Allocation of Latched Memory

    • 2.6 PLC Bits, Nibbles, Bytes, Words, etc

    • 2.7 Binary, Octal, Decimal, BCD, Hex

    • 2.8 M Relay

    • 2.9 S Relay

    • 2.10 T (Timer)

    • 2.11 C (Counter)

    • 2.12 High-speed Counters

    • 2.13 Special Data Register

    • 2.14 E, F Index Registers

    • 2.15 Nest Level Pointer[N], Pointer[P], Interrupt Pointer [I]

    • 2.16 Applications of Special M Relays and D Registers

  • Chapter 3 Instruction Set

    • 3.1 Basic Instructions (without API numbers)

    • 3.2 Explanations to Basic Instructions

    • 3.3 Pointers

    • 3.4 Interrupt Pointers

    • 3.5 Application Programming Instructions

      • Instruction Composition

      • Decimal Floating Point

    • 3.6 Numerical List of Instructions (classified according to the function)

    • 3.7 Numerical List of Instructions (in alphabetic order)

    • 3.8 Detailed Instruction Explanation

  • Chapter 4 Communications

    • 4.1 Communication Ports

    • 4.2 Communication Protocol ASCII mode

      • 4.2.1 ADR (Communication Address)

      • 4.2.2 CMD (Command code) and DATA

      • 4.2.3 LRC CHK (checksum)

    • 4.3 Communication Protocol RTU mode

      • 4.3.1 Address (Communication Address)

      • 4.3.2 CMD (Command code) and DATA

      • 4.3.3 CRC CHK (check sum)

    • 4.4 PLC Device Address

    • 4.5 Command Code

      • 4.5.1 Command Code: 01, Read Status of Contact (Input point X is not included)

      • 4.5.2 Command Code: 02, Read Status of Contact (Input point X is included)

      • 4.5.3 Command Code: 03, Read Content of Register (T, C, D)

      • 4.5.4 Command Code: 05, Force ON/OFF single contact

      • 4.5.5 Command Code: 06, Set content of single register

      • 4.5.6 Command Code: 15, Force ON/OFF multiple contacts

      • 4.5.7 Command Code: 16, Set content of multiple registers

  • Chapter 5 Sequential Function Chart

    • 5.1 Step Ladder Instruction [STL], [RET]

    • 5.2 Sequential Function Chart (SFC)

    • 5.3 The Operation of STL Program

    • 5.4 Points to Note for Designing a Step Ladder Program

    • 5.5 Types of Sequences

    • 5.6 IST Instruction

  • Chapter 6 Troubleshooting

    • 6.1 Common Problems and Solutions

    • 6.2 Error code Table (Hex)

    • 6.3 Error Detection Devices

  • Chapter 7 CANopen Function and Operation

    • 7.1 The Introduction of CANopen

      • 7.1.1 The Description of the CANopen Functions

      • 7.1.2 The Input/Output Mapping Areas

    • 7.2 The Installation and the Network Topology

      • 7.2.1 The Dimensions

      • 7.2.2 The Profile

      • 7.2.3 The CAN Interface and the Network Topology

    • 7.3 The CANopen Protocol

      • 7.3.1 The Introduction of the CANopen Protocol

      • 7.3.2 The CANopen Communication Object

      • 7.3.3 The Predefined Connection Set

    • 7.4 Sending SDO, NMT and Reading Emergency Message through the Ladder Diagram

      • 7.4.1 Data Structure of SDO Request Message

      • 7.4.2 Data Structure of NMT Message

      • 7.4.3 Data Structure of EMERGENCY Request Message

      • 7.4.4 Example on Sending SDO through the Ladder Diagram

    • 7.5 Indicators and Troubleshooting

      • 7.5.1 Description of Indicators

      • 7.5.2 CANopen Network Node State Display

    • 7.6 Application Example

    • 7.7 Object Dictionary

  • Appendix A

    • A.1 Installing the USB Driver in Windows 7

    • A.2 Installing the USB in Windows 8

    • A.3 Installing the USB Driver in Windows 10

  • Appendix B

    • B.1 Specifications for an Ethernet PLC/Module

    • B.2 Ethernet Control Registers

      • B.2.1 Station Addresses of Ethernet Modules

      • B.2.2 DVP-SE / ES2-E Series PLC (Ethernet PLC)

      • B.2.3 DVPEN01-SL (Left-side Ethernet Communication Module)

      • B.2.4 DVP-FEN01 (DVP-EH3 Series Ethernet Communication Card)

    • B.3 Searching for an Ethernet PLC

      • B.3.1 Communication setting

      • B.3.2 Broadcast Search

      • B.3.3 Searching for a Model Specified

      • B.3.4 Searching by an IP Address

    • B.4 Data Exchange

    • B.5 EtherNet/IP List

      • B.5.1 EtherNet/IP Information Supported by DVP-SE / ES2-E Series PLCs

      • B.5.2 EtherNet/IP Objects Supported by DVP-SE / ES2-E Series PLCs

    • B.6 RTU Mapping

      • B.6.1 Setting the RTU Mapping

      • B.6.2 Application of the RTU Mapping

  • Appendix C

    • C.1 TP Memory Map

    • C.2 Special Data Register

    • C.3 Special Auxiliary Relay

    • C.4 Instructions applicable to TP

      • C.4.1 Basic Instructions

      • C.4.2 Numerical List of Instructions

      • C.4.3 Additional Remarks on High-speed Instructions

  • Appendix D

    • D.1 Current Consumption of a Slim PLC/an Extension Module

      • D.1.1 Current supply and current consumption of a PLC (+24VDC)

      • D.1.2 Current supply and current consumption of a digital input/output module (+24VDC)

      • D.1.3 Current consumption of a special input/output module (+24VDC)

      • D.1.4 Current consumption of a left-side high-speed special module (+24VDC)

      • D.1.5 Calculating the maximum current consumed by a system

  • Appendix E

    • E.1 DVP Series Slim Type Special Modules

    • E.2 Connections of a Slim Type Special Module (Work alone)

    • E.3 Using WPL Editor

  • Appendix F

    • F.1 General Specifications

Nội dung

DVP ES2EX2SS2SA2SX2SETP Operation Manual Programming www deltaww com DVP ES2EX2SS2 SA2SX2SETP Operation Manual Programming 2018 10 30 Industrial Automation Headquarters Delta Electronics,.THIẾT KẾ, CHẾ TẠO LẮP RÁP BỘ CẤP VÀ CHUYỂN PHÔI TỰ ĐỘNG SỬ DỤNG PLC MITSUBISHITHIẾT KẾ, CHẾ TẠO LẮP RÁP BỘ CẤP VÀ CHUYỂN PHÔI TỰ ĐỘNG SỬ DỤNG PLC MITSUBISHITHIẾT KẾ, CHẾ TẠO LẮP RÁP BỘ CẤP VÀ CHUYỂN PHÔI TỰ ĐỘNG SỬ DỤNG PLC MITSUBISHITHIẾT KẾ, CHẾ TẠO LẮP RÁP BỘ CẤP VÀ CHUYỂN PHÔI TỰ ĐỘNG SỬ DỤNG PLC MITSUBISHI

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Industrial Automation Headquarters Delta Electronics, Inc Taoyuan Technology Center No.18, Xinglong Rd., Taoyuan City, Taoyuan County 33068, Taiwan TEL: 886-3-362-6301 / FAX: 886-3-371-6301 Asia Delta Electronics (Jiangsu) Ltd Wujiang Plant 1688 Jiangxing East Road, Wujiang Economic Development Zone Wujiang City, Jiang Su Province, P.R.C 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 201209 TEL: 86-21-58635678 / FAX: 86-21-58630003 Delta Electronics (Japan), Inc Tokyo Office 2-1-14 Minato-ku Shibadaimon, Tokyo 105-0012, Japan TEL: 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-704 TEL: 82-2-515-5303 / FAX: 82-2-515-5302 Delta Electronics Int’l (S) Pte Ltd Kaki Bukit Ave 1, #05-05, Singapore 417939 TEL: 65-6747-5155 / FAX: 65-6744-9228 Americas Delta Products Corporation (USA) Raleigh Office P.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.A Sao Paulo Office Rua Itapeva, 26 - 3° andar Edificio Itapeva One-Bela Vista 01332-000-São Paulo-SP-Brazil TEL: 55 11 3568-3855 / FAX: 55 11 3568-3865 Europe Deltronics (The Netherlands) B.V Eindhoven Office De Witbogt 20, 5652 AG Eindhoven, The Netherlands TEL : +31-40-2592850 / FAX : +31-40-2592851 VOIP : 170 DVP-0139720-10 *We reserve the right to change the information in this manual without prior notice 2018-10-30 Operation Manual - Programming Delta Electronics (India) Pvt Ltd Plot No 43 Sector 35, HSIIDC Gurgaon, PIN 122001, Haryana, India TEL : 91-124-4874900 / FAX : 91-124-4874945 DVP-ES2/EX2/SS2/ SA2/SX2/SE&TP Operation Manual - Programming www.deltaww.com DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual Programming Revision History Issue First version Second version Description of Changes Date The first edition is issued 2010/02/26 The second edition is issued 11 / / C h a p t e r M R e l a y: A d d M , M 111 , M 11 , M , M , a n d M , a n d u p d a t e the description of the functions of M 5 ~ M a n d M 11 C h a p t e r Sp e c i a l D a t a R e g i s t e r : A d d D , D1312, D1354, and D1900~D1931, and modify the attributes of the latched functions of D1062, D 111 , D 111 , a n d D 111 C h a p t e r A p p l i c a t i o n s o f Sp e c i a l M R e l a ys and D Registers: Update the description of the f u n c t i o n s o f RT C s ; a d d M , D ( E n a b l e Third S P D f u n c t i o n ) , M 111 ( E n a b l e - s p e e d o u t p u t version f u n c t i o n o f D D RV I i n s t r u c t i o n ) , M , D ( Output specified pulses or seek Z phase s i g n a l w h e n z e r o p o i n t i s a c h i e v e d ), a n d M ( O u t p u t c l e a r s i g n a l s wh e n Z R N i s c o m p l e t e d ); Eas y PLC Link is changed to PLC Link, and the description is added Chapter 3.1 Basic Instructions (without API numbers) and Chapter 3.2 Explanations to Basic Instructions: Add NP and PN instructions, and add Chapter 3.7 Numerical List of Instructions (in alphabetic order) 11 / / Issue Description of Changes Date Chapter 3.6 Numerical List of Instructions and C h a p t e r D e ta i l e d I n s t r u c t i o n E x p l a n a t i o n : I n c r e a s e e x p l a n a t i o n s o f D S PA i n s t r u c t i o n , a n d a d d f l o a t i n g - p o i n t c o n ta c t t yp e c o m pa r i s o n instructions FLD=, FLD>, FLD , FA N D < , FA N D < > , FA N D < = , FA N D > = , F O R = , F O R > , F O R < , F O R < > , F O R < = , F O R > = ; a d d t h e s u p p l e m e n ta r y description of PLSR instruction and the d e s c r i p t i o n o f K 11 ~ K i n D T M i n s t r u c t i o n mode; update the description of API166 instruction SE is added in the title of the manual Chapter 2.16: The default value in D1062 is K10 A P I i n C h a p t e r : T h e c o n t e n ts a b o u t S < D a r e deleted in program example Fourth API 148 and API 149 are added in Chapter version The inform ation related to DVP-SE is added 2012/07/01 The inform ation related to DVP32ES-C is added The descriptions of the models are added in the c o n t e n ts Appendix A is added Fifth version A P I 11 i s a d d e d API150 is updated 2012/09/01 Chapter is updated M 11 , M , M , M , M , M 11 , a n d M 11 a r e a d d e d t o C h a p t e r Chapter is updated API53, API 156, API 159, API69, API88, API143, API150, API155, API258, Sixth version and API296-313 are added The description of API 178 is updated The description of the input/output mapping areas for DVP-ES2-C as a slave station is added to section 7.1.2 C232, C249, and C250 are deleted from the d e s c r i p t i o n o f t h e S E m em o r y M a p 2013/02/20 Issue Description of Changes Date Appendix B is added Appendix C is added T h e t i m e r i n t e r r u p ts I ~ I 9 a r e a d d e d t o C h a p t e r T h e s p e c i a l a u x i l i a r y r e l a ys M1357~M1359, M1590, M1598, and M1599 are a d d e d t o t h e ta b l e o f s p e c i a l a u x i l i a r y r e l a ys T h e descriptions of D1027 and D9998 in the table of special data registers are updated D ~ D , D 11 ~ D 11 , D ~ D , a n d D 9 9 a r e a d d e d t o t h e ta b l e o f s p e c i a l d a ta registers The definitions of the pins in COM1 are added to the description of M1035 The new s p e c i a l a u x i l i a r y r e l a y s i n t h e ta b l e o f s p e c i a l data registers and the new special data registers i n t h e t a b l e o f s p e c i a l d a ta r e g i s t e r s a r e Seventh version described in section 2.16 A P I 11 , A P I 11 , A P I , a n d A P I a r e a d d e d 2014/07/04 to Chapter The descriptions of API17, API22, API23, API59, API78, API80, API81, API83, A P I 1 ~ A P I , A P I 11 - A P I 11 , A P I , API166, API179, and API197 are updated The information about M1040 is added to Chapter The description of the error code C450 is added to Chapter In Appendix C, the information about TP04P series text panels is changed to the information about T P series text panels Appendix D is added It introduces the current consumption of slim PLCs/extension modules I n s e c t i o n B , t h e n u m b e r o f RT U m o d u l e s o n t o which a DVP-SE series PLC can be mapped is Eighth version updated In section B.2.2, the descriptions of CR#20~CR#86 are updated In section B.2.3, the descriptions of 2014/08/29 Issue Description of Changes Date CR#17~CR#24 are updated, the description of CR#27 is added, and the descriptions of CR#87~CR103 are updated In section B.2.4, the descriptions of CR#0 and CR#20~CR#26 are updated Section B.6 is added Chapter 2: add Ethernet descriptions in section , u p d a t e M 111 , M 3 , M 3 , M1700~M1731 in section 2.8, updated software/hardware high speed counter descriptions in section 2.12, add D1021 descriptions in section 2.13, add interrupt descriptions in section 2.15, add D1021, M1334, M 3 a n d u p d a t e M 111 a n d P L C l i n k descriptions in section 2.16 Chapter 3: update instruction list Update A P I 11 , A P I , A P I , A P I , A P I , A P I , API76, API80, API123, API150, API158, API159, Ninth version API206, and add new instruction descriptions API337 2017/04/26 Chapter 4: update Modbus address for SE series in section 4.4 Chapter 6: delete error codes C430, C441, and C442 Add new error codes C430, C437 and C438 in section 6.2 Appendix A: add descriptions of the USB installation in W indows 10 Appendix B: add descriptions of ES2-E series Appendix C: update descriptions of program c a pa c i t y f o r T P s e r i e s Appendix D: add descriptions for 28SS2/28SA2/26SE S e c t i o n : u p d a t e f i l e r e g i s t e r c o n t e n ts Te n t h S e c t i o n - : u p d a t e e x t e r n a l i n p u ts X a n d Y version S e c t i o n : a d d M 1 , M 11 , M 11 - M 11 , M - M a n d u p d a t e M 111 , M 11 , M 3 , 2018/10/30 Issue Description of Changes M1335, 1700-1731 Section 2.12: update supporting modules for hardware high speed counters Section 2.13: update D1021 and add D 11 - D 11 7 , D 2 - D , D 0 - D a n d D6000-D6063 Section 2.15: update timer interrupt in API05 S e c t i o n : a d d M 1 a s we l l a s 11 a n d u p d a t e D , D , M 111 , P L C L i n k , M 3 , M1335 Section 3.5: update index register E and F Section 3.6: add API315, API316, API328-API336, API338-API340 and API342 10 Section 3.8: update API50, API53-API59, API68, A P I , A P I , A P I , A P I 11 , A P I , A P I , API149, API158, API159, API198 and API337 and add API315, API316, API328-API336, API338-API340, API342 1 S e c t i o n : u p d a t e m a x im um n u m b e r o f P D O s u p p o r t e d a n d u p d a t e s ta n d a r d D e l ta c a b l e model names 12 Appendix A.1: update installation instruction for W in d o ws 13 Appendix B.1: update Ethernet function 14 Appendix B.5: update object list A p p e n d i x C : u p d a t e D 111 a n d D 111 16 Appendix C.4.3: TP04P-08TP1R does not support h i g h - s p e e d i n p u ts 17 Appendix E: add a new appendix for slim-type special modules 18 Appendix F: add a new appendix for slim-type PLC specifications Date DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual Programming Contents PLC Concepts 1.1 PLC Scan Method 1-2 1.2 Current Flow 1-3 1.3 NO Contact, NC Contact 1-3 1.4 PLC Registers and Relays 1-3 1.5 Ladder Logic Symbols 1-3 1.5.1 Creating a PLC Ladder Program 1-5 1.5.2 LD / LDI (Load NO contact / Load NC contact) 1-6 1.5.3 LDP / LDF (Load Rising edge trigger/ Load Falling edge trigger) 1-6 1.5.4 AND / ANI (Connect NO contact in series / Connect NC contact in series) 1-6 1.5.5 ANDP / ANDF (Connect Rising edge in series/ Connect Falling edge in series) 1-6 1.5.6 OR / ORI (Connect NO contact in parallel / Connect NC contact in parallel) 1-6 1.5.7 ORP / ORF (Connect Rising edge in parallel/ Connect Falling edge in parallel) 1-6 1.5.8 ANB (Connect block in series) 1-6 1.5.9 ORB (Connect block in parallel) 1-7 1.5.10 MPS / MRD / MPP (Branch instructions) 1-7 1.5.11 STL (Step Ladder Programming) 1-7 1.5.12 RET (Return) 1-8 1.6 Conversion between Ladder Diagram and Instruction List Mode 1-9 1.7 Fuzzy Syntax 1-10 1.8 Correcting Ladder Diagram .1-11 1.9 Basic Program Design Examples 1-13 Programming Concepts 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 ES2/EX2 Memory Map 2-2 SS2 Memory Map 2-4 SA2/SX2 Memory Map 2-6 SE Memory Map 2-8 Status and Allocation of Latched Memory .2-10 PLC Bits, Nibbles, Bytes, Words, etc .2-11 Binary, Octal, Decimal, BCD, Hex 2-11 M Relay 2-12 S Relay 2-24 T (Timer) 2-24 C (Counter) 2-25 i 2.12 2.13 2.14 2.15 2.16 High-speed Counters 2-27 Special Data Register 2-31 E, F Index Registers 2-42 Nest Level Pointer[N], Pointer[P], Interrupt Pointer [I] 2-43 Applications of Special M Relays and D Registers 2-45 Instruction Set 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 Basic Instructions (without API numbers) 3-2 Explanations to Basic Instructions 3-2 Pointers 3-13 Interrupt Pointers 3-13 Application Programming Instructions 3-15 Numerical List of Instructions (classified according to the function) 3-24 Numerical List of Instructions (in alphabetic order) 3-32 Detailed Instruction Explanation 3-41 Communications 4.1 Communication Ports 4-2 4.2 Communication Protocol ASCII mode 4-3 4.2.1 ADR (Communication Address) 4-3 4.2.2 CMD (Command code) and DATA 4-4 4.2.3 LRC CHK (checksum) 4-5 4.3 Communication Protocol RTU mode 4-7 4.3.1 Address (Communication Address) 4-7 4.3.2 CMD (Command code) and DATA 4-7 4.3.3 CRC CHK (check sum) 4-8 4.4 PLC Device Address 4-10 4.5 Command Code 4-12 4.5.1 Command Code: 01, Read Status of Contact (Input point X is not included) 4-12 4.5.2 Command Code: 02, Read Status of Contact (Input point X is included) 4-13 4.5.3 Command Code: 03, Read Content of Register (T, C, D) 4-14 4.5.4 Command Code: 05, Force ON/OFF single contact 4-15 4.5.5 Command Code: 06, Set content of single register 4-16 4.5.6 Command Code: 15, Force ON/OFF multiple contacts 4-16 4.5.7 Command Code: 16, Set content of multiple registers 4-17 Sequential Func tion Chart 5.1 5.2 5.3 5.4 5.5 5.6 ii Step Ladder Instruction [STL], [RET] 5-2 Sequential Function Chart (SFC) 5-2 The Operation of STL Program 5-4 Points to Note for Designing a Step Ladder Program 5-10 Types of Sequences 5-12 IST Instruction 5-23 Troubleshooting 6.1 6.2 6.3 Common Problems and Solutions 6-2 Error code Table (Hex) 6-4 Error Detection Devices 6-6 CANopen Functi on and Operation 7.1 The Introduction of CANopen 7-2 7.1.1 The Description of the CANopen Functions 7-2 7.1.2 The Input/Output Mapping Areas 7-3 7.2 The Installation and the Network Topology 7-3 7.2.1 The Dimensions 7-3 7.2.2 The Profile 7-4 7.2.3 The CAN Interface and the Network Topology 7-4 7.3 The CANopen Protocol 7-9 7.3.1 The Introduction of the CANopen Protocol 7-9 7.3.2 The CANopen Communication Object .7-10 7.3.3 The Predefined Connection Set .7-15 Sending SDO, NMT and Reading Emergency Message through the Ladder 7.4 Diagram 7-15 7.4.1 Data Structure of SDO Request Message 7-16 7.4.2 Data Structure of NMT Message 7-18 7.4.3 Data Structure of EMERGENCY Request Message 7-19 7.4.4 Example on Sending SDO through the Ladder Diagram 7-20 7.5 Indicators and Troubleshooting .7-22 7.5.1 Description of Indicators 7-22 7.5.2 CANopen Network Node State Display 7-23 Application Example 7-25 7.6 7.7 Object Dictionary .7-33 Appendix A A.1 A.2 A.3 Installing the USB Driver in Windows A-2 Installing the USB in Windows A-4 Installing the USB Driver in Windows 10 A-7 Appendix B B.1 Specifications for an Ethernet PLC/Module B-2 B.2 Ethernet Control Registers B-2 B.2.1 Station Addresses of Ethernet Modules B-2 B.2.2 DVP-SE Series PLC (Ethernet PLC) B-3 B.2.3 DVPEN01-SL (Left-side Ethernet Communication Module) B-4 B.2.4 DVP-FEN01 (DVP-EH3 Series Ethernet Communication Card) B-6 B.3 Searching for an Ethernet PLC B-7 B.3.1 Communication setting B-7 B.3.2 Broadcast Search B-8 B.3.3 Searching for a Model Specified B-10 iii B.3.4 Searching by an IP Address B-11 B.4 Data Exchange B-12 B.5 EtherNet/IP List B-13 B.5.1 EtherNet/IP Information Supported by DVP-SE series PLCs B-13 B.5.2 EtherNet/IP Objects Supported by DVP-SE series PLCs B-14 B.6 RTU Mapping B-19 B.6.1 Setting the RTU Mapping B-20 B.6.2 Application of the RTU Mapping B-21 Appendix C C.1 TP Memory Map C-2 C.2 Special Data Register C-3 C.3 Special Auxiliary Relay C-12 C.4 Instructions applicable to TP C-21 C.4.1 Basic Instructions C-21 C.4.2 Numerical List of Instructions C-22 C.4.3 Additional Remarks on High-speed Instructions C-26 Appendix D D.1 Current Consumption of a Slim PLC/an Extension Module D-2 D.1.1 Current supply and current consumption of a PLC (+24VDC) D-2 D.1.2 Current supply and current consumption of a digital input/output module (+24VDC) D-2 D.1.3 Current consumption of a special input/output module (+24VDC) D-3 D.1.4 Current consumption of a left-side high-speed special module (+24VDC) D-3 D.1.5 Calculating the maximum current consumed by a system D-3 Appendix E E.1 E.2 E.3 DVP Series Slim Type Special Modules E-2 Connections of a Slim Type Special Module (Work alone) E-2 Using WPL Editor E-2 Appendix F F.1 iv General Specifications F-2 D V P - E S / E X / S S / S A2 / S X / S E & T P O p e r a t i o n M a n u a l - P r o g r a m m i n g Instruction PN C.4.2 Numerical List of Instructions Classification Loop Control Transmission Comparison Four Arithmetic Operations Rotation and Displacement C-22 Function Positive contact to Negative contact 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Mnemonic 16 bits 32 bits CJ – CALL – SRET – IRET – EI – DI – FEND – WDT – FOR – NEXT – CMP DCMP ZCP DZCP MOV DMOV SMOV – CML DCML BMOV – FMOV DFMOV XCH DXCH BCD DBCD BIN DBIN ADD DADD SUB DSUB MUL DMUL DIV DDIV INC DINC DEC DDEC WAND DAND WOR DOR WXOR DXOR NEG DNEG 30 ROR 31 API Function PULSE   – – – – –  – –                     Conditional jump Call subroutine Subroutine return Interrupt return Enable interrupt Disable interrupt The end of the main program (First end) Watchdog timer refresh Start of a For-Next Loop End of a For-Next Loop Compare Zone compare Move Shift move Complement Block move Fill move Exchange Convert BIN to BCD Convert BCD to BIN Addition Subtraction Multiplication Division Increment Decrement Logical Word AND Logical Word OR Logical XOR 2’s Complement (Negation) DROR  Rotate right ROL DROL  Rotate left 32 RCR DRCR  Rotate right with carry 33 RCL DRCL  Rotate left with carry 34 SFTR –  Bit shift right 35 SFTL –  Bit shift left 36 WSFR –  Word shift right 37 WSFL –  Word shift left 38 SFWR –  Shift register write Ap p e n d i x C I n f o r a m a t i o n a b o u t T P S e r i e s Te x t P a n e l s Classification API Rotation and Displacement 39 40 41 42 43 44 Data Processing 45 46 47 48 49 53 High Speed 54 Processing 55 60 61 62 63 Handy 64 Instructions 65 66 67 69 80 82 Serial I/O 83 87 88 89 90 91 92 93 Basic 94 Instructions 95 96 97 98 99 100 Communication 101 Instructions 102 103 Mnemonic 16 bits 32 bits SFRD ZRST DECO ENCO SUM BON MEAN ANS ANR SQR FLT – – – IST SER ABSD INCD TTMR STMR ALT RAMP SORT RS ASCI HEX ABS PID PLS LDP LDF ANDP ANDF ORP ORF TMR CNT INV PLF MODRD MODWR FWD REV – – – – DSUM DBON DMEAN – – DSQR DFLT DHSCS DHSCR DHSZ – DSER DABSD – – – – – – – – – DABS DPID – – – – – – – – DCNT – – – – – – PULSE Function  Shift register read       –    – – – –  – – – –  – – –    – – – – – – – – – – – – – – – – Zone reset Decode Encode Sum of Active bits Check specified bit status Mean Timed Annunciator Set Annunciator Reset Square Root Floating point High speed counter SET High speed counter RESET High speed zone compare Initial state Search a data stack Absolute drum sequencer Incremental drum sequencer Teaching timer Special timer Alternate state Ramp variable value Data sort Serial communication Convert HEX to ASCII Convert ASCII to HEX Absolute value PID control Rising-edge output Rising–edge detection operation Falling–edge detection operation Rising-edge series connection Falling-edge series connection Rising-edge parallel connection Falling-edge parallel connection Timer Counter Inverse operation Falling-edge output Read Modbus data Write Modbus Data Forward Operation of VFD Reverse Operation of VFD C-23 D V P - E S / E X / S S / S A2 / S X / S E & T P O p e r a t i o n M a n u a l - P r o g r a m m i n g Classification API Mnemonic 16 bits 32 bits STOP – RDST – RSTEF – LRC – 104 105 106 Communication 107 Instructions 108 CRC Floating Point Operation Additional Instruction C-24 150 206 110 111 112 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 172 173 174 175 143 144 147 154 168 176 179 202 203 205 MODRW ASDRW – – – – – – – – – – – – – – – – INT – – – – – – – – – – DELAY GPWM SWAP RAND MVM MMOV WSUM SCAL SCLP CMPT PULSE Function – – –  Stop VFD Read VFD Status Reset Abnormal VFD LRC checksum –  CRC checksum – – DECMP DEZCP DMOVR DRAD DDEG DEBCD DEBIN DEADD DESUB DEMUL DEDIV DEXP DLN DLOG DESQR DPOW DINT DSIN DCOS DTAN DASIN DACOS DATAN DADDR DSUBR DMULR DDIVR – – DSWAP – DMVM – DWSUM – – DCMPT – –                             –         MODBUS Read/ Write ASDA servo drive R/W Floating point compare Floating point zone compare Move floating point data Degree  Radian Radian  Degree Float to scientific conversion Scientific to float conversion Floating point addition Floating point subtraction Floating point multiplication Floating point division Float exponent operation Float natural logarithm operation Float logarithm operation Floating point square root Floating point power operation Float to integer Sine Cosine Tangent Arc Sine Arc Cosine Arc Tangent Floating point addition Floating point subtraction Floating point multiplication Floating point division Delay General PWM output Byte swap Random number Mask and combine designated Bits 16-bit→32-bit Conversion Sum of multiple devices Proportional value calculation Parameter proportional value calculation Compare table Ap p e n d i x C I n f o r a m a t i o n a b o u t T P S e r i e s Te x t P a n e l s Classification API Positioning Control 155 Real Time Calendar 160 161 162 163 166 167 169 Mnemonic 16 bits 32 bits – PULSE Function DABSR – Absolute position read – – – – – – DHOUR       – Time compare Time Zone Compare Time addition Time subtraction Time read Time write Hour meter 170 GRY DGRY  BIN → Gray Code 171 GBIN DGBIN  Gray Code → BIN – – – – – – – – – – – DLD& DLD| DLD^ DAND& DAND| DAND^ DOR& DOR| DOR^ DLD= DLD> DLD< DLD DLD= DAND= DAND> DAND< DAND DAND= DOR= DOR> DOR< DOR            – – – – – – – – – Matrix AND Matrix OR Matrix XOR Matrix XNR Matrix inverse Matrix compare Matrix bit read Matrix bit write Matrix bit shift Matrix bit rotate Matrix bit status count S1 & S2 S1 | S2 S1 ^ S2 S1 & S2 S1 | S2 S1 ^ S2 S1 & S2 S1 | S2 S1 ^ S2 S1 = S2 S1 > S2 S1 < S2 S1 ≠ S2 S1 ≦ S2 S1 ≧ S2 S1 = S2 S1 > S2 S1 < S2 S1 ≠ S2 S1 ≦ S2 S1 ≧ S2 S1 = S2 S1 > S2 S1 < S2 S1 ≠ S2 TCMP TZCP TADD TSUB TRD TWR HOUR Gray Code 180 181 182 183 184 Matrix Operation 185 186 187 188 189 190 215 216 217 218 Contact Type 219 Logic Operation 220 221 222 223 224 225 226 228 229 Contact Type 230 Comparison 232 233 234 236 237 238 240 Contact Type 241 Comparison 242 244 MAND MOR MXOR MXNR MINV MCMP MBRD MBWR MBS MBR MBC LD& LD| LD^ AND& AND| AND^ OR& OR| OR^ LD= LD> LD< LD LD= AND= AND> AND< AND AND= OR= OR> OR< OR – – – – – – – – – – – – – – – – C-25 D V P - E S / E X / S S / S A2 / S X / S E & T P O p e r a t i o n M a n u a l - P r o g r a m m i n g Classification API Contact Type Comparison 245 246 266 267 268 269 270 Specific Bit Control Floating-Point Contact Type Comparison C.4.3 Mnemonic 16 bits 32 bits OR= BOUT DBOUT BSET DBSET BRST DBRST BLD DBLD BLDI DBLDI PULSE – – – – – – – 271 BAND DBAND – 272 BANI DBANI – 273 BOR DBOR – 274 BORI DBORI – 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 FLD= FLD> FLD< FLD FLD= FAND= FAND> FAND< FAND FAND= FOR= FOR> FOR< FOR FOR= – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Function S1 ≦ S2 S1 ≧ S2 Output specified bit of a word Set ON specified bit of a word Reset specified bit of a word Load NO contact by specified bit Load NC contact by specified bit Connect NO contact in series by specified bit Connect NC contact in series by specified bit Connect NO contact in parallel by specified bit Connect NC contact in parallel by specified bit S1 = S2 S1 > S2 S1 < S2 S1 ≠ S2 S1 ≦ S2 S1 ≧ S2 S1 = S2 S1 > S2 S1 < S2 S1 ≠ S2 S1 ≦ S2 S1 ≧ S2 S1 = S2 S1 > S2 S1 < S2 S1 ≠ S2 S1 ≦ S2 S1 ≧ S2 Additional Remarks on High-speed Instructions TP only supports the high-speed inputs X0 and X1 (10KHz) (Please refer to section 2.12 for more information.) TP04P-08TP1R does not support high-speed inputs (only supports up to 500HZ) TP only supports the software counters C235 and C236 The corresponding high-speed interrupts are I010 and I020 (Please refer to the explanations of API53 and API55 for more information.) TP onlyt supports the hardware counter C251 The corresponding high-speed interrupt is I010 There is only one hardware comparator (Please refer to the explanations of API53 and API55 for more information.) C-26 Appendix Introducing the Current Consumption of Slim PLCs/Extension Modules Contents D.1 Current Consumption of a Slim PLC/an Extension Module D-2 D.1.1 Current supply and current consumption of a PLC (+24VDC) D-2 D.1.2 Current supply and current consumption of a digital input/output module (+24VDC) D-2 D.1.3 Current consumption of a special input/output module (+24VDC) D-3 D.1.4 Current consumption of a left-side high-speed special module (+24VDC) D-3 D.1.5 Calculating the maximum current consumed by a system D-3 D-1 D V P - E S / E X / S S / S A2 / S X / S E & T P O p e r a t i o n M a n u a l - P r o g r a m m i n g D.1 Current Consumption of a Slim PLC/an Extension Module Users can calculate the maximum current consumed by the combination of a slim PLC and modules by means of the data in the table below D.1.1 Current supply and current consumption of a PLC (+24VDC) Item Model 14SS2 11R/T 12SS2 11S 12SA2 11R/T 12SE 11R/T Internal maximum current consumed (mA) R: 100 T: 50 S: 50 R: 100 T: 70 R: 110 T: 80 Maximum current consumed by the external DIO (A) (The current consumption of all inputs and outputs is calculated.) #1 R: 9.1 T: 3.1 S: 2.1 R: 5.1 T: 2.1 R: 5.1 T: 2.1 20SX2 11R/T/S R: 220 T: 170 S: 170 28SV 11R/T/S/R2/T2/S2 R: 210 T: 170 S: 170 R: 9.1 T: 3.1 S: 1.9 R: 18.1 T: 3.8 S: 3.8 #1: The external maximum current consumed is estimated on the basis of a worst condition It is suggested that users should calculate the maximum current consumed according to the actual arrangement D.1.2 Current supply and current consumption of a digital input/output module (+24VDC) Model Item Internal maximum current consumed by the IO-BUS (mA) Maximum current consumed by the external DIO (A) 08SM 11N 08SP 11R/T 08SN 11R/T 08ST 11N 16SM 11N 16SP 11R/T 16SP 11TS 15 R: 35 T: 35 R: 55 T: 55 55 25 R: 65 T: 65 30 0.05 R: T: 1.2 R: T: 1.2 0.1 R: T: 1.2 T: Model Item Internal maximum current consumed by the IO-BUS (mA) Maximum current consumed by the external DIO (A) D-2 32SM11N 32SN11TN 40 40 0.16 Appendix D Introducing the Current Consumption of Slim PLCs/Extension Modules D.1.3 Current consumption of a special input/output module (+24VDC) A special input/output module must be supplied with +24VDC power Model Item Internal maximum current consumed by the IO-BUS (mA) Maximum current consumed by the external AIO (mA) D.1.4 30 30 30 30 30 30 30 83 83 167 83 83 83 105 Current consumption of a left-side high-speed special module (+24VDC) Model Item Internal maximum current consumed by the IO-BUS (mA) Maximum current consumed by the external AIO (mA) D.1.5 04AD-S 06AD-S 04DA-S 06XA-S 04PT-S 04TC-S 01PU-S EN01-SL COPM-SL DNET-SL 04AD-SL 04DA-SL 02LC-SL 01LC-SL 60 50 50 40 40 40 40 0 15 80 125 125 Calculating the maximum current consumed by a system Example: 28SV2 + 16SP + 04AD-S + 04TC-S + EN01-SL The power module optionally purchased is DVPPS02 (It supplies 2A current.) Model DVP28SV11T2 DVP16SP11R DVP04AD-S DVP04TC-S DVPEN01-SL Internal current consumption 170mA 65mA 30mA 30mA 60mA External current consumption 3.8A 5A 83mA 83mA Maximum current consumed: Internal  170 + 65 + 30 + 30 + 60 = 355 (mA) < 2A Pass External  3.8A + 5A + 83mA + 83mA = 9A > 2A Not pass Conclusion: The 2A current supplied by DVPPS02 is sufficient for the PLC and the special modules If the external I/O terminals are connected to loads, it is suggested that users should purchase an extra power module D-3 D V P - E S / E X / S S / S A2 / S X / S E & T P O p e r a t i o n M a n u a l - P r o g r a m m i n g MEMO D-4 Appendix Communication of DVP Series Slim Type Special Modules Contents E.1 DVP Series Slim Type Special Modules E-2 E.2 Connections of a Slim Type Special Module (Work alone) E-2 E.3 Using WPL Editor E-2 E-1 D V P - E S / E X / S S / S A2 / S X / S E & T P O p e r a t i o n M a n u a l - P r o g r a m m i n g E.1 DVP Series Slim Type Special Modules Series DVP Slim Type Series Modules DVP04AD-S, DVP02DA-S, DVP04DA-S, DVP06XA-S, DVP06AD-S, DVP04TC-S, DVP04PT-S, DVP06PT-S, DVP04AD-S2, DVP04DA-S2, DVP06XA-S2 E.2 Connections of a Slim Type Special Module (Work alone) See the following connection example for reference when using a slim type special module alone USB IFD6500 RS485 RS-485 to USB Data Converter DVP Slim AIO Module E.3 Using WPL Editor You can use the option Extension Module to check or modify the control registers (CR) of the slim type special module Step 1: Click Wizard > Extension Module to open the setting page E-2 Ap p e n d i x E C o m m u n i c a t i o n o f D V P S e r i e s S l i m Ty p e Sp e c i a l M o d u l e s Step 2: Make sure the module is supplied with power and is connected to RS485 before setting Click Setup and start to set up the COM port and the baud rate After the setup is done, click OK to save the setting Step 3: Click Scan to connect to the module and monitor the current values of the control registers E-3 D V P - E S / E X / S S / S A2 / S X / S E & T P O p e r a t i o n M a n u a l - P r o g r a m m i n g Step 4: Double-click the CR that you need to modify A setting window appears and you can start to modify its value If the CR is a latched type, its last value can be retained even after power-off Step 5: After monitoring or editing, you can click Stop to end the communication E-4 Appendix Specifications of Slim Type PLC Contents F.1 General Specifications F-2 F-1 D V P - E S / E X / S S / S A2 / S X / S E & T P O p e r a t i o n M a n u a l - P r o g r a m m i n g F.1 General Specifications Item Specifications Operating temperature to 55°C Storage temperature -25 to 70°C Operating humidity Storage humidity 5–95% No condensation 5–95% No condensation Work environment No corrosive gas exists Installation location In a control box Pollution degree Ingress protection (IP ratings) Surge voltage withstand level Insulation voltage Noise Immunity Ground Vibration / Shock resistance Ambient air temperature-barometric pressure-altitude F-2 IP20 1,500 VAC (Primary-secondary), 1,500 VAC (Primary-PE), 500 VAC (Secondary-PE) Above 5MΩ The voltage between all inputs/outputs and the ground is 500 VDC ESD: 8KV Air Discharge EFT: Power Line: 2KV, Digital I/O: 1KV, Analog & Communication I/O: 250V Damped-Oscillatory Wave: Power Line: 1KV, Digital I/O: 1KV, RS: 26MHz ~ 1GHz, 10V/m The diameter of the ground should not be less than the diameters of the cables connected to the terminals L and N It is required to use grounding if more than one PLC is being used at the same time International Standard IEC61131-2, IEC 68-2-6 (TEST Fc) IEC61131-2 & IEC 68-2-27 (TEST Ea) Operating: 1080 ~ 795hPa (-1000 ~ 2000 m) Storage:1080 ~ 660hPa (-1000 ~ 3500m) / ... DVP2 0EX20 0T, DVP3 0EX20 0R, DVP3 0EX20 0T DVP- SS2 DVP1 4SS21 1R, DVP1 4SS21 1T, DVP2 8SS21 1R, DVP2 8SS21 1T DVP- SA2 DVP1 2SA21 1R, DVP1 2SA21 1T, DVP2 8SA21 1R, DVP2 8SA21 1T DVP- SX2 DVP2 0SX21 1R, DVP2 0SX21 1S, DVP2 0SX21 1T... DVP5 8ES20 0R, DVP5 8ES20 0T DVP- ES2- C DVP3 2ES20 0RC, DVP3 2ES20 0TC DVP- ES2- E DVP2 0ES20 0RE, DVP2 0ES20 0TE, DVP3 2ES20 0RE, DVP3 2ES20 0TE, DVP4 0ES20 0RE, DVP4 0ES20 0TE, DVP6 0ES20 0RE, DVP6 0ES20 0TE DVP- EX2 DVP2 0EX20 0R,... w Series Model name DVP- ES2 DVP1 6ES20 0R, DVP1 6ES20 0T, DVP2 4ES20 0R, DVP2 4ES20 0T, DVP3 2ES20 0R, DVP3 2ES20 0T, DVP3 2ES21 1T, DVP4 0ES20 0R, DVP4 0ES20 0T, DVP6 0ES20 0R, DVP6 0ES20 0T, DVP4 0ES20 0RM, DVP5 8ES20 0R,

Ngày đăng: 10/10/2022, 08:51