Vecow ECS-9240-GTX1050T User Manual page 99

Ecs-9200/9100 series, quad core intel xeon / core i7 processor embedded system with intel c236 chipset & nvidia geforce gtx 1050 ti / 1050 graphics high performance, independent graphics, en50155
Table of Contents

Advertisement

BOOL SetDIO1Config(BYTE *Isolate_Type, BYTE *DI_NPN,
BYTE *DO_NPN, WORD *Mask)
BOOL SetDIO2Config(BYTE *Isolate_Type, BYTE *DI_NPN,
BYTE *DO_NPN, WORD *Mask)
Set DIO configuration
Isolate_Type: DIO type
DI_NPN ([7:0]): DI type, pin setting by hexadecimal bitmask
DO_NPN: DO type
Mask ([15:0]): In / Out, pin setting by hexadecimal bitmask
Return:
TRUE (1): Success;
FALSE (0): Fail (Initial error, or hardware problem)
BOOL GetDI1(BYTE *DI)
BOOL GetDI2(BYTE *DI)
Get isolated DIO input (DI)
DI ([7:0]): Input state, pin setting by hexadecimal bitmask
Return:
TRUE (1): Success;
FALSE (0): Fail (Initial error, or call by pointer error, or hardware
problem)
BOOL GetDO1(BYTE *DO)
BOOL GetDO2(BYTE *DO)
Get isolated DIO output (DO)
DO ([7:0]): Output state, pin setting by hexadecimal bitmask
Return:
TRUE (1): Success;
FALSE (0): Fail (Initial error, or call by pointer error, or hardware
problem)
BOOL SetDO1(BYTE DO)
BOOL SetDO2(BYTE DO)
Set isolated DIO output (DO)
DO ([7:0]): Output state, pin setting by hexadecimal bitmask
Return:
TRUE (1): Success;
FALSE (0): Fail (Initial error, or hardware problem)
©Vecow ECS-9200/9100 GTX1050 User Manual
1: Isolated DIO; 0: Non-Isolated DIO
1: PNP (Source) mode for European rule;
0: NPN (Sink) mode for Japanese rule
1: PNP (Source) mode for European rule;
0: NPN (Sink) mode for Japanese rule
1: Output; 0: Input
1: High; 0: Low
1: High; 0: Low
1: High; 0: Low
Appendix B
92

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ecs-9100-gtx1050Ecs-9240-gtx1050Ecs-9100-gtx1050t

Table of Contents