Delta DVP-ES2 — Contents

2.12 High-speed Counters .............................................................................. 2-27 2.13 Special Data Register ............................................................................. 2-31 2.14 E, F Index Registers ................................................................................ 2-42 2.15 Nest Level Pointer[N], Pointer[P], Interrupt Pointer [I] ............................. 2-43 2.16 Applications of Special M Relays and D Registers.................................. 2-45 3 Instruction Set 3.1 Basic Instructions (without API numbers) ..................................................

3-2 3.2 Explanations to Basic Instructions............................................................. 3-2 3.3 Pointers ................................................................................................... 3-13 3.4 Interrupt Pointers ..................................................................................... 3-13 3.5 Application Programming Instructions ..................................................... 3-15 3.6 Numerical List of Instructions (classified according to the function) ........ 3-24 3.7 Numerical List of Instructions (in alphabetic order) .................................

3-32 3.8 Detailed Instruction Explanation .............................................................. 3-41 4 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 5 Sequential Function Chart 5.1 Step Ladder Instruction [STL], [RET] ........................................................ 5-2 5.2 Sequential Function Chart (SFC) .............................................................. 5-2 5.3 The Operation of STL Program ................................................................. 5-4 5.4 Points to Note for Designing a Step Ladder Program ............................. 5-10 5.5 Types of Sequences ...............................................................................

5-12 5.6 IST Instruction ......................................................................................... 5-23 ii