Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming K34: Copy BIT type data to the consecutive registers of the PLC S: the source start number of the M device D: the target start number of the M device Copy the M state from source value stored in S to the M[ D +0] (target device) as the target index value indicated and then accumulate 1 to D+1 (target index value). Note1: when the target index value (D+1) is less than 0, change D+1 to 0 and the actions of data copy and accumulation begin. When the target index value (D+1) is bigger than n-1, change D+1 to n; the action of data copy will not begin. Note 2: M1000~M1999 cannot be used as M devices. Example: 1.

Set D0=K50 and D100=K100, and execute the instruction DTM will copy the values stored in M50 to M100~107. After the execution of DTM is complete, add one to the value stored in D101. 2. Execute the instruciton DTM for 8 times to have the results as shown below: 3-192