
Programming Example, FP-FNS Block BACnet MS/TP
77
5.10 Programming Example, FP-FNS Block BACnet
MS/TP
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_BACnet MS/TP
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.
Содержание FPSIGMA
Страница 1: ...programmable controller FPS FP2 Fieldbus Slave Units Technical Manual ...
Страница 7: ......
Страница 8: ...Chapter 1 Features and Restrictions ...
Страница 11: ......
Страница 12: ...Chapter 2 Parts and Functions ...
Страница 14: ...FP2 FNS Unit 13 2 2 FP2 FNS Unit ...
Страница 25: ......
Страница 26: ...Chapter 3 Specifications ...
Страница 32: ...Chapter 4 Installation and Wiring ...
Страница 48: ...Chapter 5 Programming Examples for FPWIN Pro ...
Страница 84: ...Chapter 6 Outline Dimensions ...
Страница 85: ...Outline Dimensions 84 6 1 Outline Dimensions of FP2 FNS Unit ...
Страница 86: ...Outline Dimensions of FPΣ FNS Unit 85 6 2 Outline Dimensions of FPΣ FNS Unit ...
Страница 87: ...Outline Dimensions 86 6 3 Dimensions of the FP FNS Blocks ...