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
Summary of Contents for TC1
Page 1: ...TC1 User Manual Version of this document V1 00r0 ...
Page 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Page 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Page 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Page 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...