Delta DVP-ES3 — 4.5 Pointer Registers

Chapter 4 Instruction Structure 3. Create the program in the function block FB0. 4. Declare the variable in the function block FB0. Choose VAR_IN_OUT as the declaration type, Point1 as the identifier, POINTER as the data type. The variable is the pointer register. 4_ 5. Declare the variable in the program organization unit (POU). 6. Call the function block FB0 in the program organization unit (POU). 7. The program in the program organization unit (POU) operates as shown below. Network 1: When StartBit[0] is ON, the address of D0 is transmitted to Point 1 in FB0. When VarBit1 in FB0 is ON, E0=1, Var1=D0, Point1@E0=D (0+1)=D1, and Var2=D1. 4-11