5 - 34 5 - 34
5 MELSEC FUNCTIONS
5.7.3 Block transfer BMOV_M
n points of BIN 16-bit data, starting at the specified device, are batch-transferred.
Function definition
BOOL BMOV_M (BOOL EN, ANY16 S1, ANY16 n, ANY16 D);
Argument Name
IN/OUT
Description
EN IN
Execution condition (Function is executed only when
the result is TRUE)
S1
IN
Data to be transferred (BIN 16-bit data)
n
IN
Number of data to be transferred (BIN 16-bit data)
D
OUT
Transfer destination (BIN 16-bit data)
Return Value
Description
BOOL Execution
condition
Example of use
(* When execution condition X0 turns ON, the 16-bit data of the number of
*)
(* points stored in W0, starting at the device specified in D0, are transferred to *)
(* the number of points stored in W0, starting at D100.
*)
BMOV_M (X0, D0, W0, D100);
Corresponding MELSEC command
BMOV (Block 16-bit transfer)
5.7.4 Same data block transfer FMOV_M
The 16-bit data of the specified device are transferred to the number of points, starting at the specified
device.
Function definition
BOOL FMOV_M (BOOL EN, ANY16 S1, ANY16 n, ANY16 D);
Argument Name
IN/OUT
Description
EN IN
Execution condition (Function is executed only when
the result is TRUE)
S1
IN
Data to be transferred (BIN 16-bit data)
n
IN
Number of data to be transferred (BIN 16-bit data)
D
OUT
Transfer destination (BIN 16-bit data)
Return Value
Description
BOOL Execution
condition
Example of use
(* When execution condition X0 turns ON, the 16-bit data of D0 are transferred *)
(* to the number of points stored in W0, starting at D100.
*)
FMOV_M (X0, D0, W0, D100);
Corresponding MELSEC command
FMOV (Block 16-bit data transfer)
For the usable data type, refer to "3.2.2
About ANY type".
Summary of Contents for MELSEC L series
Page 1: ...Programming Manual Structured Text ...
Page 2: ......
Page 73: ...4 33 4 33 4 ST PROGRAM EXPRESSIONS MEMO ...
Page 297: ......