7 Teleservice Application Framework
User Manual
173/374
7.3.5.3.3
Add variable to DPL file
The following components have to be added to the DPL file in order to add a variable:
Variable objects
Parameter
Description
[VARIABLE1-n]
Start tag which contains the actual number of the variable
NAME
Name of the variable
ADDRESS
The address starts at 0, if you are adding the first variable with the size of 4 byte, the
next variable starts at address number 4.
SIZE
Size of the variable in byte
TYPE
Type of the variable:
UINT8 : 1 byte
SINT8 : 1 byte
UINT16 : 2 byte
SINT16 : 2 byte
UINT32 : 4 byte
SINT32 : 4 byte
FLOAT32 : 4 byte
AOBYTE : UINT8 * SIZE
STRING: SINT8 * SIZE
UNIT
Unit of the variable
COMMENT
Specific comment for the variable
Example
[CONFIG]
NUMOFVARS=0
LISTNAME=ENGINE
DESCRIPTION=Test List
CREATING_PRGM=JOHN DOE
[VARIABLE1]
NAME=EngineSpeed
ADDRESS=0
SIZE=4
TYPE=UINT32
UNIT=rpm
COMMENT=EngineSpeed
[VARIABLE2]
NAME=OIL
ADDRESS=4
SIZE=2
TYPE=UINT16
UNIT=bar
COMMENT=Pressure
[VARIABLE3]
NAME=EnginePower
Содержание TC1
Страница 1: ...TC1 User Manual Version of this document V1 00r0 ...
Страница 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Страница 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Страница 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Страница 174: ...7 Teleservice Application Framework User Manual 174 374 ADDRESS 6 SIZE 4 TYPE UINT32 UNIT COMMENT EnginePower ...
Страница 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...
Страница 223: ...7 Teleservice Application Framework User Manual 223 374 Association between logic hysteresis and threshold ...
Страница 293: ...8 Development Tools User Manual 293 374 3 Adapt the Build Options in order to build the binary with debug symbols ...
Страница 302: ...8 Development Tools User Manual 302 374 2 Adapt the Build Options in order to build the binary with debug symbols ...