32.13.2.5 Confirming Execution Results - BLMV/BLMVP

Program Example

BLMV

Copies 1 through 5 from Data_1 to Data_2.

  1. When the positive transition instruction turns ON, the BLMV instruction will be executed. When the BLMV instruction is executed, numbers 0 through 4 in data 1, stored in D1, are copied to numbers 0 through 4 in data 2.
    When the start is a normally open instruction, as long as the start is ON, the BLMV instruction is always executed.

Array Variable Name

Data 1

5 Executed Instructions

Data 2

Element

Data_1[0]

Data_2[0]

Data_1[1]

Data_2[1]

Data_1[2]

Data_2[2]

Data_1[3]

Data_2[3]

Data_1[4]

Data_2[4]

Data_1[5]

 

Data_2[5]

Data_1[6]

 

Data_2[6]

Data_1[7]

 

Data_2[7]

Data_1[8]

 

Data_2[8]

Data_1[9]

 

Data_2[9]

Data_1[10]

 

Data_2[10]

BLMVP

  1. When the normally open instruction turns ON, the BLMVP instruction will be executed. When the BLMVP instruction is executed, numbers 0 through 4 in data 1, stored in D1, are copied to numbers 0 through 4 in data 2.
    Even when using a normally open instruction, when the upward transition is detected the BLMVP instruction is executed.
    Therefore, even when the variable of the NO instruction is always ON, the BLMVP instruction is executed only for one scan.