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

Operation Manual

Programming

Contents

1 PLC Concepts

1.1PLC Scan Method……………………………………………………………………………... 1-2

1.2Current Flow……………………………………………………………………………………. 1-3

1.3 NO Contact, NC Contact……………………………………………………………………… 1-3

1.4PLC Registers and Relays……………………………………………………………………. 1-4

1.5 Ladder Logic Symbols………………………………………………………………………… 1-5

1.5.1Creating a PLC Ladder Program…………………………………………………... 1-6

1.5.2LD / 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.4AND / ANI (Connect NO contact in series / Connect NC contact in series)…... 1-7

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

series)…………………………………………………………………………………. 1-7

1.5.6OR / ORI (Connect NO contact in parallel / Connect NC contact in parallel)…. 1-8

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

parallel)……………………………………………………………………………….. 1-8

1.5.8ANB (Connect block in series)……………………………………………………... 1-8

1.5.9ORB (Connect block in parallel)……………………………………………………. 1-8

1.5.10MPS / MRD / MPP (Branch instructions)………………………………………….. 1-8

1.5.11STL (Step Ladder Programming)…………………………………………………... 1-9

1.5.12RET (Return)…………………………………………………………………………. 1-10

1.6 Conversion between Ladder Diagram and Instruction List Mode………………………… 1-11

1.7Fuzzy Syntax…………………………………………………………………………………… 1-12

1.8 Correcting Ladder Diagram…………………………………………………………………… 1-14

1.9Basic Program Design Examples……………………………………………………………. 1-16

2 Programming Concepts

2.1ES2/EX2 Memory Map……………………………………………………………………….. 2-2

2.2SS2 Memory Map…………………………………………………………………………….. 2-5

2.3SA2 Memory Map…………………………………………………………………………….. 2-8

2.4SX2 Memory Map…………………………………………………………………………….. 2-11

2.5Status and Allocation of Latched Memory………………………………………………….. 2-14

2.6PLC Bits, Nibbles, Bytes, Words, etc……………………………………………………….. 2-15

2.7 Binary, Octal, Decimal, BCD, Hex…………………………………………………………… 2-15

2.8M Relay………………………………………………………………………………………… 2-17

2.9S 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.15Nest Level Pointer[N], Pointer[P], Interrupt Pointer [I] …………………..……………….. 2-51

2.16 Applications of Special M Relays and D Registers……………………...………………… 2-55

3 Instruction Set

3.1 Basic Instructions (without API numbers) ………………………..………………………… 3-2

i

Page 4
Image 4
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Contents