96
©Vecow ECS-9200/9100 GTX950 User Manual
Appendix B
BOOL SetPOE(BYTE POE);
Set POE on/off setup
POE: POE switch (POE[7:0])
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetDIO1Config(BYTE *Isolate_Type, BYTE *DI_NPN, BYTE *DO_
NPN);
Get DIO1 configuration
Isolate_Type: DIO1 Isolate Type
1: Isolated DIO; 0: Non-Isolated DIO
DI_NPN: DIO1 input NPN mode (DI_NPN[7:0])
1: PNP (Source) mode for European rule; 0: NPN (Sink) mode for Japanese
rule
DO_NPN: DIO1 output NPN mode
1: PNP (Source) mode for European rule; 0: NPN (Sink) mode for Japanese
rule
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL Set DIO1Config(BYTE Isolate_Type, BYTE DI_NPN, BYTE DO_NPN);
Set DIO1 configuration
Isolate_Type: DIO1 Isolate Type
1: Isolated DIO; 0: Non-Isolated DIO
DI_NPN: DIO1 input NPN mode (DI_NPN[7:0])
1: PNP (Source) mode for European rule; 0: NPN (Sink) mode for Japanese
rule
DO_NPN: DIO1 output NPN mode
1: PNP (Source) mode for European rule; 0: NPN (Sink) mode for Japanese
rule
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)
BOOL GetDIO2Config(BYTE *Isolate_Type, BYTE *DI_NPN, BYTE *DO_
NPN);
Get DIO2 configuration
Isolate_Type: DIO2 Isolate Type
1: Isolated DIO; 0: Non-Isolated DIO
DI_NPN: DIO2 input NPN mode (DI_NPN[7:0])
1: PNP (Source) mode for European rule; 0: NPN (Sink) mode for Japanese
rule
DO_NPN: DIO2 output NPN mode
1: PNP (Source) mode for European rule; 0: NPN (Sink) mode for Japanese
rule
Return:
TRUE (1): Success; FALSE (0): Fail (driver not work, or hardware problem)