Panasonic FP Series Programming Manual page 864

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

WriteDataToFile
RegisterBank
This instruction reads the number of words specified by DataNumberOfWords from
Description
DataStartAddress and writes it to the File Register Bank 1 or 2 as specified by BankNumber
beginning with BankOffset.
With this function you cannot write data to the FL area (File Register Bank 0), i.e., the variable
applied at DataStartAddress must not be located in the FL area.
To add an enable input and enable output to the instruction, select [With EN/ENO] from the
"Instructions" pane (LD, FBD or IL editor). To reuse an instruction select "Recently used" from the
context menu or press <Ctrl>+<Shift>+<v> in the programming window.
Availability of WriteDataToFileRegisterBank (see page 1333)
PLC types
Data types
Variable
BankNumber
BankOffset
DataStartAddress
DataNumberOfWords
Operands
For
WX
BankNum
ber
WX
BankOffse
t
WX
DataStart
Address
WX
DataNumb
erOfWord
s
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
Example
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Write Data to File Register Bank 1 or 2
Data type
Function
Specifies bank number
INT
Specifies bank number offset
ANY16
Specifies start address of data to be
written to File Register Bank
INT
Specifies number of word units to be
written to File Register Bank
Relay
T/C
WY
WR
WL
-
WY
WR
WL
-
WY
WR
WL
-
WY
WR
WL
-
Register
Const
-
DT
LD
FL
dec. or
-
DT
LD
FL
dec. or
-
DT
LD
-
-
DT
LD
FL
Data transfer within the PLC
ant
hex
hex.
-
-
863

Advertisement

Table of Contents
loading

Table of Contents