Download Delta PLC DVP ES2/EX2/SS2/SA2/SX2/SE/TP Operation Programming Manual PDF

TitleDelta PLC DVP ES2/EX2/SS2/SA2/SX2/SE/TP Operation Programming Manual
TagsElectrical Engineering Programmable Logic Controller Digital & Social Media Electronic Engineering Digital Technology
File Size12.9 MB
Total Pages759
Table of Contents
                            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
	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 SFC
	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.3 The CANopen Protocol
		7.3.1 The Introduction of the CANopen Protocol
		7.3.2 The CANopen Communication Object
	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
Appendix A
	A.1 Installing the USB Driver
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 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 series PLCs
		B.5.2 EtherNet/IP Objects Supported by DVP-SE 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
                        
Document Text Contents
Page 1

www.deltaww.com

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

2014-08-29

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 3
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.
4 Kaki Bukit Ave 1, #05-05, Singapore 417939
TEL: 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

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-08

*We reserve the right to change the information in this manual without prior notice.

D
V

P
-E

S
2

/E
X

2
/S

S
2

/S
A

2
/S

X
2

/S
E

&
T

P
O

p
e
ra

tio
n

M
a
n

u
a
l - P

ro
g

ra
m

m
in

g

Page 2

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP

Operation Manual

Programming

Revision History

Issue Descr ip t ion of Changes Date

Fi rs t

vers ion
The f i rs t ed i t ion is issued. 2010/02/26

Second

vers ion
The second edi t ion is issued. 2011/03/03

Thi rd

vers ion

1. Chapter 2 .8 M Relay: Add M1037, M1119,

M1182, M1308, M1346, and M1356, and update

the descr ip t ion of the funct ions o f

M1055~M1057and M1183.

2. Chapter 2.13 Specia l Data Regis ter : Add D1037,

D1312, D1354, and D1900~D1931, and modi fy

the a t t r ibutes of the la tched funct ions of D1062,

D1114, D1115, and D1118.

3. Chapter 2 .16 Appl icat ions of Specia l M Relays

and D Regis ters: Update the descr ip t ion o f the

funct ions o f RTCs; add M1037, D1037 Enable

SPD funct ion , M1119 Enable 2-speed output

funct ion o f DDRVI ins truct ion , M1308, D1312

Output speci f ied pu lses or seek Z phase

s ignal when zero po in t is achieved , and M1346

Output c lear s ignals when ZRN is comple ted ;

Easy PLC Link is changed to PLC Link, and the

descr ip t ion is added.

4. Chapter 3 .1 Basic Ins truct ions (wi thout API

numbers) and Chapter 3.2 Explanat ions to Basic

Inst ruct ions: Add NP and PN ins truct ions , and

add Chapter 3.7 Numer ica l L is t o f Inst ruct ions

( in a lphabet ic order)

2011/09/29

Page 379

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operat ion Manual - Programming

3-278

M1002
MOV H87 D1120

SET M1120

Set communication protocol as 9600, 8, E, 1

Retain communication protocol

Set communication timeout as 100ms

MODWR K1 H0100 H1770
X0

Set communication instruction:

Data address:
Data: H1770

H0100
Device address: 01

X0

M1129

M1140

M1141

Sending request

Retry when communication time-out occurs

Retry when data receiving error occurs

Retry when parameter error occurs

RST M1127

M1127

RST M1129

Receiving completed

Processing received data The received data is stored in D1070-D1085
i .n ASCII format

Reset M1127

Reset M1129 (receiving timeout)

MOV K100 D1129

SET M1122

M1129





API Mnemonic Operands Function

102



FWD
Forward Operation of
VFD

Controllers
ES2/EX2 SS2 SA2

SE
SX2


Bit Devices Word devices Program Steps Type

OP X Y M S K H KnX KnY KnM KnS T C D E F
S1 * * *
S2 * * *
n * * *

FWD: 7 steps


PULSE 16-bit 32-bit

