Array type instruction

The Input and Output variable in Function Block use device address in sequence.

 

Example)

 

If you use BMOV, you intend to send D10, D11 and D12 to D100, D101, and D102 in sequence. However, the result will show as below.

 

D10 moves to D100, M100 moves to D101, and X30 moves to D102.

 

 

In order to figure it out, use Index register as below.

 

 

Write Offset value 10 to IN1 (D device) and make it index register (R0) to have value in sequence.