86
©Vecow SPC-5000 User Manual
Appendix B
BOOL SetDIO1Config
(BYTE *Isolate_Type, BYTE *DI_NPN, BYTE *DO_
NPN, WORD *Mask)
Set DIO configuration
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 hardware problem)
BOOL GetDI1 (BYTE *DI)
Get isolated DIO input (DI)
DI ([7:0]) : Input state, pin setting by hexadecimal bitmask
1 : High;
0 : Low
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or call by pointer error, or hardware problem)
BOOL GetDO1 (BYTE *DO)
Get isolated DIO output (DO)
DO ([7:0]) : Output state, pin setting by hexadecimal bitmask
1 : High;
0 : Low
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or call by pointer error, or hardware problem)
BOOL SetDO1 (BYTE DO)
Set isolated DIO output (DO)
DO ([7:0]) : Output state, pin setting by hexadecimal bitmask
1 : High;
0 : Low
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or hardware problem)
Содержание SPC-5000
Страница 55: ...48 Vecow SPC 5000 User Manual SYSTEM SETUP Step 4 Remove one F M3x4 screw Step 5 Open bottom Cover...
Страница 62: ...55 Vecow SPC 5000 User Manual SYSTEM SETUP 3 6 2 Installing SPC 5200 SSD HDD Step 1 Fasten 4 M3 screw...
Страница 64: ...57 Vecow SPC 5000 User Manual SYSTEM SETUP 3 8 3 SPC 5200 Fasten four M3 screws 53 2426206 80B...