Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

3. Instruction Set K31: Copy word type data to the consecutive registers of the PLC Copy the source value stored in S to the target device as the index value indicated and then accumulate 1 to the index value. Note1: when the index value (D+0) is less than 1, it will be treated as 1 and the actions of data copy and accumulation begin. When the index value (D+0) is bigger than n (default: n+1), the action of data copy will not begin. Note 2: D1000~D1999 cannot be used as D devices. Example: 1. If M0 switches OFF  ON for 5 times in a row, execute the instruction DTM will copy the values stored in D0 to D101~105, as the image shown below: 2.

Adding one to the value stored in D100, after the execution of the DTM instruciton is complete. K32: Read the first written register to the D device (target value) and move the succeeding registers forward, for example, move the second register to where the first written register was and so on. (first in first out) Read and store the data stored from S+1 to the D device and move the value in S+2 forward to S+1. Put k0 to the last and then diminish the index value (S+0) by 1. 3-189