
4
APROTECH GmbH
Rathsbergstrasse 17
90411 Nuremberg / Germany
Trade register:
Nuremberg HRB 23727
USt.-Id-No.: DE 256 058 089
D-U-N-S: 31-260-0530
phone: +49 911 / 65 00 79-50
fax:
+49 911 / 65 00 79-79
eMail: [email protected]
Web: www.aprotech.de
Managing Director:
Peter Jung
Industrial Panel- and Box-PCs
5.2 Driver Installation ..................................................................................................................................... 87
5.2.1 Install Drivers Automatically ..................................................................................................... 87
5.2.2 Install Drivers Manually .............................................................................................................. 88
5.3 Driver for Watchdog Timer and DIO .................................................................................................. 88
Appendix A Using WDT & DIO
WDT and DIO Library Installation ................................................................................................................. 90
WDT Function Reference ................................................................................................................................. 92
InitWDT
........................................................................................................................................................ 92
SetWDT
........................................................................................................................................................ 92
StartWDT
..................................................................................................................................................... 93
ResetWDT
.................................................................................................................................................... 93
StopWDT
..................................................................................................................................................... 93
Using DIO Function (DIO with optional MezIO-Card only) .................................................................. 94
Wiring for DIO ............................................................................................................................................ 94
DIO Pin Definition .................................................................................................................................... 95
DIO Function Reference ................................................................................................................................... 96
InitDIO
.......................................................................................................................................................... 96
DIReadLine
................................................................................................................................................. 96
DIReadPort
................................................................................................................................................. 96
DOWriteLine
.............................................................................................................................................. 97
DOWritePort
............................................................................................................................................... 97
DOWriteLineChecked
............................................................................................................................. 98
DOWritePortChecked
............................................................................................................................. 98
COS Function Reference .................................................................................................................................. 99
SetupDICOS
................................................................................................................................................ 99
RegisterCallbackDICOS
........................................................................................................................ 100
StartDICOS
................................................................................................................................................ 100
StopDICOS
................................................................................................................................................ 100
DI COS Example ...................................................................................................................................... 101
Appendix B PoE On/ Off Control
PoE On/ Off Control Function Reference ................................................................................................. 103
GetStatusPoEPort
................................................................................................................................... 103
EnablePoEPort
......................................................................................................................................... 104
DisablePoEPort
....................................................................................................................................... 105