Delta DVP-ES2 User Manual
Page 4
i
DVP-ES2/EX2/SS2/SA2/SX2/SE
Operation Manual
Programming
Contents
1 PLC Con cepts
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-4
1.5
Ladder Logic Symbols…………………………………………………………………………
1-5
1.5.1
Creating a PLC Ladder Program…………………………………………………...
1-6
1.5.2
LD / LDI (Load NO contact / Load NC contact)…………………………………...
1-7
1.5.3
LDP / LDF (Load Rising edge trigger/ Load Falling edge trigger)………………
1-7
1.5.4
AND / ANI (Connect NO contact in series / Connect NC contact in series)…...
1-7
1.5.5
ANDP / ANDF (Connect Rising edge in series/ Connect Falling edge in
series)………………………………………………………………………………….
1-7
1.5.6
OR / ORI (Connect NO contact in parallel / Connect NC contact in parallel)….
1-8
1.5.7
ORP / ORF (Connect Rising edge in parallel/ Connect Falling edge in
parallel)………………………………………………………………………………..
1-8
1.5.8
ANB (Connect block in series)……………………………………………………...
1-8
1.5.9
ORB (Connect block in parallel)…………………………………………………….
1-8
1.5.10 MPS / MRD / MPP (Branch instructions)…………………………………………..
1-8
1.5.11 STL (Step Ladder Programming)…………………………………………………...
1-9
1.5.12
RET
(Return)………………………………………………………………………….
1-10
1.6
Conversion between Ladder Diagram and Instruction List Mode…………………………
1-11
1.7 Fuzzy
Syntax……………………………………………………………………………………
1-12
1.8
Correcting Ladder Diagram……………………………………………………………………
1-14
1.9
Basic Program Design Examples…………………………………………………………….
1-16
2
Pr ogr amming Concepts
2.1
ES2/EX2 Memory Map………………………………………………………………………..
2-2
2.2 SS2
Memory
Map……………………………………………………………………………..
2-5
2.3 SA2
Memory
Map……………………………………………………………………………..
2-8
2.4 SX2
Memory
Map……………………………………………………………………………..
2-11
2.5
Status and Allocation of Latched Memory…………………………………………………..
2-14
2.6
PLC Bits, Nibbles, Bytes, Words, etc………………………………………………………..
2-15
2.7
Binary, Octal, Decimal, BCD, Hex……………………………………………………………
2-15
2.8 M
Relay…………………………………………………………………………………………
2-17
2.9 S
Relay…………………………………………………………………………………………
2-30
2.10 T (Timer) ………………………………………………………………………………………
2-30
2.11 C (Counter) ……………………………………………………………………………………
2-31
2.12 High-speed
Counters………………………………………………………………………… 2-34
2.13 Special Data Register…………………………………………………………………………
2-39
2.14 E, F Index Registers…………………………………………………………………..………
2-51
2.15 Nest Level Pointer[N], Pointer[P], Interrupt Pointer [I] …………………..………………..
2-51
2.16 Applications of Special M Relays and D Registers……………………...…………………
2-55
3 Inst ru ction Set
3.1 Basic
Instructions
(without API numbers) ………………………..…………………………
3-2