Delta DVP-ES3 — 6.12.2 Explanation of Shift Instructions

Chapter 6 Applied Instructions Symbol S : First device D : Device where the data is stored Explanation 1. This instruction takes the device specified by S as a pointer. This instruction writes the data in the device specified by the value of the pointer into the device specified by D and clears it to 0, and decrements the value in the device 6_ specified by S by one. When the value in the device specified by S is equal to 0, the instruction stops reading the data, and sets the zero flag SM600 is ON. 2. In general, the SFPOP pulse instruction is used. Example When M0 is ON, the instruction writes the data in the device specified by D0 into D10. After the instruction shifts the data, ON.

It moves the value (1000) in D7 to D10. D7 is clears to zero and D0 is 6. the instruction clears the data in the device specified by D0 to 0, and increments the value in D0 by 1. If D0 is7 and M0 is 6-321 API Instruction code Operand Function 1106 SFPO P S, D Reading the latest data from a data list Device X Y M S T C HC D FR SM SR E K 16# “$” F S    D      BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S    D    Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 -