Delta DVP-ES3 — 4.4 Index Registers

DVP-ES3 Series Programming Manual 4.4 Index Registers Index registers are 16-bit data registers. They are similar to the general register in that you can read data from them and write data into them. However, they are mainly used as index registers. The range of index registers is E0–E9. It is not recommended to use the index registers for global variables; they can only be used for partial variables and for temporary. Index registers are used as follows. 1. Using the register name to modify the device: _4 When M0 is ON, E0=10, E1=17, D1@E0=D (1+10)=D11, D11 is ON. NOTE 1:

DVP-ES3 Series support using the register name to modify the device; for example, D0.1@E0 but does not support 2-layered modification for example, D0@E1.1@E0. NOTE 2: When E0=17, D0.1@E0=D0.(1+17)=D1.2, and D1.2 is ON. The bit part 1@E0=(1+17)=18. However, the maximum bit number is 15. Since m=18/16=1 and the remainder is 2, the last modification result is D (0+1).2=D1.2. D1.2 is ON. When M0 is ON, E0=10, and M1@E0=M (1+10)=M11. M11 is ON. 2. Declaring the variables first, and then modifying the device:  Declare the three variables StartBit, Var1, and Var2 in ISPSoft. The type of StartBit is a Boolean array, and its size is 2 bits. The range is from StartBit[0] to StartBit[1]. 4-8