Delta — 4.6.57. Offset_DI

4. Motion Control Instructions  Example 2 Program Explanation:  When the input pin S of Offset_DI instruction and the output pin D of MOV_DI instruction are linked with a line, the In_E value is invalid.  When M1 is on, the source index register address of Offset_DI instruction is the input device (S) address of MOV_DI function block, which is fixed to D300.  The output D of Offset_DI instruction is D800, Out_E= 9, the destination index register address is D(800+9)=D809.  Move the content of D300 to D809.  When Out_E value changes, the content of D300 can be moved to different registers.  Example 3 Program Explanation:

 The output pin D of Offset_DI instruction and the input pin S of MOV_DI instruction are linked with a line, the Out_E value is invalid.  When M2 is on, the input S of Offset_DI instruction is D3200, In_E=5555 and the source index register address is D(3200+5555)=D8755.  The vaule of the source index register address is moved to the output D of MOV_DI instruction and the D8755 value is moved to D700.  When In_E value changes, the content of different registers can be moved to D700. DVP-MC operating manual 4-157