DVP-ES3 Series Programming Manual Example: Declare D100 as the variable of the index register E0. And this example use MOVE instruction to demonstrate. Whenever an external interrupt occurs at X0, the value in D200 accumulates the occurrences in the values in D1000 ~ D1199. _4 4.5 Pointer Registers ISPSoft supports function blocks. When the variable declaration type is VAR_IN_OUT, and the data type is POINTER, the variable is a pointer register. The value in the pointer register can refer directly to the value stored in a device X, Y, or D; and the pointer register can point to the address associated with the variable set automatically in ISPSoft.
You can declare 16 pointer registers in every function block. The range is PR0–PR15, or PR0.0–PR15.15. Example: 1. Create a program organization unit (POU) in ISPSoft. 2. Create a function block called FB0. 4-10