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
Start tag which contains the actual number of the variable
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 of the variable in byte
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
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