Panasonic FP Series Programming Manual page 823

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer within the PLC
F10_BKMV_NUMBER
The data block specified by the 16-bit starting area specified by s1_Start and the number of
Description
WORDs specified by s2_Number are copied to the block starting from the 16-bit area specified by
d_Start if the trigger EN is in the ON-state.
This instruction is a modification of the F10_BKMV (see page 819) generated by the compiler.
Whenever s1_Start and d_Start are in the same data area:
s1_Start = d_Start: data will be recopied to the same data area.
Availability of F10_BKMV_NUMBER (see page 1320)
PLC types
The value for 's2_Number' has to be greater than 0.
Data types
Variable
s1_Start
s2_Number
d_Start
The variables s1_Start, s2_Number and d_Start have to be of the same data type.
Operands
For
s1_Start
s2_Number
d_Start
In this example the function is programmed in ladder diagram (LD). The same POU header is used
Example
for all programming languages.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
When the variable CopyArray changes from FALSE to TRUE, the function is carried out. It copies
the data block starting at the 16-bit area specified by s1_Start and the number of WORDs
specified by s2_Number to the block starting from the 16-bit area specified by d_Start.
LD
822
Block move by number
Data type
Function
starting 16-bit area, source
ANY16
number of words to be copied, source
starting 16-bit area, destination
Relay
WX
WY
WR
WL
SV
WX
WY
WR
WL
SV
-
WY
WR
WL
SV
T/C
Register
EV
DT
LD
FL
EV
DT
LD
FL
EV
DT
LD
FL
Constant
-
dec. or hex.
-

Advertisement

Table of Contents
loading

Table of Contents