Panasonic FP Series Programming Manual page 824

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

F10_BKMV_OFFSET
Description
This instruction is a modification of the F10_BKMV (see page 819) generated by the compiler.
The data block specified by the 16-bit starting area specified by s1_Start and 16-bit ending area
specified by s2_End are copied to the block starting from the 16-bit area specified by the offset
d_Offset from s1_Start if the trigger EN is in the ON-state.
Whenever s1_Start and s2_End are in the same data area:
d_Offset = 0: data will be recopied to the same data area.
Availability of F10_BKMV_OFFSET (see page 1320)
PLC types
Data types
Variable
s1_Start
s2_End
d_Offset
The variables s1_Start, s2_End and d_Offset have to be of the same data type.
Operands
For
s1_Start,
s2_End
d_Offset
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 CopyArrayInArray 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 16-bit ending area
specified by s2_End to the block starting from the 16-bit area specified by the offset d_Offset from
s1_Start.
LD
Block move to an offset from source
Data type
Function
starting 16-bit area, source
ANY16
ending 16-bit area, source
offset from s1_Start, destination
Relay
WX
WY
WR
WL
SV
-
WY
WR
WL
SV
T/C
Register
EV
DT
LD
FL
EV
DT
LD
FL
Data transfer within the PLC
Constant
-
dec. or hex.
823

Advertisement

Table of Contents
loading

Table of Contents