Справочник Пользователя для Mitsubishi Electronics 13JW55

Скачать
Страница из 350
 
 
5 - 22
 
 
 
Project name 
QB-14 
Program name 
MAIN 
5.2.5  
FMOV 
(P) 
    FMOV (Batch transfer of the same data) 
  
BMOV 
(P) 
    BMOV (Batch transfer of the block data) 
 
X3
0
D
S
K8
D0
K365
FMOVP
n
X4
5
K16
D8
K7000
FMOVP
X5
10
D
S
K16
D32
D0
BMOVP
n
X6
15
K48
D0
K0
FMOVP
 
 
 
 
Operation Explanation
 
Input 
condition
D
S
K8
D0
K365
FMOVP
n
 
 FMOV   
 When the input condition is turned on, the FMOV instruction transfers the data in 
the device specified in 
S
  to the devices starting from the device specified in 
D
 
(the number of target devices is specified by 
n
). 
 
 Example    The FMOV instruction executes the following operation when X3 is 
turned on. 
365
K365
365
365
365
365
D0
D1
D2
D7
D
S
n
8 devices (K8)
 
  The FMOV instruction is useful for clearing many data sets in batch. 
 
 Example     
Same
Input 
condition
K8
D0
K0
FMOV
Input 
condition
D0
RST
D1
RST
D7
RST
 
  The FMOV instruction can substitute the RST instructions as shown above.