Programming Example, Fp-Fns Block Bacnetip - Panasonic FPSIGMA Technical Manual

Fieldbus slave units
Table of Contents

Advertisement

Programming Examples for FPWIN Pro

5.9 Programming Example, FP-FNS Block BACnetIP

After you install the FNS Library, you can start programming.
1. Create the Data Unit Type (DUT) for analog values.
2. Create the Data Unit Type (DUT) for binary values.
3. Create the Data Unit Type (DUT) for multistate values
4. Create output variables of the type of DUT generated in the previous steps in the
global variable list
5. Generate the configuration data table for analog values by using the function
FNS_InitConfigDataTable (see page 49).
Make sure that the size of the FNS_InitConfigDataTable output variable
corresponds to the DUT.
6. Generate the configuration name table for analog values, binary values, and
multistate values by using the function FNS_InitConfigNameTable (see page 49).
Make sure that the size of the FNS_InitConfigDataTable output variable
corresponds to the DUT.
7. Create pointers of the analog values, binary values, multistate
values,ConfigNameTable and ConfigDataTable variables and provide them to the
FNS_BACnetIP function block together with the corresponding variables.
Data Unit Types (DUTs)
In the following picture you can see all possible data types for analog values and how the
different variables (16-bit, 32-bit) can be defined.
In the following picture you can see how the different variables for binary values can be
defined.
70

Advertisement

Table of Contents
loading

Table of Contents