91
Appendix B
B
APPENDIX B : Software Functions
B.1 Driver API Guide
In Runtime folder, on ECS9K2.h:
_DLL_IMPORT_ definition is used on LoadLibrary API for ECS9K2.dll.
ECS9K_EXPORTS definition is used on ECS9K2.dll building.
Otherwise, that is used to compile with ECS9K2.lib.
BOOL Initial(BYTE Isolate_Type, BYTE DIO_NPN)
Initial machine for DIO, watchdog timer, and POE
Isolate_Type: DIO type
1: Isolated DIO; 0: Non-Isolated DIO
DIO_NPN: DI / DO type
1: PNP (Source) mode for European rule;
0: NPN (Sink) mode for Japanese rule
Return:
TRUE (1): Success;
FALSE (0): Fail (Driver not exists, or initial error (version is too old,
or machine not match))
BOOL GetDIO1Config(BYTE *Isolate_Type, BYTE *DI_NPN,
WORD *Mask)
BOOL GetDIO2Config(BYTE *Isolate_Type, BYTE *DI_NPN,
WORD *Mask)
Get DIO configuration (by variable)
Isolate_Type: DIO type
1: Isolated DIO; 0: Non-Isolated DIO
DI_NPN ([7:0]): DI type, pin setting by hexadecimal bitmask
1: PNP (Source) mode for European rule;
0: NPN (Sink) mode for Japanese rule
DO_NPN: DO type
1: PNP (Source) mode for European rule;
0: NPN (Sink) mode for Japanese rule
Mask ([15:0]): In / Out, pin setting by hexadecimal bitmask
1: Output; 0: Input
Return:
TRUE (1): Success;
FALSE (0): Fail (Initial error, or call by pointer error, or hardware
problem)
Содержание ECS-9100-GTX1050
Страница 54: ...47 HARDWARE INSTALLATION Step 3 Finish Step1 and 2 Step 4 Remove one KHS 6 32x6 screw Step 5 Open the module...
Страница 58: ...51 HARDWARE INSTALLATION Step 4 Open the CPU socket Be careful CPU pins Step 3 CPU socket...
Страница 65: ...58 HARDWARE INSTALLATION Vecow ECS 9200 9100 GTX1050 User Manual Step 3 Finish Step 4 Install SSD HDD...
Страница 66: ...59 HARDWARE INSTALLATION 3 8 Installing M 2 Step 2 Fasten one M3 screw Step 1 M 2 slot...
Страница 68: ...61 HARDWARE INSTALLATION Step 4 Lock two M2 screws with slot Step 3 Install M2DOM module with slot...