Fns_Initconfignametable Function - Panasonic FPSIGMA Technical Manual

Fieldbus slave units
Table of Contents

Advertisement

Programming Examples for FPWIN Pro

5.3 FNS_InitConfigNameTable Function

This function creates an array, e.g. configNames1, containing all the names and their
addresses of the identifiers declared in the DUT ProcessDataTable.
Make sure that the size of the variable ConfigNameTable corresponds to the
structure of the ProcessDataTable, e.g. if the ProcessDataTable consists of
three entries, then the ConfigNameTable 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 ConfigNameTable variable
should be an "Array[0..0] of WORD" (with size 1).
Allowed input data types 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 variable.
The output ConfigNameTable of the function must be an array of WORD.
50

Advertisement

Table of Contents
loading

Table of Contents