DigiWEB
C-Schnittstelle
Inhalt
1
Einleitung ................................................................................................................................................... 3
2
2.1
Visual Studio 6 ......................................................................................................................................... 3
2.2
DigiWEB Library ....................................................................................................................................... 3
2.3
Programmierung mit C ......................................................................................................................... 3
2.4
Gnu Compiler ........................................................................................................................................... 3
2.5
Hardware Debugger .............................................................................................................................. 3
3
4
DigiWEBOptionConstruct .................................................................................................................. 12
5
DigiWEBOptionDestruct ..................................................................................................................... 12
6
Rs232 Protokolle ................................................................................................................................... 12
7
DigiWebOptionThread ........................................................................................................................ 13
8
Tickerroutinen ........................................................................................................................................ 13
8.1
Tickerroutinen anlegen ....................................................................................................................... 13
8.2
Tickerroutinen löschen ....................................................................................................................... 13
9
DIGIWEBSYMBOL_xxx .......................................................................................................................... 14
9.1
Die Struktur tDigiWebSymbol .......................................................................................................... 14
9.2
Security Areas ......................................................................................................................................... 14
9.3
DIGIWEBSYMBOL_L__(typ,pSecurity,name,deflong) ................................................................ 15
9.4
9.5
DIGIWEBSYMBOL_P__(typ, pSecurity, name,deflong) ............................................................. 17
9.6
9.7
DIGIWEBSYMBOL_C__(typ, pSecurity, name,defstr) ................................................................. 21
9.8
9.9
DIGIWEBSYMBOL_M__(typ, pSecurity, name,defstr,IsDestruct)........................................... 23
9.10
9.11
DIGIWEBSYMBOL_U__(typ,subtyp,name) ..................................................................................... 28
9.12
10
DigiWebOptionSetGPrg ..................................................................................................................... 32
11
12
DIGIWEBKENNUNG .............................................................................................................................. 36
13
DigiWebVersion_P ................................................................................................................................ 36
14
Serielle Schnittstelle ............................................................................................................................. 37
15
Daten Logging ....................................................................................................................................... 39
15.1
Tabelle erstellen .................................................................................................................................... 39
15.2
Datensätze anlegen ............................................................................................................................. 40
15.3
16
17
Header....................................................................................................................................................... 44
17.1
Libtools.h .................................................................................................................................................. 44
17.2
PWM.h ....................................................................................................................................................... 44
17.3
Qsm.h ........................................................................................................................................................ 44
17.4
MainDigiWeb.h ...................................................................................................................................... 44
Seite 2 von 44
Automationsanlagen GmbH
Digitronic
3. Juni 2011