ES2/EX2 SS2
SA2
SE

SX2 ES2/EX2 SS2
SA2
SE

SX2 ES2/EX2 SS2
SA2
SE

SX2

Page 380

3. Instruct ion Set

3-279

API Mnemonic Operands Function

103



REV
Reverse Operation of
VFD

Controllers
ES2/EX2 SS2 SA2

SE
SX2


Bit Devices Word devices Program Steps Type

OP X Y M S K H KnX KnY KnM KnS T C D E F
S1 * * *
S2 * * *
n * * *

REV: 7 steps


PULSE 16-bit 32-bit

ES2/EX2 SS2
SA2
SE

SX2 ES2/EX2 SS2
SA2
SE

SX2 ES2/EX2 SS2
SA2
SE

SX2



API Mnemonic Operands Function

104



STOP Stop VFD

Controllers
ES2/EX2 SS2 SA2

SE
SX2


Bit Devices Word devices Program Steps Type

OP X Y M S K H KnX KnY KnM KnS T C D E F
S1 * * *
S2 * * *
n * * *

STOP: 7 steps


PULSE 16-bit 32-bit

ES2/EX2 SS2
SA2
SE

SX2 ES2/EX2 SS2
SA2
SE

SX2 ES2/EX2 SS2
SA2
SE

SX2

Operands:

S1: Device address S2: Operation frequency of VFD n: Operation mode

Explanations:

1. M1177 = OFF (Default), FWD, REV, STOP instructions support COM2(RS-485).

2. M1177= ON, FWD, REV, STOP instructions support COM2(RS-485), COM3(RS-485).

3. M1177 has to be set up in advance for selecting the target model of VFD. When M1177 = OFF

(Default), FWD, REV, STOP instructions support Delta’s VFD-A inverter. When M1177 = ON,

these instructions support other models of VFD inverters, e.g. VFD-B, VFD.

4. There is no limitation on the times of using FWD, REV, STOP instruction, however only one

instruction can be executed on single COM port at a time.

5. If rising-edge (LDP, ANDP, ORP) or falling-edge (LDF, ANDF, ORF) contacts are used before

FWD, REV, STOP instructions, sending request flags M1122 (COM2) / M1316 (COM3) has to

be enabled in advance for obtaining correct operation.

6. For detailed information of associated flags and special registers, please refer to RS instruction.

7. M1177 = OFF, only Delta VFD-A is supported and the definition of each operand is:

a) S1 = Address of VFD-A. Range of S1: K0 ~ K31

b) S2 = Operation frequency of VFD. Set value for VFD A-type inverter: K0 ~ K4,000 (0.0Hz

~ 400.0Hz).

c) n = Communication mode. Range: K1 ~ K2. n = 1: communicate with VFD at designated

address. n = 2: communicate with all connected VFDs. .

Page 758

Appendix D Int roduc ing the Current Consumpt ion of S l im PLCs/Extens ion Modules

D-3

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

A special input/output module must be supplied with +24VDC power.

Model
Item

04AD-S 06AA-S 04DA-S 06XA-S 04PT-S 04TC-S 01PU-S

Internal maximum current
consumed by the IO-BUS
(mA)

30 30 30 30 30 30 30

Maximum current
consumed by the external
AIO (mA)

83 83 167 83 83 83 105

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

Model
Item

EN01-SL COPM-SL DNET-SL 04AD-SL 04DA-SL 02LC-SL 01LC-SL

Internal maximum current
consumed by the IO-BUS
(mA)

60 50 50 40 40 40 40

Maximum current
consumed by the external
AIO (mA)

0 0 0 15 80 125 125

D.1.5 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 Internal current consumption External current consumption
DVP28SV11T2 170mA 3.8A
DVP16SP11R 65mA 5A
DVP04AD-S 30mA 83mA
DVP04TC-S 30mA 83mA

DVPEN01-SL 60mA 0



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.

Similer Documents