EasyManua.ls Logo

STW TC1 - Page 173

STW TC1
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents