DVP-ES2/EX2/SS2/SA2/SX2/SE
Operation Manual
Programming
Contents
1 PLC Concepts
1.1PLC Scan Method……………………………………………………………………………...
1.2Current Flow…………………………………………………………………………………….
1.3 NO Contact, NC Contact………………………………………………………………………
1.4PLC Registers and Relays…………………………………………………………………….
1.5 Ladder Logic Symbols…………………………………………………………………………
1.5.1Creating a PLC Ladder Program…………………………………………………...
1.5.2LD / LDI (Load NO contact / Load NC contact)…………………………………...
1.5.3 LDP / LDF (Load Rising edge trigger/ Load Falling edge trigger)………………
1.5.4AND / ANI (Connect NO contact in series / Connect NC contact in series)…...
1.5.5ANDP / ANDF (Connect Rising edge in series/ Connect Falling edge in
series)………………………………………………………………………………….
1.5.6OR / ORI (Connect NO contact in parallel / Connect NC contact in parallel)….
1.5.7ORP / ORF (Connect Rising edge in parallel/ Connect Falling edge in
parallel)………………………………………………………………………………..
1.5.8ANB (Connect block in series)……………………………………………………...
1.5.9ORB (Connect block in parallel)…………………………………………………….
1.5.10MPS / MRD / MPP (Branch instructions)…………………………………………..
1.5.11STL (Step Ladder Programming)…………………………………………………...
1.5.12RET (Return)………………………………………………………………………….
1.6 Conversion between Ladder Diagram and Instruction List Mode…………………………
1.7Fuzzy Syntax……………………………………………………………………………………
1.8 Correcting Ladder Diagram……………………………………………………………………
1.9Basic Program Design Examples…………………………………………………………….
2 Programming Concepts
2.1ES2/EX2 Memory Map………………………………………………………………………..
2.2SS2 Memory Map……………………………………………………………………………..
2.3SA2 Memory Map……………………………………………………………………………..
2.4SX2 Memory Map……………………………………………………………………………..
2.5Status and Allocation of Latched Memory…………………………………………………..
2.6PLC Bits, Nibbles, Bytes, Words, etc………………………………………………………..
2.7 Binary, Octal, Decimal, BCD, Hex……………………………………………………………
2.8M Relay…………………………………………………………………………………………
2.9S Relay…………………………………………………………………………………………
2.10 | T (Timer) ……………………………………………………………………………………… | |
2.11 | C (Counter) …………………………………………………………………………………… | |
2.12 | ||
2.13 | Special Data Register………………………………………………………………………… | |
2.14 | E, F Index Registers…………………………………………………………………..……… |
2.15Nest Level Pointer[N], Pointer[P], Interrupt Pointer [I] …………………..………………..
2.16 Applications of Special M Relays and D Registers……………………...…………………
3 Instruction Set
3.1 Basic Instructions (without API numbers) ………………………..…………………………
i