Vecow ECS-9210 User Manual page 110

Fanless embedded system ecs-9200 series; ecs-9100 series
Table of Contents

Advertisement

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)
BOOL Set DIO2Config(BYTE Isolate_Type, BYTE DI_NPN, BYTE DO_NPN);
Set 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)
Appendix B
103

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ecs-9210mEcs-9201Ecs-9201mEcs-9101Ecs-9110

Table of Contents