EasyManua.ls Logo

Panasonic FP Series

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Data transfer via network
799
Part III FP Instructions
FNS_InitConfigDataTable
Function
The FNS_InitConfigDataTable function creates a ConfigDataTable from the variable
ProcessDataTable, which can be a single-element data type or a mulit-element data type. This
ConfigDataTable is necessary to configure the FP-FNS block using the function block
FNS_ProfibusDP, FNS_DeviceNet, FNS_CANopen and FNS_ProfinetIO.
Make sure that the size of the variable ConfigDataTable corresponds to
the structure of the ProcessDataTable, e.g. if the ProcessDataTable
consists of three entries, then the ConfigDataTable variable should be an
"Array[0..2] of WORD", whose size matches the number of entries. If the
ProcessDataTable variable has only one entry (e.g. WORD), then the
ConfigDataTable variable should be an "Array[0..0] of WORD" (with size
1).
Allowed data types for the input of the FNS_InitConfigDataTable are all
16-bit (INT, WORD), 32-bit (DINT, DWORD, TIME (32 bits), REAL) and
64-bit variables or arrays of them. 64-bit variables are defined as
2-dimensional arrays, e.g. "Array[0..0,0..3] of INT" is a 64-bit variable,
while "Array[0..3] of INT" represents an array with four elements of 16-bit
variables.
The data types BOOL, STRING and arrays of these types are NOT
allowed at the input of the function FNS_InitConfigDataTable.
The output ConfigDataTable of the function must be an array of WORD.
PLC types
Availability of FNS_InitConfigDataTable (see page 1326)
Variable Data types Function
ProcessDataTable INT, WORD, DINT,
DWORD, REAL, TIME,
and ARRAYS of these
types
Input and output of process
data variables
ConfigDataTable ARRAY of WORD Configuration data for FP-FNS
blocks. The array-size of the
variable ConfigDataTable has
to correspond to the number of
elements of the
ProcessDataTable variable.
Description
Data types

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals